Compute Cloud API, REST: Snapshot.get
Returns the specified Snapshot resource.
To get the list of available Snapshot resources, make a list request.
HTTP request
GET https://compute.api.il.nebius.cloud/compute/v1/snapshots/{snapshotId}
Path parameters
Parameter | Description |
---|---|
snapshotId | Required. ID of the Snapshot resource to return. To get the snapshot ID, use a list request. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"storageSize": "string",
"diskSize": "string",
"productIds": [
"string"
],
"status": "string",
"sourceDiskId": "string"
}
A Snapshot resource. For more information, see Snapshots.
Field | Description |
---|---|
id | string ID of the snapshot. |
folderId | string ID of the folder that the snapshot belongs to. |
createdAt | string (date-time) String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
name | string Name of the snapshot. 1-63 characters long. |
description | string Description of the snapshot. 0-256 characters long. |
labels | object Resource labels as |
storageSize | string (int64) Size of the snapshot, specified in bytes. |
diskSize | string (int64) Size of the disk when the snapshot was created, specified in bytes. |
productIds[] | string License IDs that indicate which licenses are attached to this resource. License IDs are used to calculate additional charges for the use of the virtual machine. The correct license ID is generated by the platform. IDs are inherited by new resources created from this resource. If you know the license IDs, specify them when you create the image. For example, if you create a disk image using a third-party utility and load it into Object Storage, the license IDs will be lost. You can specify them in the create request. |
status | string Current status of the snapshot.
|
sourceDiskId | string ID of the source disk used to create this snapshot. |