Cloud Backup API, gRPC: ResourceService.Get
Get specific Compute Cloud instance.
gRPC request
rpc Get (GetResourceRequest) returns (GetResourceResponse)
GetResourceRequest
{
"compute_instance_id": "string"
}
Field |
Description |
compute_instance_id |
string Required field. Compute Cloud instance ID. |
GetResourceResponse
{
"resource": {
"compute_instance_id": "string",
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp",
"online": "bool",
"enabled": "bool",
"status": "Status",
"status_details": "string",
"status_progress": "int64",
"last_backup_time": "google.protobuf.Timestamp",
"next_backup_time": "google.protobuf.Timestamp",
"resource_id": "string",
"is_active": "bool",
"init_status": "InitStatus",
"metadata": "string",
"type": "ResourceType"
}
}
Field |
Description |
resource |
Set of resource parameters. |
Resource
Field |
Description |
compute_instance_id |
string Compute Cloud instance ID. |
created_at |
|
updated_at |
|
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
|
status_details |
string If status value is one of |
status_progress |
int64 In case status is one of |
last_backup_time |
|
next_backup_time |
|
resource_id |
string Resource ID is used to identify Compute Cloud instance in backup service. |
is_active |
bool Status |
init_status |
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.
|