Cloud Backup API, gRPC: ResourceService.Get
Get specific Compute Cloud instance.
gRPC request
rpc Get (GetResourceRequest) returns (GetResourceResponse)
GetResourceRequest
{
"computeInstanceId": "string"
}
Field |
Description |
computeInstanceId |
string Required field. Compute Cloud instance ID. |
GetResourceResponse
{
"resource": {
"computeInstanceId": "string",
"createdAt": "google.protobuf.Timestamp",
"updatedAt": "google.protobuf.Timestamp",
"online": "bool",
"enabled": "bool",
"status": "Status",
"statusDetails": "string",
"statusProgress": "int64",
"lastBackupTime": "google.protobuf.Timestamp",
"nextBackupTime": "google.protobuf.Timestamp",
"resourceId": "string",
"isActive": "bool",
"initStatus": "InitStatus",
"metadata": "string",
"type": "ResourceType"
}
}
Field |
Description |
resource |
Set of resource parameters. |
Resource
Field |
Description |
computeInstanceId |
string Compute Cloud instance ID. |
createdAt |
|
updatedAt |
|
online |
bool If this field is true, it means that instance is online. |
enabled |
bool If this field is true, it means that backup is enabled to instance. |
status |
enum Status
|
statusDetails |
string If status value is one of |
statusProgress |
int64 In case status is one of |
lastBackupTime |
|
nextBackupTime |
|
resourceId |
string Resource ID is used to identify Compute Cloud instance in backup service. |
isActive |
bool Status |
initStatus |
enum InitStatus Status of resource initialization in cloud backup service.
|
metadata |
string Metadata to provide details about instance registration process |
type |
enum ResourceType Type of resource. Could be compute VM or baremetal server.
|