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
    • Start testing with double trial credits
    • 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 API concepts
  • Basic principles
    • Overview
    • API endpoints
    • Standard methods
    • Additional methods
    • Pagination
    • Handling errors
  1. API methods
  2. Additional methods

Additional methods

Written by
Yandex Cloud
Updated at April 23, 2025

Additional API methods allow you to perform operations that cannot be performed using standard methods. For example, start or stop a VM.

Each service has its own set of additional methods available. The methods are listed in the corresponding API references.

Additional methods are mapped to the POST HTTP method. The signature of additional methods differs from the standard signature of HTTP methods. The additional method's name is put in the resource URL after the : symbol.

Sample gRPC description of the AttachDisk method:

 rpc AttachDisk (AttachInstanceDiskRequest) returns (operation.Operation) {
   option (google.api.http) = {
     post: "/compute/v1/instances/{instance_id}:attachDisk" body: "*"
   };
   // The Operation object's `metadata` field
   // contains the `AttachInstanceDiskMetadata` view.
   // If the operation is successful,
   // the Operation object's `response` field
   // contains a view of the updated VM.
   option (yandex.api.operation) = {
     metadata: "AttachInstanceDiskMetadata"
     response: "Instance"
   };
 }
 message AttachInstanceDiskRequest {
   // ID of the VM to which
   // the disk should be attached.
   string instance_id = 1;

   // Attached disk.
   AttachedDiskSpec attached_disk_spec = 2;
 }

 message AttachInstanceDiskMetadata {
   // ID of the VM
   // the disk is connected to.
   string instance_id = 1;

   // ID of the attached disk.
   string disk_id = 2;
 }

Example of attaching a disk in the REST API:

POST https://compute.api.cloud.yandex.net/compute/v1/instances/e0m97h0gbq0foeuis03:attachDisk

 {
   "attachedDiskSpec": {
     ...
   }
 }

Was the article helpful?

Previous
Standard methods
Next
Pagination
© 2025 Direct Cursus Technology L.L.C.