Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Backup
  • Getting started
    • All guides
    • Activating the service
    • Viewing operations with resources
    • Viewing backup statistics
  • Access management
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • List
        • Get
        • Delete
        • ListTasks
        • ListDirectory
        • CreateDirectory
        • ListOperations
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • Troubleshooting

In this article:

  • gRPC request
  • GetResourceRequest
  • GetResourceResponse
  • Resource
  • TenantInfo
  1. API reference
  2. gRPC
  3. Resource
  4. Get

Cloud Backup API, gRPC: ResourceService.Get

Written by
Yandex Cloud
Updated at April 24, 2025
  • gRPC request
  • GetResourceRequest
  • GetResourceResponse
  • Resource
  • TenantInfo

Get specific Compute Cloud instance.

gRPC requestgRPC request

rpc Get (GetResourceRequest) returns (GetResourceResponse)

GetResourceRequestGetResourceRequest

{
  "compute_instance_id": "string",
  "include_tenant_info": "bool"
}

Field

Description

compute_instance_id

string

Required field. Compute Cloud instance ID.

include_tenant_info

bool

If flag is set tenant informantion would be added to the response.

GetResourceResponseGetResourceResponse

{
  "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",
    "tenant_info": {
      "folder_id": "string",
      "personal_tenant_id": "string",
      "user_id": "string"
    }
  }
}

Field

Description

resource

Resource

Set of resource parameters.

ResourceResource

Field

Description

compute_instance_id

string

Compute Cloud instance ID.

created_at

google.protobuf.Timestamp

updated_at

google.protobuf.Timestamp

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_UNSPECIFIED
  • IDLE: Compute Cloud instance is doing nothing right now.
  • BACKUPING: Compute Cloud instance is currently backing up itself.
  • RECOVERING: Compute Cloud instance is currently recovering itself.
  • FAILED: Compute Cloud instance is in failure state, check content of
    status_details field for more information.
  • OTHER: Unspecified state, check status_details field
    for more information.

status_details

string

If status value is one of OTHER or FAILED,
detailed info might be stored here.

status_progress

int64

In case status is one of BACKUPING or RECOVERING,
progress value might be found here.

last_backup_time

google.protobuf.Timestamp

next_backup_time

google.protobuf.Timestamp

resource_id

string

Resource ID is used to identify Compute Cloud instance in backup service.

is_active

bool

Status is_active shows whether current Compute Cloud instance controls Cloud Backup resource.
If status is_active is false it means Compute Cloud instance is not able to manipulate
Cloud Backup resource.

init_status

enum InitStatus

Status of resource initialization in cloud backup service.

  • INIT_STATUS_UNSPECIFIED
  • REGISTERING: Registration of instance in cloud backups have started.
  • REGISTRED: Instance is registered in cloud backups.
  • FAILED_REGISTRATION: Instance registration failed.
  • DELETED: Instance is deleted from cloud backup service.

metadata

string

Metadata to provide details about instance registration process
if status is FAILED_REGISTRATION or REGISTERING

type

enum ResourceType

Type of resource. Could be compute VM or baremetal server.

  • RESOURCE_TYPE_UNSPECIFIED
  • COMPUTE: Resource is Compute Cloud VM
  • BMS: Resource is baremetal server

tenant_info

TenantInfo

Additional info abount tenant which resource belongs to

TenantInfoTenantInfo

Field

Description

folder_id

string

Folder ID

personal_tenant_id

string

Personal tenant id from backup provider

user_id

string

User id from provider

Was the article helpful?

Previous
List
Next
Delete
© 2025 Direct Cursus Technology L.L.C.