Cloud Backup API, REST: Resource.get
Get specific Compute Cloud instance.
HTTP request
GET https://backup.api.cloud.yandex.net/backup/v1/resources/{computeInstanceId}
Path parameters
Parameter | Description |
---|---|
computeInstanceId | Required. Compute Cloud instance ID. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"resource": {
"computeInstanceId": "string",
"createdAt": "string",
"updatedAt": "string",
"online": true,
"enabled": true,
"status": "string",
"statusDetails": "string",
"statusProgress": "string",
"lastBackupTime": "string",
"nextBackupTime": "string",
"resourceId": "string",
"isActive": true,
"initStatus": "string",
"metadata": "string",
"type": "string"
}
}
Field | Description |
---|---|
resource | object Set of resource parameters. |
resource. computeInstanceId |
string Compute Cloud instance ID. |
resource. 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). |
resource. updatedAt |
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). |
resource. online |
boolean (boolean) If this field is true, it means that instance is online. |
resource. enabled |
boolean (boolean) If this field is true, it means that backup is enabled to instance. |
resource. status |
string
|
resource. statusDetails |
string If status value is one of |
resource. statusProgress |
string (int64) In case status is one of |
resource. lastBackupTime |
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). |
resource. nextBackupTime |
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). |
resource. resourceId |
string Resource ID is used to identify Compute Cloud instance in backup service. |
resource. isActive |
boolean (boolean) Status |
resource. initStatus |
string Status of resource initialization in cloud backup service.
|
resource. metadata |
string Metadata to provide details about instance registration process if status is FAILED_REGISTRATION or REGISTERING |
resource. type |
string Type of resource. Could be compute VM or baremetal server.
|