Update a datastore snapshot.

patch/backup-recovery/v1beta1/datastores/{id}/snapshots/{snapshot-id}

Update attributes for a datastore snapshot.

Securitybearer
Request
path Parameters
id
required
string

UUID string uniquely identifying the datastore

Example: 9b4c14a6-3cd5-4907-97c4-cf44c5b641e4
snapshot-id
required
string

UUID string uniquely identifying the snapshot.

Example: 9b4c14a6-3cd5-4907-97c4-cf44c5b641e4
Request Body schema: application/merge-patch+json
required
description
string

Brief description about the application snapshot.

expiresAt
string <date-time>

Absolute value of time in UTC when the application snapshot expires.

lockedUntil
string <date-time>

Absolute value of time in UTC until which the application snapshot remains locked.

name
string

Name of the application snapshot.

Responses
202

Accepted

400

Bad request

401

Unauthorized

403

Forbidden

412

Precondition failed (if the generation number is invalid).

500

Internal / unexpected error.

Request samples
application/merge-patch+json
{
  • "description": "string",
  • "expiresAt": "2019-08-24T14:15:22Z",
  • "lockedUntil": "2020-04-03T05:03:08.900Z",
  • "name": "Nimble-DS1-snap"
}
Response samples
application/json
{ }