All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

API overview

Last updated:2022-09-05 10:13:06

EBS API operations

1. API operations for EBS volumes

Feature
API operation Description
Create an EBS volume CreateVolume Creates an EBS volume, for example, an SSD volume or an EHDD volume.
Delete an EBS volume DeleteVolume Deletes an existing EBS volume.
Attach an EBS volume AttachVolume Attaches the specified EBS volume to the specified KEC instance.
Detach an EBS volume DetachVolume Detaches the specified EBS volume from the specified KEC instance.
Expand the capacity of an EBS volume ResizeVolume Expands the capacity of the specified EBS volume.
Query one or more EBS volumes DescribeVolumes Queries details about one or more EBS volumes.
Modify the attributes of an EBS volume ModifyVolume Modifies the attributes of an EBS volume, including the name and description.
Update the project of an EBS volume UpdateVolumeProject Updates the project to which an EBS volume belongs.
Query EBS volumes attached to a KEC instance DescribeInstanceVolumes Queries EBS volumes attached to a KEC instance.
Query KEC instances to which an EBS volume can be attached DescribeEbsInstances Queries KEC instances to which an EBS volume can be attached in the specified availability zone.
Renew an EBS volume RenewVolume Renews the specified EBS volume.
Restore an EBS volume RecoveryVolume Restores an EBS volume from the recycle bin.
Validate the availability of a KEC instance ValidateAttachInstance Validates the availability of a KEC instance, and specifically, validates the number of EBS volumes attached to the KEC instance.
Query the zone of the cloud disk DescribeAvailabilityZones Obtain the zone information in which you can activate the cloud disk
Query the number of hard disks DescribeVolumeCount Query the number of EBS volumes in a given computer room, including data disks and system disks
Query the EBS volume availability zone DescribeAvailabilityZones Obtain the zone information for which you can activate the EBS volume
Query the number of EBS volumes DescribeVolumeCount Query the number of EBS volumes in a given computer room, including data disks and system disks

2. API operations for snapshots

Feature API operation Description
Create a snapshot CreateSnapshot Creates a snapshot for an EBS volume.
Roll back an EBS volume from a snapshot RollbackSnapshot Rolls back an EBS volume from an existing snapshot.
Delete a snapshot DeleteSnapshot Deletes an existing snapshot.
Query snapshots DescribeSnapshots Queries snapshots by EBS volume, availability zone, or EBS volume category.
Modify a snapshot ModifySnapshot Modifies the name and description of a snapshot.
Copy a snapshot CopySnapshot Copy cloud disk snapshots across regions
Query local snapshots DescribeLocalVolumeSnapshots query local snapshots by EBS volume, availability zone, or EBS volume category
Query the number of snapshots DescribeSnapshotNumInfo Query the number of non-automatic snapshots
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback