See the following tables for the ECS APIs that are available to use.

For more information, see the  API Explorer.

Instance

Action Description
RunInstances Creates a specified number of Pay-As-You-Go instances.
CreateInstance Creates an instance.
StartInstance Starts a specified instance.
StopInstance  Stops a specified instance.
RebootInstance Restarts an instance.
DeleteInstance  Releases an instance.
AttachInstanceRamRole Attaches an instance RAM role to your Instance.
DetachInstanceRamRole Detaches a RAM role from an instance.
DescribeInstanceStatus Obtains the list of all your instances in batches with status information.
DescribeInstances  Describes details of your instances.
DescribeInstanceVncUrl Describes the management terminal URL before connecting to an instance.
DescribeUserdata Describes the user-defined data of an Instance.
DescribeInstanceAutoRenewAttribute Describes the auto renewal status of an instance.
DescribeInstanceRamRole Describes information related to the instance RAM role.
DescribeSpotPriceHistory Describes the price history of the spot instance.  You can query the price records within 30 days at most.
DescribeInstanceTypeFamilies Describes the resources list of instance type families provided by Alibaba Cloud ECS.
DescribeInstanceTypes Describes the resources list of instance types provided by Alibaba Cloud ECS.
ModifyInstanceVpcAttribute Modifies the attributes of a VPC to which a specified instance is connected.
ModifyInstanceAttribute Modifies the information of an Instance, such as the name, password, host name, and description of an instance.
ModifyInstanceVncPasswd Changes the password of management terminal used to connect a specified Instance.
ModifyInstanceAutoReleaseTime Sets the automatic release time for a specified instance.
ModifyInstanceAutoRenewAttribute Modifies the information of an Instance, such as the name, password, host name, and description of an instance.
ModifyInstanceSpec Changes the instance type or modifies the Internet bandwidth of a Pay-As-You-Go instance.
ModifyPrepayInstanceSpec Upgrade or lower the pre-payment instance specification.

Disk

Action Description
CreateDisk Creates a portable data disk.
DeleteDisk  Releases an independent cloud disk when it is no longer in use.
DescribeDisks  Describes your available cloud disks.
AttachDisk Attaches a data disk to your Instance.
DetachDisk Detaches a cloud disk from a specified instance.
ModifyDiskAttribute Modifies the attribute of your cloud disk.
ReplaceSystemDisk Replaces the system disk or the operating system of an Instance.
ReInitDisk Initializes a cloud disk to the initial state.
ResetDisk Rolls back a disk to a specified disk state by using one of its history disk snapshots.
Extends the size of a cloud disk. Expand a disk.

Image

Action  Description
CreateImage Creates a custom image.
ImportImage Imports on-premises image files to the Alibaba Cloud ECS.
ExportImage Exports a custom image to an OSS bucket in the same region as the custom image.
CopyImage Copies a custom image from one region to other regions.
CancelCopyImage Cancels a pending image copy (CopyImage) operation.
DescribeImages Describes your available image.
DeleteImage Deletes a specified custom image.
DescribeImageSharePermission Describes all the authorized users to whom one of your custom image is shared.
ModifyImageAttribute Modifies the name and description of a custom image.
ModifyImageSharePermission Shares a custom image to other Alibaba Cloud users.

Snapshot

Action  Description
CreateSnapshot Creates a snapshot for a specified disk device.
CreateAutoSnapshotPolicy Creates an automatic snapshot policy.
ApplyAutoSnapshotPolicy Applies automatic snapshot policies to one or more disks.
DeleteSnapshot  Deletes a specified snapshot.
CancelAutoSnapshotPolicy Cancels the automatic snapshot policy for one or more disks.
DeleteAutoSnapshotPolicy Deletes an automatic snapshot policy.
DescribeAutoSnapshotPolicyEx Describes your available automatic snapshot policies.
DescribeSnapshots Describes one or more of your available snapshots.
DescribeSnapshotLinks Describes the snapshot chains of one or more disks.
ModifyAutoSnapshotPolicyEx Modifies an automatic snapshot policy.

Network

Action Description
AllocatePublicIpAddress Assigns an Internet IP address to an instance.
ConvertNatPublicIpToEip Changes the public IP (NatPublicIp) of a VPC-connected instance to an Elastic IP (EIP).
AttachClassicLinkVpc Links a classic network instance to a VPC, which allows the classic network instance communicating with the resources that are in the intranet of a VPC.
DetachClassicLinkVpc Unlinks a classic network-connected instance from the VPC.
DescribeBandwidthLimitation Describes a list of bandwidth resources.
DescribeClassicLinkInstances Describes one or more of your classic network-connected instances that have established ClassicLink with a VPC.
ModifyInstanceNetworkSpec Modifies the bandwidth configuration of your Instance.

For more information about the APIs for Virtual Private Cloud (VPC), see VPC API  Reference.

Security group

Action Description
CreateSecurityGroup Creates a security group.
AuthorizeSecurityGroup Adds an inbound rule to a security group.
AuthorizeSecurityGroupEgress Adds an outbound rule to a security group.
RevokeSecurityGroup  Deletes an inbound rule from a security group.
RevokeSecurityGroupEgress Deletes an outbound rule from a security group.
JoinSecurityGroup Adds an instance to a specified security group.
LeaveSecurityGroup Removes an instance from a specified security group.
DeleteSecurityGroup Deletes one of your security groups.
DescribeSecurityGroupAttribute Describes one of your security groups.
DescribeSecurityGroups Describes the basic information about your security groups, such as the security group ID and description.
DescribeSecurityGroupReferences Describes whether a specified security group has been authorized by other security group or not.
ModifySecurityGroupAttribute Modifies the attribute of the specified security group, including the security group name and description.
ModifySecurityGroupPolicy Modifies the intranet communication policy of a security group.
ModifySecurityGroupRule Modifies the description of a security group inbound rule.

SSH key pair

Action Description
CreateKeyPair Creates an SSH key pair.
ImportKeyPair Imports the public key of an SSH key pair that you create with other key pair generators into one of the Alibaba Cloud regions.
AttachKeyPair Attaches an SSH key pair to one or more of your Linux instances.
DetachKeyPair Detaches an SSH key pair from one or more of your Linux instances.
DeleteKeyPairs  Deletes one or more of your SSH key pairs.
DescribeKeyPairs Describes one or more of your SSH key pairs.

ENI

Action  Description
CreateNetworkInterface Creates an ENI (Elastic Network Interface).
AttachNetworkInterface Attaches an ENI to a VPC-connected instance.
DetachNetworkInterface Detaches an ENI from your Instance.
DeleteNetworkInterface  Deletes an ENI.
DescribeNetworkInterfaces  Describes the list of your ENIs.
ModifyNetworkInterfaceAttribute Modifies the attribute of an ENI.

Region and zone

Action Description
DescribeRegions Describes the latest Alibaba Cloud regions that are available to you.
DescribeZones Describes the zones that are available to you in a specified region.

Monitoring

Action Description
DescribeDisksFullStatus Describes the full status information of a disk.
DescribeDiskMonitorData Describes the monitoring data of a specified disk.
DescribeInstancesFullStatus Describes the full status information of the specified Instance.
DescribeInstanceHistoryEvents Describes the history events of a specified Instance.
DescribeInstanceMonitorData  Describes all the instance-related monitoring data.

Tag

Action Description
AddTags Adds or overwrites one or more tags to your ECS resource.
RemoveTags Removes one or more tags from the specified ECS resource, such as instances, disks, snapshots, images, and security groups.
DescribeTags Describes one or more of your available tags.

Cloud assistant

Action Description
CreateCommand  Creates a cloud assistant command.
InvokeCommand Performs a specified command on the target Instances.
StopInvocation Stops cloud assistant command processes that are in Running status on Instances.
DeleteCommand Deletes a created cloud assistant command.
DescribeCommands Describes the cloud assistant commands that you have created.
DescribeInvocations Describes the cloud assistant command invocation list and status on your Instances.
DescribeInvocationResults Describes the invocation result of a cloud assistant command, that is, the actual Output information of a specified Instance.
ModifyCommand Modifies the parameters and content of a cloud assistant command.

Others

Action Description
CancelTask Cancels a specified active task.
DescribeAvailableResource Describes a list of the resources available in a certain zone.
DescribeResourcesModification Describes a list of the resources available in a certain zone.
DescribeTasks Describes the progress of a specified asynchronous request.
DescribeTaskAttribute Describes the details about one or more tasks.  Currently, the tasks that can be queried are the importing image action (ImportImage) and the exporting image action (ExportImage).