public class Client
extends com.aliyun.teaopenapi.Client
_ca, _cert, _connectTimeout, _credential, _disableHttp2, _endpoint, _endpointMap, _endpointRule, _endpointType, _globalParameters, _headers, _httpProxy, _httpsProxy, _key, _maxIdleConns, _method, _network, _noProxy, _openPlatformEndpoint, _productId, _protocol, _readTimeout, _regionId, _signatureAlgorithm, _signatureVersion, _socks5NetWork, _socks5Proxy, _spi, _suffix, _userAgent
构造器和说明 |
---|
Client(com.aliyun.teaopenapi.models.Config config) |
限定符和类型 | 方法和说明 | ||||
---|---|---|---|---|---|
AcceptInquiredSystemEventResponse |
acceptInquiredSystemEvent(AcceptInquiredSystemEventRequest request)
summary :
in the Inquiring state and authorizes the system to perform the default operations.
|
||||
AcceptInquiredSystemEventResponse |
acceptInquiredSystemEventWithOptions(AcceptInquiredSystemEventRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
in the Inquiring state and authorizes the system to perform the default operations.
|
||||
ActivateRouterInterfaceResponse |
activateRouterInterface(ActivateRouterInterfaceRequest request)
已过时。
OpenAPI ActivateRouterInterface is deprecated
|
||||
ActivateRouterInterfaceResponse |
activateRouterInterfaceWithOptions(ActivateRouterInterfaceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ActivateRouterInterface is deprecated
|
||||
AddBandwidthPackageIpsResponse |
addBandwidthPackageIps(AddBandwidthPackageIpsRequest request)
已过时。
OpenAPI AddBandwidthPackageIps is deprecated
|
||||
AddBandwidthPackageIpsResponse |
addBandwidthPackageIpsWithOptions(AddBandwidthPackageIpsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI AddBandwidthPackageIps is deprecated
|
||||
AddTagsResponse |
addTags(AddTagsRequest request)
description :
When you call this operation, take note of the following items:
Up to 20 tags can be added to each ECS resource.
|
||||
AddTagsResponse |
addTagsWithOptions(AddTagsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, take note of the following items:
Up to 20 tags can be added to each ECS resource.
|
||||
AllocateDedicatedHostsResponse |
allocateDedicatedHosts(AllocateDedicatedHostsRequest request)
description :
Before you create a dedicated host, you can call the DescribeAvailableResource operation to query the resources available in a specific region or zone.
|
||||
AllocateDedicatedHostsResponse |
allocateDedicatedHostsWithOptions(AllocateDedicatedHostsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you create a dedicated host, you can call the DescribeAvailableResource operation to query the resources available in a specific region or zone.
|
||||
AllocateEipAddressResponse |
allocateEipAddress(AllocateEipAddressRequest request)
已过时。
OpenAPI AllocateEipAddress is deprecated, please use Vpc::2016-04-28::AllocateEipAddress instead.
|
||||
AllocateEipAddressResponse |
allocateEipAddressWithOptions(AllocateEipAddressRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI AllocateEipAddress is deprecated, please use Vpc::2016-04-28::AllocateEipAddress instead.
|
||||
AllocatePublicIpAddressResponse |
allocatePublicIpAddress(AllocatePublicIpAddressRequest request)
description :
Take note of the following items:
The instance to which you want to assign a public IP address must be in the Running (
Running ) or Stopped (Stopped ) state. |
||||
AllocatePublicIpAddressResponse |
allocatePublicIpAddressWithOptions(AllocatePublicIpAddressRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
The instance to which you want to assign a public IP address must be in the Running (
Running ) or Stopped (Stopped ) state. |
||||
ApplyAutoSnapshotPolicyResponse |
applyAutoSnapshotPolicy(ApplyAutoSnapshotPolicyRequest request)
description :
Each disk can have only one automatic snapshot policy.
|
||||
ApplyAutoSnapshotPolicyResponse |
applyAutoSnapshotPolicyWithOptions(ApplyAutoSnapshotPolicyRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Each disk can have only one automatic snapshot policy.
|
||||
AssignIpv6AddressesResponse |
assignIpv6Addresses(AssignIpv6AddressesRequest request)
|
||||
AssignIpv6AddressesResponse |
assignIpv6AddressesWithOptions(AssignIpv6AddressesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
AssignPrivateIpAddressesResponse |
assignPrivateIpAddresses(AssignPrivateIpAddressesRequest request)
|
||||
AssignPrivateIpAddressesResponse |
assignPrivateIpAddressesWithOptions(AssignPrivateIpAddressesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
AssociateEipAddressResponse |
associateEipAddress(AssociateEipAddressRequest request)
已过时。
OpenAPI AssociateEipAddress is deprecated, please use Vpc::2016-04-28::AssociateEipAddress instead.
|
||||
AssociateEipAddressResponse |
associateEipAddressWithOptions(AssociateEipAddressRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI AssociateEipAddress is deprecated, please use Vpc::2016-04-28::AssociateEipAddress instead.
|
||||
AssociateHaVipResponse |
associateHaVip(AssociateHaVipRequest request)
已过时。
OpenAPI AssociateHaVip is deprecated
|
||||
AssociateHaVipResponse |
associateHaVipWithOptions(AssociateHaVipRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI AssociateHaVip is deprecated
|
||||
AttachClassicLinkVpcResponse |
attachClassicLinkVpc(AttachClassicLinkVpcRequest request)
description :
When you call this operation, take note of the following items:
The instance that you want to connect to a VPC must be in the Running or Stopped state.
|
||||
AttachClassicLinkVpcResponse |
attachClassicLinkVpcWithOptions(AttachClassicLinkVpcRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, take note of the following items:
The instance that you want to connect to a VPC must be in the Running or Stopped state.
|
||||
AttachDiskResponse |
attachDisk(AttachDiskRequest request)
|
||||
AttachDiskResponse |
attachDiskWithOptions(AttachDiskRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
AttachInstanceRamRoleResponse |
attachInstanceRamRole(AttachInstanceRamRoleRequest request)
summary :
Attaches an instance Resource Access Management (RAM) role to one or more Elastic Compute Service (ECS) instances.
|
||||
AttachInstanceRamRoleResponse |
attachInstanceRamRoleWithOptions(AttachInstanceRamRoleRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Attaches an instance Resource Access Management (RAM) role to one or more Elastic Compute Service (ECS) instances.
|
||||
AttachKeyPairResponse |
attachKeyPair(AttachKeyPairRequest request)
description :
Take note of the following items:
SSH key pairs are not supported on Windows instances.
|
||||
AttachKeyPairResponse |
attachKeyPairWithOptions(AttachKeyPairRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
SSH key pairs are not supported on Windows instances.
|
||||
AttachNetworkInterfaceResponse |
attachNetworkInterface(AttachNetworkInterfaceRequest request)
description :
Take note of the following items:
The ENI must be in the Available state.
|
||||
AttachNetworkInterfaceResponse |
attachNetworkInterfaceWithOptions(AttachNetworkInterfaceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
The ENI must be in the Available state.
|
||||
AuthorizeSecurityGroupResponse |
authorizeSecurityGroup(AuthorizeSecurityGroupRequest request)
description :
Take note of the following items:
The total number of outbound and inbound rules in each security group cannot exceed 200.
|
||||
AuthorizeSecurityGroupEgressResponse |
authorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest request)
description :
In the security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
||||
AuthorizeSecurityGroupEgressResponse |
authorizeSecurityGroupEgressWithOptions(AuthorizeSecurityGroupEgressRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
In the security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
||||
AuthorizeSecurityGroupResponse |
authorizeSecurityGroupWithOptions(AuthorizeSecurityGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
The total number of outbound and inbound rules in each security group cannot exceed 200.
|
||||
CancelAutoSnapshotPolicyResponse |
cancelAutoSnapshotPolicy(CancelAutoSnapshotPolicyRequest request)
summary :
Disables automatic snapshot policies for one or more disks.
|
||||
CancelAutoSnapshotPolicyResponse |
cancelAutoSnapshotPolicyWithOptions(CancelAutoSnapshotPolicyRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Disables automatic snapshot policies for one or more disks.
|
||||
CancelCopyImageResponse |
cancelCopyImage(CancelCopyImageRequest request)
description :
When you call this operation, take note of the following items:
After you cancel an image copy task, the image copy created in the destination region is deleted, and the copied image remains unchanged.
|
||||
CancelCopyImageResponse |
cancelCopyImageWithOptions(CancelCopyImageRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, take note of the following items:
After you cancel an image copy task, the image copy created in the destination region is deleted, and the copied image remains unchanged.
|
||||
CancelImagePipelineExecutionResponse |
cancelImagePipelineExecution(CancelImagePipelineExecutionRequest request)
description :
Before you call this operation, make sure that the image build task to be canceled is in the BUILDING, DISTRIBUTING, or RELEASING state.
|
||||
CancelImagePipelineExecutionResponse |
cancelImagePipelineExecutionWithOptions(CancelImagePipelineExecutionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you call this operation, make sure that the image build task to be canceled is in the BUILDING, DISTRIBUTING, or RELEASING state.
|
||||
CancelPhysicalConnectionResponse |
cancelPhysicalConnection(CancelPhysicalConnectionRequest request)
已过时。
OpenAPI CancelPhysicalConnection is deprecated
|
||||
CancelPhysicalConnectionResponse |
cancelPhysicalConnectionWithOptions(CancelPhysicalConnectionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CancelPhysicalConnection is deprecated
|
||||
CancelSimulatedSystemEventsResponse |
cancelSimulatedSystemEvents(CancelSimulatedSystemEventsRequest request)
summary :
Cancels simulated system events that are in the Scheduled or Executing state.
|
||||
CancelSimulatedSystemEventsResponse |
cancelSimulatedSystemEventsWithOptions(CancelSimulatedSystemEventsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Cancels simulated system events that are in the Scheduled or Executing state.
|
||||
CancelTaskResponse |
cancelTask(CancelTaskRequest request)
summary :
The region ID of the task.
|
||||
CancelTaskResponse |
cancelTaskWithOptions(CancelTaskRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
The region ID of the task.
|
||||
ConnectRouterInterfaceResponse |
connectRouterInterface(ConnectRouterInterfaceRequest request)
已过时。
OpenAPI ConnectRouterInterface is deprecated
|
||||
ConnectRouterInterfaceResponse |
connectRouterInterfaceWithOptions(ConnectRouterInterfaceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ConnectRouterInterface is deprecated
|
||||
ConvertNatPublicIpToEipResponse |
convertNatPublicIpToEip(ConvertNatPublicIpToEipRequest request)
|
||||
ConvertNatPublicIpToEipResponse |
convertNatPublicIpToEipWithOptions(ConvertNatPublicIpToEipRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CopyImageResponse |
copyImage(CopyImageRequest request)
|
||||
CopyImageResponse |
copyImageWithOptions(CopyImageRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CopySnapshotResponse |
copySnapshot(CopySnapshotRequest request)
|
||||
CopySnapshotResponse |
copySnapshotWithOptions(CopySnapshotRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CreateActivationResponse |
createActivation(CreateActivationRequest request)
description :
Usage notes
After you use an activation code to register a server that is not provided by Alibaba Cloud as an Alibaba Cloud managed instance, you can use a variety of online services provided by Alibaba Cloud, such as Cloud Assistant, CloudOps Orchestration Service (OOS), and Apsara Devops on the managed instance.
|
||||
CreateActivationResponse |
createActivationWithOptions(CreateActivationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
After you use an activation code to register a server that is not provided by Alibaba Cloud as an Alibaba Cloud managed instance, you can use a variety of online services provided by Alibaba Cloud, such as Cloud Assistant, CloudOps Orchestration Service (OOS), and Apsara Devops on the managed instance.
|
||||
CreateAutoProvisioningGroupResponse |
createAutoProvisioningGroup(CreateAutoProvisioningGroupRequest request)
|
||||
CreateAutoProvisioningGroupResponse |
createAutoProvisioningGroupWithOptions(CreateAutoProvisioningGroupRequest tmpReq,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CreateAutoSnapshotPolicyResponse |
createAutoSnapshotPolicy(CreateAutoSnapshotPolicyRequest request)
description :
Usage notes
When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements.
|
||||
CreateAutoSnapshotPolicyResponse |
createAutoSnapshotPolicyWithOptions(CreateAutoSnapshotPolicyRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements.
|
||||
CreateCapacityReservationResponse |
createCapacityReservation(CreateCapacityReservationRequest request)
description :
When you create a capacity reservation, you can specify attributes such as a zone and an instance type.
|
||||
CreateCapacityReservationResponse |
createCapacityReservationWithOptions(CreateCapacityReservationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you create a capacity reservation, you can specify attributes such as a zone and an instance type.
|
||||
CreateCommandResponse |
createCommand(CreateCommandRequest request)
description :
Usage notes
You can create commands of the following types:
Batch commands (RunBatScript), applicable to Windows instances
PowerShell commands (RunPowerShellScript), applicable to Windows instances
Shell commands (RunShellScript), applicable to Linux instances
You can specify the Timeout parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances.
|
||||
CreateCommandResponse |
createCommandWithOptions(CreateCommandRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
You can create commands of the following types:
Batch commands (RunBatScript), applicable to Windows instances
PowerShell commands (RunPowerShellScript), applicable to Windows instances
Shell commands (RunShellScript), applicable to Linux instances
You can specify the Timeout parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances.
|
||||
CreateDedicatedHostClusterResponse |
createDedicatedHostCluster(CreateDedicatedHostClusterRequest request)
summary :
Creates a dedicated host cluster.
|
||||
CreateDedicatedHostClusterResponse |
createDedicatedHostClusterWithOptions(CreateDedicatedHostClusterRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Creates a dedicated host cluster.
|
||||
CreateDemandResponse |
createDemand(CreateDemandRequest request)
已过时。
OpenAPI CreateDemand is deprecated, please use Ecs::2014-05-26::CreateCapacityReservation instead.
|
||||
CreateDemandResponse |
createDemandWithOptions(CreateDemandRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CreateDemand is deprecated, please use Ecs::2014-05-26::CreateCapacityReservation instead.
|
||||
CreateDeploymentSetResponse |
createDeploymentSet(CreateDeploymentSetRequest request)
summary :
Creates a deployment set in a region.
|
||||
CreateDeploymentSetResponse |
createDeploymentSetWithOptions(CreateDeploymentSetRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Creates a deployment set in a region.
|
||||
CreateDiagnosticMetricSetResponse |
createDiagnosticMetricSet(CreateDiagnosticMetricSetRequest request)
summary :
The operation that you want to perform.
|
||||
CreateDiagnosticMetricSetResponse |
createDiagnosticMetricSetWithOptions(CreateDiagnosticMetricSetRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
The operation that you want to perform.
|
||||
CreateDiagnosticReportResponse |
createDiagnosticReport(CreateDiagnosticReportRequest request)
summary :
创建诊断报告
|
||||
CreateDiagnosticReportResponse |
createDiagnosticReportWithOptions(CreateDiagnosticReportRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
创建诊断报告
|
||||
CreateDiskResponse |
createDisk(CreateDiskRequest request)
|
||||
CreateDiskResponse |
createDiskWithOptions(CreateDiskRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CreateElasticityAssuranceResponse |
createElasticityAssurance(CreateElasticityAssuranceRequest request)
description :
Elasticity Assurance provides a new way to purchase and use resources with flexibility and assurance.
|
||||
CreateElasticityAssuranceResponse |
createElasticityAssuranceWithOptions(CreateElasticityAssuranceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Elasticity Assurance provides a new way to purchase and use resources with flexibility and assurance.
|
||||
CreateForwardEntryResponse |
createForwardEntry(CreateForwardEntryRequest request)
已过时。
OpenAPI CreateForwardEntry is deprecated
|
||||
CreateForwardEntryResponse |
createForwardEntryWithOptions(CreateForwardEntryRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CreateForwardEntry is deprecated
|
||||
CreateHaVipResponse |
createHaVip(CreateHaVipRequest request)
已过时。
OpenAPI CreateHaVip is deprecated
|
||||
CreateHaVipResponse |
createHaVipWithOptions(CreateHaVipRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CreateHaVip is deprecated
|
||||
CreateHpcClusterResponse |
createHpcCluster(CreateHpcClusterRequest request)
summary :
Creates a high performance computing (HPC) cluster.
|
||||
CreateHpcClusterResponse |
createHpcClusterWithOptions(CreateHpcClusterRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Creates a high performance computing (HPC) cluster.
|
||||
CreateImageResponse |
createImage(CreateImageRequest request)
|
||||
CreateImageComponentResponse |
createImageComponent(CreateImageComponentRequest request)
|
||||
CreateImageComponentResponse |
createImageComponentWithOptions(CreateImageComponentRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CreateImagePipelineResponse |
createImagePipeline(CreateImagePipelineRequest request)
|
||||
CreateImagePipelineResponse |
createImagePipelineWithOptions(CreateImagePipelineRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CreateImageResponse |
createImageWithOptions(CreateImageRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CreateInstanceResponse |
createInstance(CreateInstanceRequest request)
description :
Usage notes
You can call the DescribeAvailableResource operation to query available resources in a specific region or zone.
|
||||
CreateInstanceResponse |
createInstanceWithOptions(CreateInstanceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
You can call the DescribeAvailableResource operation to query available resources in a specific region or zone.
|
||||
CreateKeyPairResponse |
createKeyPair(CreateKeyPairRequest request)
description :
In addition to calling the CreateKeyPair operation to create a key pair, you can use a third-party tool to create a key pair and then call the ImportKeyPair operation to upload the key pair to an Alibaba Cloud region.
|
||||
CreateKeyPairResponse |
createKeyPairWithOptions(CreateKeyPairRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
In addition to calling the CreateKeyPair operation to create a key pair, you can use a third-party tool to create a key pair and then call the ImportKeyPair operation to upload the key pair to an Alibaba Cloud region.
|
||||
CreateLaunchTemplateResponse |
createLaunchTemplate(CreateLaunchTemplateRequest request)
description :
After you create a launch template by calling the CreateLaunchTemplate operation, a default version that has a version number of 1 is automatically generated for the launch template.
|
||||
CreateLaunchTemplateVersionResponse |
createLaunchTemplateVersion(CreateLaunchTemplateVersionRequest request)
|
||||
CreateLaunchTemplateVersionResponse |
createLaunchTemplateVersionWithOptions(CreateLaunchTemplateVersionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CreateLaunchTemplateResponse |
createLaunchTemplateWithOptions(CreateLaunchTemplateRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
After you create a launch template by calling the CreateLaunchTemplate operation, a default version that has a version number of 1 is automatically generated for the launch template.
|
||||
CreateNatGatewayResponse |
createNatGateway(CreateNatGatewayRequest request)
已过时。
OpenAPI CreateNatGateway is deprecated
|
||||
CreateNatGatewayResponse |
createNatGatewayWithOptions(CreateNatGatewayRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CreateNatGateway is deprecated
|
||||
CreateNetworkInterfaceResponse |
createNetworkInterface(CreateNetworkInterfaceRequest request)
|
||||
CreateNetworkInterfacePermissionResponse |
createNetworkInterfacePermission(CreateNetworkInterfacePermissionRequest request)
description :
Before you call this operation, submit a ticket to apply for using this operation.
|
||||
CreateNetworkInterfacePermissionResponse |
createNetworkInterfacePermissionWithOptions(CreateNetworkInterfacePermissionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you call this operation, submit a ticket to apply for using this operation.
|
||||
CreateNetworkInterfaceResponse |
createNetworkInterfaceWithOptions(CreateNetworkInterfaceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CreatePhysicalConnectionResponse |
createPhysicalConnection(CreatePhysicalConnectionRequest request)
已过时。
OpenAPI CreatePhysicalConnection is deprecated
|
||||
CreatePhysicalConnectionResponse |
createPhysicalConnectionWithOptions(CreatePhysicalConnectionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CreatePhysicalConnection is deprecated
|
||||
CreatePrefixListResponse |
createPrefixList(CreatePrefixListRequest request)
description :
A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources.
|
||||
CreatePrefixListResponse |
createPrefixListWithOptions(CreatePrefixListRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources.
|
||||
CreateRouteEntryResponse |
createRouteEntry(CreateRouteEntryRequest request)
已过时。
OpenAPI CreateRouteEntry is deprecated
|
||||
CreateRouteEntryResponse |
createRouteEntryWithOptions(CreateRouteEntryRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CreateRouteEntry is deprecated
|
||||
CreateRouterInterfaceResponse |
createRouterInterface(CreateRouterInterfaceRequest request)
已过时。
OpenAPI CreateRouterInterface is deprecated
|
||||
CreateRouterInterfaceResponse |
createRouterInterfaceWithOptions(CreateRouterInterfaceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CreateRouterInterface is deprecated
|
||||
CreateSavingsPlanResponse |
createSavingsPlan(CreateSavingsPlanRequest request)
summary :
购买节省计划并预付费换购按量付费
|
||||
CreateSavingsPlanResponse |
createSavingsPlanWithOptions(CreateSavingsPlanRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
购买节省计划并预付费换购按量付费
|
||||
CreateSecurityGroupResponse |
createSecurityGroup(CreateSecurityGroupRequest request)
|
||||
CreateSecurityGroupResponse |
createSecurityGroupWithOptions(CreateSecurityGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
CreateSimulatedSystemEventsResponse |
createSimulatedSystemEvents(CreateSimulatedSystemEventsRequest request)
description :
You can use the ECS console, call ECS API operations, or use CloudMonitor to view the scheduled simulated system events.
|
||||
CreateSimulatedSystemEventsResponse |
createSimulatedSystemEventsWithOptions(CreateSimulatedSystemEventsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can use the ECS console, call ECS API operations, or use CloudMonitor to view the scheduled simulated system events.
|
||||
CreateSnapshotResponse |
createSnapshot(CreateSnapshotRequest request)
description :
The local snapshot feature is replaced by the instant access feature.
|
||||
CreateSnapshotGroupResponse |
createSnapshotGroup(CreateSnapshotGroupRequest request)
description :
You can specify
InstanceId to create a snapshot-consistent group for disks on a specific ECS instance. |
||||
CreateSnapshotGroupResponse |
createSnapshotGroupWithOptions(CreateSnapshotGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can specify
InstanceId to create a snapshot-consistent group for disks on a specific ECS instance. |
||||
CreateSnapshotResponse |
createSnapshotWithOptions(CreateSnapshotRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
The local snapshot feature is replaced by the instant access feature.
|
||||
CreateStorageSetResponse |
createStorageSet(CreateStorageSetRequest request)
description :
A storage set can distribute disks or Shared Block Storage devices to different locations.
|
||||
CreateStorageSetResponse |
createStorageSetWithOptions(CreateStorageSetRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
A storage set can distribute disks or Shared Block Storage devices to different locations.
|
||||
CreateVirtualBorderRouterResponse |
createVirtualBorderRouter(CreateVirtualBorderRouterRequest request)
已过时。
OpenAPI CreateVirtualBorderRouter is deprecated
|
||||
CreateVirtualBorderRouterResponse |
createVirtualBorderRouterWithOptions(CreateVirtualBorderRouterRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CreateVirtualBorderRouter is deprecated
|
||||
CreateVpcResponse |
createVpc(CreateVpcRequest request)
已过时。
OpenAPI CreateVpc is deprecated, please use Vpc::2016-04-28::CreateVpc instead.
|
||||
CreateVpcResponse |
createVpcWithOptions(CreateVpcRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CreateVpc is deprecated, please use Vpc::2016-04-28::CreateVpc instead.
|
||||
CreateVSwitchResponse |
createVSwitch(CreateVSwitchRequest request)
已过时。
OpenAPI CreateVSwitch is deprecated
|
||||
CreateVSwitchResponse |
createVSwitchWithOptions(CreateVSwitchRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI CreateVSwitch is deprecated
|
||||
DeactivateRouterInterfaceResponse |
deactivateRouterInterface(DeactivateRouterInterfaceRequest request)
已过时。
OpenAPI DeactivateRouterInterface is deprecated
|
||||
DeactivateRouterInterfaceResponse |
deactivateRouterInterfaceWithOptions(DeactivateRouterInterfaceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeactivateRouterInterface is deprecated
|
||||
DeleteActivationResponse |
deleteActivation(DeleteActivationRequest request)
description :
$.parameters[4].schema.description
summary :
Description
Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
|
||||
DeleteActivationResponse |
deleteActivationWithOptions(DeleteActivationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
$.parameters[4].schema.description
summary :
Description
Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
|
||||
DeleteAutoProvisioningGroupResponse |
deleteAutoProvisioningGroup(DeleteAutoProvisioningGroupRequest request)
summary :
Deletes an auto provisioning group.
|
||||
DeleteAutoProvisioningGroupResponse |
deleteAutoProvisioningGroupWithOptions(DeleteAutoProvisioningGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Deletes an auto provisioning group.
|
||||
DeleteAutoSnapshotPolicyResponse |
deleteAutoSnapshotPolicy(DeleteAutoSnapshotPolicyRequest request)
summary :
You can call this operation to delete an automatic snapshot policy.
|
||||
DeleteAutoSnapshotPolicyResponse |
deleteAutoSnapshotPolicyWithOptions(DeleteAutoSnapshotPolicyRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
You can call this operation to delete an automatic snapshot policy.
|
||||
DeleteBandwidthPackageResponse |
deleteBandwidthPackage(DeleteBandwidthPackageRequest request)
已过时。
OpenAPI DeleteBandwidthPackage is deprecated
|
||||
DeleteBandwidthPackageResponse |
deleteBandwidthPackageWithOptions(DeleteBandwidthPackageRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteBandwidthPackage is deprecated
|
||||
DeleteCommandResponse |
deleteCommand(DeleteCommandRequest request)
summary :
Deletes a Cloud Assistant command in a region.
|
||||
DeleteCommandResponse |
deleteCommandWithOptions(DeleteCommandRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Deletes a Cloud Assistant command in a region.
|
||||
DeleteDedicatedHostClusterResponse |
deleteDedicatedHostCluster(DeleteDedicatedHostClusterRequest request)
summary :
Deletes a dedicated host cluster.
|
||||
DeleteDedicatedHostClusterResponse |
deleteDedicatedHostClusterWithOptions(DeleteDedicatedHostClusterRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Deletes a dedicated host cluster.
|
||||
DeleteDemandResponse |
deleteDemand(DeleteDemandRequest request)
已过时。
OpenAPI DeleteDemand is deprecated, please use Ecs::2014-05-26::ReleaseCapacityReservation instead.
|
||||
DeleteDemandResponse |
deleteDemandWithOptions(DeleteDemandRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteDemand is deprecated, please use Ecs::2014-05-26::ReleaseCapacityReservation instead.
|
||||
DeleteDeploymentSetResponse |
deleteDeploymentSet(DeleteDeploymentSetRequest request)
description :
Before you delete a deployment set, make sure that no instances exist in the deployment set.
|
||||
DeleteDeploymentSetResponse |
deleteDeploymentSetWithOptions(DeleteDeploymentSetRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you delete a deployment set, make sure that no instances exist in the deployment set.
|
||||
DeleteDiagnosticMetricSetsResponse |
deleteDiagnosticMetricSets(DeleteDiagnosticMetricSetsRequest request)
summary :
The operation that you want to perform.
|
||||
DeleteDiagnosticMetricSetsResponse |
deleteDiagnosticMetricSetsWithOptions(DeleteDiagnosticMetricSetsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
The operation that you want to perform.
|
||||
DeleteDiagnosticReportsResponse |
deleteDiagnosticReports(DeleteDiagnosticReportsRequest request)
description :
You can call this operation to delete the diagnostic reports that are no longer needed.
|
||||
DeleteDiagnosticReportsResponse |
deleteDiagnosticReportsWithOptions(DeleteDiagnosticReportsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can call this operation to delete the diagnostic reports that are no longer needed.
|
||||
DeleteDiskResponse |
deleteDisk(DeleteDiskRequest request)
description :
When you call this operation, take note of the following items:
Manual snapshots of the disk are retained.
|
||||
DeleteDiskResponse |
deleteDiskWithOptions(DeleteDiskRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, take note of the following items:
Manual snapshots of the disk are retained.
|
||||
DeleteForwardEntryResponse |
deleteForwardEntry(DeleteForwardEntryRequest request)
已过时。
OpenAPI DeleteForwardEntry is deprecated
|
||||
DeleteForwardEntryResponse |
deleteForwardEntryWithOptions(DeleteForwardEntryRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteForwardEntry is deprecated
|
||||
DeleteHaVipResponse |
deleteHaVip(DeleteHaVipRequest request)
已过时。
OpenAPI DeleteHaVip is deprecated
|
||||
DeleteHaVipResponse |
deleteHaVipWithOptions(DeleteHaVipRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteHaVip is deprecated
|
||||
DeleteHpcClusterResponse |
deleteHpcCluster(DeleteHpcClusterRequest request) |
||||
DeleteHpcClusterResponse |
deleteHpcClusterWithOptions(DeleteHpcClusterRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime) |
||||
DeleteImageResponse |
deleteImage(DeleteImageRequest request)
description :
For information about scenarios in which you cannot delete a custom image and the considerations related to custom image deletion, see Delete a custom image.
|
||||
DeleteImageComponentResponse |
deleteImageComponent(DeleteImageComponentRequest request)
description :
Only custom image components can be deleted.
|
||||
DeleteImageComponentResponse |
deleteImageComponentWithOptions(DeleteImageComponentRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Only custom image components can be deleted.
|
||||
DeleteImagePipelineResponse |
deleteImagePipeline(DeleteImagePipelineRequest request)
description :
If an image build task based on an image template is in the BUILDING, DISTRIBUTING, RELEASING, or CANCELLING state, you cannot delete the image template.
|
||||
DeleteImagePipelineResponse |
deleteImagePipelineWithOptions(DeleteImagePipelineRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
If an image build task based on an image template is in the BUILDING, DISTRIBUTING, RELEASING, or CANCELLING state, you cannot delete the image template.
|
||||
DeleteImageResponse |
deleteImageWithOptions(DeleteImageRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
For information about scenarios in which you cannot delete a custom image and the considerations related to custom image deletion, see Delete a custom image.
|
||||
DeleteInstanceResponse |
deleteInstance(DeleteInstanceRequest request)
|
||||
DeleteInstancesResponse |
deleteInstances(DeleteInstancesRequest request)
|
||||
DeleteInstancesResponse |
deleteInstancesWithOptions(DeleteInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DeleteInstanceResponse |
deleteInstanceWithOptions(DeleteInstanceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DeleteKeyPairsResponse |
deleteKeyPairs(DeleteKeyPairsRequest request)
description :
When you call this operation, take note of the following items:
After an SSH key pair is deleted, you cannot query the SSH key pair by calling the DescribeKeyPairs operation.
|
||||
DeleteKeyPairsResponse |
deleteKeyPairsWithOptions(DeleteKeyPairsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, take note of the following items:
After an SSH key pair is deleted, you cannot query the SSH key pair by calling the DescribeKeyPairs operation.
|
||||
DeleteLaunchTemplateResponse |
deleteLaunchTemplate(DeleteLaunchTemplateRequest request)
description :
Take note of the following items:
After you delete a launch template, Elastic Compute Service (ECS) instances created based on the launch template are not affected.
|
||||
DeleteLaunchTemplateVersionResponse |
deleteLaunchTemplateVersion(DeleteLaunchTemplateVersionRequest request)
description :
Take note of the following items:
You cannot delete the default version of a launch template by calling this operation.
|
||||
DeleteLaunchTemplateVersionResponse |
deleteLaunchTemplateVersionWithOptions(DeleteLaunchTemplateVersionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
You cannot delete the default version of a launch template by calling this operation.
|
||||
DeleteLaunchTemplateResponse |
deleteLaunchTemplateWithOptions(DeleteLaunchTemplateRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
After you delete a launch template, Elastic Compute Service (ECS) instances created based on the launch template are not affected.
|
||||
DeleteNatGatewayResponse |
deleteNatGateway(DeleteNatGatewayRequest request)
已过时。
OpenAPI DeleteNatGateway is deprecated
|
||||
DeleteNatGatewayResponse |
deleteNatGatewayWithOptions(DeleteNatGatewayRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteNatGateway is deprecated
|
||||
DeleteNetworkInterfaceResponse |
deleteNetworkInterface(DeleteNetworkInterfaceRequest request)
description :
Take note of the following items:
The ENI to be deleted must be in the Available state.
|
||||
DeleteNetworkInterfacePermissionResponse |
deleteNetworkInterfacePermission(DeleteNetworkInterfacePermissionRequest request)
已过时。
OpenAPI DeleteNetworkInterfacePermission is deprecated, please use Ecs::2014-05-26::DeleteNetworkInterface instead.
|
||||
DeleteNetworkInterfacePermissionResponse |
deleteNetworkInterfacePermissionWithOptions(DeleteNetworkInterfacePermissionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteNetworkInterfacePermission is deprecated, please use Ecs::2014-05-26::DeleteNetworkInterface instead.
|
||||
DeleteNetworkInterfaceResponse |
deleteNetworkInterfaceWithOptions(DeleteNetworkInterfaceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
The ENI to be deleted must be in the Available state.
|
||||
DeletePhysicalConnectionResponse |
deletePhysicalConnection(DeletePhysicalConnectionRequest request)
已过时。
OpenAPI DeletePhysicalConnection is deprecated
|
||||
DeletePhysicalConnectionResponse |
deletePhysicalConnectionWithOptions(DeletePhysicalConnectionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeletePhysicalConnection is deprecated
|
||||
DeletePrefixListResponse |
deletePrefixList(DeletePrefixListRequest request)
description :
If a prefix list is associated with resources, you cannot delete the prefix list.
|
||||
DeletePrefixListResponse |
deletePrefixListWithOptions(DeletePrefixListRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
If a prefix list is associated with resources, you cannot delete the prefix list.
|
||||
DeleteRouteEntryResponse |
deleteRouteEntry(DeleteRouteEntryRequest request)
已过时。
OpenAPI DeleteRouteEntry is deprecated
|
||||
DeleteRouteEntryResponse |
deleteRouteEntryWithOptions(DeleteRouteEntryRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteRouteEntry is deprecated
|
||||
DeleteRouterInterfaceResponse |
deleteRouterInterface(DeleteRouterInterfaceRequest request)
已过时。
OpenAPI DeleteRouterInterface is deprecated
|
||||
DeleteRouterInterfaceResponse |
deleteRouterInterfaceWithOptions(DeleteRouterInterfaceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteRouterInterface is deprecated
|
||||
DeleteSecurityGroupResponse |
deleteSecurityGroup(DeleteSecurityGroupRequest request)
|
||||
DeleteSecurityGroupResponse |
deleteSecurityGroupWithOptions(DeleteSecurityGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DeleteSnapshotResponse |
deleteSnapshot(DeleteSnapshotRequest request)
description :
Take note of the following items:
If the snapshot does not exist, the request is ignored.
|
||||
DeleteSnapshotGroupResponse |
deleteSnapshotGroup(DeleteSnapshotGroupRequest request)
description :
If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted.
|
||||
DeleteSnapshotGroupResponse |
deleteSnapshotGroupWithOptions(DeleteSnapshotGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted.
|
||||
DeleteSnapshotResponse |
deleteSnapshotWithOptions(DeleteSnapshotRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
If the snapshot does not exist, the request is ignored.
|
||||
DeleteStorageSetResponse |
deleteStorageSet(DeleteStorageSetRequest request)
summary :
(Beta) Deletes an empty storage set.
|
||||
DeleteStorageSetResponse |
deleteStorageSetWithOptions(DeleteStorageSetRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
(Beta) Deletes an empty storage set.
|
||||
DeleteVirtualBorderRouterResponse |
deleteVirtualBorderRouter(DeleteVirtualBorderRouterRequest request)
已过时。
OpenAPI DeleteVirtualBorderRouter is deprecated
|
||||
DeleteVirtualBorderRouterResponse |
deleteVirtualBorderRouterWithOptions(DeleteVirtualBorderRouterRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteVirtualBorderRouter is deprecated
|
||||
DeleteVpcResponse |
deleteVpc(DeleteVpcRequest request)
已过时。
OpenAPI DeleteVpc is deprecated, please use Vpc::2016-04-28::DeleteVpc instead.
|
||||
DeleteVpcResponse |
deleteVpcWithOptions(DeleteVpcRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteVpc is deprecated, please use Vpc::2016-04-28::DeleteVpc instead.
|
||||
DeleteVSwitchResponse |
deleteVSwitch(DeleteVSwitchRequest request)
已过时。
OpenAPI DeleteVSwitch is deprecated
|
||||
DeleteVSwitchResponse |
deleteVSwitchWithOptions(DeleteVSwitchRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DeleteVSwitch is deprecated
|
||||
DeregisterManagedInstanceResponse |
deregisterManagedInstance(DeregisterManagedInstanceRequest request)
summary :
Deregisters a managed instance.
|
||||
DeregisterManagedInstanceResponse |
deregisterManagedInstanceWithOptions(DeregisterManagedInstanceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Deregisters a managed instance.
|
||||
DescribeAccessPointsResponse |
describeAccessPoints(DescribeAccessPointsRequest request)
已过时。
OpenAPI DescribeAccessPoints is deprecated
|
||||
DescribeAccessPointsResponse |
describeAccessPointsWithOptions(DescribeAccessPointsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeAccessPoints is deprecated
|
||||
DescribeAccountAttributesResponse |
describeAccountAttributes(DescribeAccountAttributesRequest request)
description :
After you create an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account.
|
||||
DescribeAccountAttributesResponse |
describeAccountAttributesWithOptions(DescribeAccountAttributesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
After you create an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account.
|
||||
DescribeActivationsResponse |
describeActivations(DescribeActivationsRequest request)
description :
You can use one of the following methods to check the responses:
Method 1: When you call the DescribeActivations operation to retrieve the first page of results during a paged query, use MaxResults to specify the maximum number of entries to return in the call.
|
||||
DescribeActivationsResponse |
describeActivationsWithOptions(DescribeActivationsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can use one of the following methods to check the responses:
Method 1: When you call the DescribeActivations operation to retrieve the first page of results during a paged query, use MaxResults to specify the maximum number of entries to return in the call.
|
||||
DescribeAutoProvisioningGroupHistoryResponse |
describeAutoProvisioningGroupHistory(DescribeAutoProvisioningGroupHistoryRequest request)
summary :
Queries the scheduling tasks of an auto provisioning group.
|
||||
DescribeAutoProvisioningGroupHistoryResponse |
describeAutoProvisioningGroupHistoryWithOptions(DescribeAutoProvisioningGroupHistoryRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the scheduling tasks of an auto provisioning group.
|
||||
DescribeAutoProvisioningGroupInstancesResponse |
describeAutoProvisioningGroupInstances(DescribeAutoProvisioningGroupInstancesRequest request)
summary :
You can call this operation to query instances in an auto provisioning group.
|
||||
DescribeAutoProvisioningGroupInstancesResponse |
describeAutoProvisioningGroupInstancesWithOptions(DescribeAutoProvisioningGroupInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
You can call this operation to query instances in an auto provisioning group.
|
||||
DescribeAutoProvisioningGroupsResponse |
describeAutoProvisioningGroups(DescribeAutoProvisioningGroupsRequest request)
summary :
Queries information of auto provisioning groups.
|
||||
DescribeAutoProvisioningGroupsResponse |
describeAutoProvisioningGroupsWithOptions(DescribeAutoProvisioningGroupsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries information of auto provisioning groups.
|
||||
DescribeAutoSnapshotPolicyExResponse |
describeAutoSnapshotPolicyEx(DescribeAutoSnapshotPolicyExRequest request)
summary :
Queries existing automatic snapshot policies in a region.
|
||||
DescribeAutoSnapshotPolicyExResponse |
describeAutoSnapshotPolicyExWithOptions(DescribeAutoSnapshotPolicyExRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries existing automatic snapshot policies in a region.
|
||||
DescribeAvailableResourceResponse |
describeAvailableResource(DescribeAvailableResourceRequest request)
|
||||
DescribeAvailableResourceResponse |
describeAvailableResourceWithOptions(DescribeAvailableResourceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeBandwidthLimitationResponse |
describeBandwidthLimitation(DescribeBandwidthLimitationRequest request)
summary :
Queries the maximum public bandwidth that can be purchased, upgraded, or downgraded for various Elastic Compute Service (ECS) instance types.
|
||||
DescribeBandwidthLimitationResponse |
describeBandwidthLimitationWithOptions(DescribeBandwidthLimitationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the maximum public bandwidth that can be purchased, upgraded, or downgraded for various Elastic Compute Service (ECS) instance types.
|
||||
DescribeBandwidthPackagesResponse |
describeBandwidthPackages(DescribeBandwidthPackagesRequest request)
已过时。
OpenAPI DescribeBandwidthPackages is deprecated
|
||||
DescribeBandwidthPackagesResponse |
describeBandwidthPackagesWithOptions(DescribeBandwidthPackagesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeBandwidthPackages is deprecated
|
||||
DescribeCapacityReservationInstancesResponse |
describeCapacityReservationInstances(DescribeCapacityReservationInstancesRequest request)
summary :
The region ID of the capacity reservation.
|
||||
DescribeCapacityReservationInstancesResponse |
describeCapacityReservationInstancesWithOptions(DescribeCapacityReservationInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
The region ID of the capacity reservation.
|
||||
DescribeCapacityReservationsResponse |
describeCapacityReservations(DescribeCapacityReservationsRequest request)
summary :
Queries the details of capacity reservations.
|
||||
DescribeCapacityReservationsResponse |
describeCapacityReservationsWithOptions(DescribeCapacityReservationsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the details of capacity reservations.
|
||||
DescribeClassicLinkInstancesResponse |
describeClassicLinkInstances(DescribeClassicLinkInstancesRequest request)
description :
Take note of the following items:
This operation applies only to instances that reside in the classic network.
|
||||
DescribeClassicLinkInstancesResponse |
describeClassicLinkInstancesWithOptions(DescribeClassicLinkInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
This operation applies only to instances that reside in the classic network.
|
||||
DescribeCloudAssistantSettingsResponse |
describeCloudAssistantSettings(DescribeCloudAssistantSettingsRequest request)
summary :
Queries the configurations of Cloud Assistant features.
|
||||
DescribeCloudAssistantSettingsResponse |
describeCloudAssistantSettingsWithOptions(DescribeCloudAssistantSettingsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the configurations of Cloud Assistant features.
|
||||
DescribeCloudAssistantStatusResponse |
describeCloudAssistantStatus(DescribeCloudAssistantStatusRequest request)
|
||||
DescribeCloudAssistantStatusResponse |
describeCloudAssistantStatusWithOptions(DescribeCloudAssistantStatusRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeClustersResponse |
describeClusters(DescribeClustersRequest request)
已过时。
OpenAPI DescribeClusters is deprecated
|
||||
DescribeClustersResponse |
describeClustersWithOptions(DescribeClustersRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeClusters is deprecated
|
||||
DescribeCommandsResponse |
describeCommands(DescribeCommandsRequest request)
|
||||
DescribeCommandsResponse |
describeCommandsWithOptions(DescribeCommandsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeDedicatedHostAutoRenewResponse |
describeDedicatedHostAutoRenew(DescribeDedicatedHostAutoRenewRequest request)
summary :
Queries the auto-renewal status of subscription dedicated hosts.
|
||||
DescribeDedicatedHostAutoRenewResponse |
describeDedicatedHostAutoRenewWithOptions(DescribeDedicatedHostAutoRenewRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the auto-renewal status of subscription dedicated hosts.
|
||||
DescribeDedicatedHostClustersResponse |
describeDedicatedHostClusters(DescribeDedicatedHostClustersRequest request)
|
||||
DescribeDedicatedHostClustersResponse |
describeDedicatedHostClustersWithOptions(DescribeDedicatedHostClustersRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeDedicatedHostsResponse |
describeDedicatedHosts(DescribeDedicatedHostsRequest request)
|
||||
DescribeDedicatedHostsResponse |
describeDedicatedHostsWithOptions(DescribeDedicatedHostsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeDedicatedHostTypesResponse |
describeDedicatedHostTypes(DescribeDedicatedHostTypesRequest request)
summary :
Queries the details of dedicated host types supported in a region, or the Elastic Compute Service (ECS) instance families supported by a specific dedicated host type.
|
||||
DescribeDedicatedHostTypesResponse |
describeDedicatedHostTypesWithOptions(DescribeDedicatedHostTypesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the details of dedicated host types supported in a region, or the Elastic Compute Service (ECS) instance families supported by a specific dedicated host type.
|
||||
DescribeDemandsResponse |
describeDemands(DescribeDemandsRequest request)
已过时。
OpenAPI DescribeDemands is deprecated, please use Ecs::2014-05-26::DescribeCapacityReservations instead.
|
||||
DescribeDemandsResponse |
describeDemandsWithOptions(DescribeDemandsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeDemands is deprecated, please use Ecs::2014-05-26::DescribeCapacityReservations instead.
|
||||
DescribeDeploymentSetsResponse |
describeDeploymentSets(DescribeDeploymentSetsRequest request)
summary :
Queries the details of one or more deployment sets.
|
||||
DescribeDeploymentSetSupportedInstanceTypeFamilyResponse |
describeDeploymentSetSupportedInstanceTypeFamily(DescribeDeploymentSetSupportedInstanceTypeFamilyRequest request)
description :
Usage notes
For information about instance families, see Overview of instance families.
|
||||
DescribeDeploymentSetSupportedInstanceTypeFamilyResponse |
describeDeploymentSetSupportedInstanceTypeFamilyWithOptions(DescribeDeploymentSetSupportedInstanceTypeFamilyRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
For information about instance families, see Overview of instance families.
|
||||
DescribeDeploymentSetsResponse |
describeDeploymentSetsWithOptions(DescribeDeploymentSetsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the details of one or more deployment sets.
|
||||
DescribeDiagnosticMetricsResponse |
describeDiagnosticMetrics(DescribeDiagnosticMetricsRequest request)
summary :
The operation that you want to perform.
|
||||
DescribeDiagnosticMetricSetsResponse |
describeDiagnosticMetricSets(DescribeDiagnosticMetricSetsRequest request)
summary :
Queries diagnostic metric sets.
|
||||
DescribeDiagnosticMetricSetsResponse |
describeDiagnosticMetricSetsWithOptions(DescribeDiagnosticMetricSetsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries diagnostic metric sets.
|
||||
DescribeDiagnosticMetricsResponse |
describeDiagnosticMetricsWithOptions(DescribeDiagnosticMetricsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
The operation that you want to perform.
|
||||
DescribeDiagnosticReportAttributesResponse |
describeDiagnosticReportAttributes(DescribeDiagnosticReportAttributesRequest request)
summary :
Queries the details of a diagnostic report.
|
||||
DescribeDiagnosticReportAttributesResponse |
describeDiagnosticReportAttributesWithOptions(DescribeDiagnosticReportAttributesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the details of a diagnostic report.
|
||||
DescribeDiagnosticReportsResponse |
describeDiagnosticReports(DescribeDiagnosticReportsRequest request)
summary :
Queries diagnostic reports.
|
||||
DescribeDiagnosticReportsResponse |
describeDiagnosticReportsWithOptions(DescribeDiagnosticReportsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries diagnostic reports.
|
||||
DescribeDiskDefaultKMSKeyIdResponse |
describeDiskDefaultKMSKeyId(DescribeDiskDefaultKMSKeyIdRequest request)
summary :
Queries the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
||||
DescribeDiskDefaultKMSKeyIdResponse |
describeDiskDefaultKMSKeyIdWithOptions(DescribeDiskDefaultKMSKeyIdRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
||||
DescribeDiskEncryptionByDefaultStatusResponse |
describeDiskEncryptionByDefaultStatus(DescribeDiskEncryptionByDefaultStatusRequest request)
summary :
Queries whether account-level default encryption of Elastic Block Storage (EBS) resources is enabled in a region.
|
||||
DescribeDiskEncryptionByDefaultStatusResponse |
describeDiskEncryptionByDefaultStatusWithOptions(DescribeDiskEncryptionByDefaultStatusRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries whether account-level default encryption of Elastic Block Storage (EBS) resources is enabled in a region.
|
||||
DescribeDiskMonitorDataResponse |
describeDiskMonitorData(DescribeDiskMonitorDataRequest request)
|
||||
DescribeDiskMonitorDataResponse |
describeDiskMonitorDataWithOptions(DescribeDiskMonitorDataRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeDisksResponse |
describeDisks(DescribeDisksRequest request)
|
||||
DescribeDisksFullStatusResponse |
describeDisksFullStatus(DescribeDisksFullStatusRequest request)
description :
The full status information about an EBS device includes the lifecycle status specified by the
Status parameter, health status specified by the HealthStatus parameter, and event type specified by the EventType parameter of the EBS device. |
||||
DescribeDisksFullStatusResponse |
describeDisksFullStatusWithOptions(DescribeDisksFullStatusRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
The full status information about an EBS device includes the lifecycle status specified by the
Status parameter, health status specified by the HealthStatus parameter, and event type specified by the EventType parameter of the EBS device. |
||||
DescribeDisksResponse |
describeDisksWithOptions(DescribeDisksRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeEipAddressesResponse |
describeEipAddresses(DescribeEipAddressesRequest request)
已过时。
OpenAPI DescribeEipAddresses is deprecated, please use Vpc::2016-04-28::DescribeEipAddresses instead.
|
||||
DescribeEipAddressesResponse |
describeEipAddressesWithOptions(DescribeEipAddressesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeEipAddresses is deprecated, please use Vpc::2016-04-28::DescribeEipAddresses instead.
|
||||
DescribeEipMonitorDataResponse |
describeEipMonitorData(DescribeEipMonitorDataRequest request)
已过时。
OpenAPI DescribeEipMonitorData is deprecated
|
||||
DescribeEipMonitorDataResponse |
describeEipMonitorDataWithOptions(DescribeEipMonitorDataRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeEipMonitorData is deprecated
|
||||
DescribeElasticityAssuranceInstancesResponse |
describeElasticityAssuranceInstances(DescribeElasticityAssuranceInstancesRequest request)
description :
When an elasticity assurance expires, data about the association between the instances and the private pool generated by the elasticity assurance becomes invalid.
|
||||
DescribeElasticityAssuranceInstancesResponse |
describeElasticityAssuranceInstancesWithOptions(DescribeElasticityAssuranceInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When an elasticity assurance expires, data about the association between the instances and the private pool generated by the elasticity assurance becomes invalid.
|
||||
DescribeElasticityAssurancesResponse |
describeElasticityAssurances(DescribeElasticityAssurancesRequest request)
summary :
Queries the details of elasticity assurances.
|
||||
DescribeElasticityAssurancesResponse |
describeElasticityAssurancesWithOptions(DescribeElasticityAssurancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the details of elasticity assurances.
|
||||
DescribeEniMonitorDataResponse |
describeEniMonitorData(DescribeEniMonitorDataRequest request)
|
||||
DescribeEniMonitorDataResponse |
describeEniMonitorDataWithOptions(DescribeEniMonitorDataRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeForwardTableEntriesResponse |
describeForwardTableEntries(DescribeForwardTableEntriesRequest request)
已过时。
OpenAPI DescribeForwardTableEntries is deprecated
|
||||
DescribeForwardTableEntriesResponse |
describeForwardTableEntriesWithOptions(DescribeForwardTableEntriesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeForwardTableEntries is deprecated
|
||||
DescribeHaVipsResponse |
describeHaVips(DescribeHaVipsRequest request)
已过时。
OpenAPI DescribeHaVips is deprecated
|
||||
DescribeHaVipsResponse |
describeHaVipsWithOptions(DescribeHaVipsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeHaVips is deprecated
|
||||
DescribeHpcClustersResponse |
describeHpcClusters(DescribeHpcClustersRequest request)
summary :
The client token that is used to ensure the idempotence of the request.
|
||||
DescribeHpcClustersResponse |
describeHpcClustersWithOptions(DescribeHpcClustersRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
The client token that is used to ensure the idempotence of the request.
|
||||
DescribeImageComponentsResponse |
describeImageComponents(DescribeImageComponentsRequest request)
description :
You can use
NextToken to configure the query token. |
||||
DescribeImageComponentsResponse |
describeImageComponentsWithOptions(DescribeImageComponentsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can use
NextToken to configure the query token. |
||||
DescribeImageFromFamilyResponse |
describeImageFromFamily(DescribeImageFromFamilyRequest request)
description :
Description
This API operation only returns the available custom images that are newly created in the specified image family.
|
||||
DescribeImageFromFamilyResponse |
describeImageFromFamilyWithOptions(DescribeImageFromFamilyRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Description
This API operation only returns the available custom images that are newly created in the specified image family.
|
||||
DescribeImagePipelineExecutionsResponse |
describeImagePipelineExecutions(DescribeImagePipelineExecutionsRequest request)
description :
The image template that is specified by the
ImagePipelineId parameter cannot be a deleted image template. |
||||
DescribeImagePipelineExecutionsResponse |
describeImagePipelineExecutionsWithOptions(DescribeImagePipelineExecutionsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
The image template that is specified by the
ImagePipelineId parameter cannot be a deleted image template. |
||||
DescribeImagePipelinesResponse |
describeImagePipelines(DescribeImagePipelinesRequest request)
description :
You can use
NextToken to configure the query token. |
||||
DescribeImagePipelinesResponse |
describeImagePipelinesWithOptions(DescribeImagePipelinesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can use
NextToken to configure the query token. |
||||
DescribeImagesResponse |
describeImages(DescribeImagesRequest request)
|
||||
DescribeImageSharePermissionResponse |
describeImageSharePermission(DescribeImageSharePermissionRequest request)
summary :
Queries the accounts with which a custom image is shared.
|
||||
DescribeImageSharePermissionResponse |
describeImageSharePermissionWithOptions(DescribeImageSharePermissionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the accounts with which a custom image is shared.
|
||||
DescribeImageSupportInstanceTypesResponse |
describeImageSupportInstanceTypes(DescribeImageSupportInstanceTypesRequest request)
summary :
Queries the instance types supported by an image.
|
||||
DescribeImageSupportInstanceTypesResponse |
describeImageSupportInstanceTypesWithOptions(DescribeImageSupportInstanceTypesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the instance types supported by an image.
|
||||
DescribeImagesResponse |
describeImagesWithOptions(DescribeImagesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeInstanceAttachmentAttributesResponse |
describeInstanceAttachmentAttributes(DescribeInstanceAttachmentAttributesRequest request)
description :
A private pool is generated after an elasticity assurance or a capacity reservation is created.
|
||||
DescribeInstanceAttachmentAttributesResponse |
describeInstanceAttachmentAttributesWithOptions(DescribeInstanceAttachmentAttributesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
A private pool is generated after an elasticity assurance or a capacity reservation is created.
|
||||
DescribeInstanceAttributeResponse |
describeInstanceAttribute(DescribeInstanceAttributeRequest request)
summary :
Queries the details of an instance by instance ID.
|
||||
DescribeInstanceAttributeResponse |
describeInstanceAttributeWithOptions(DescribeInstanceAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the details of an instance by instance ID.
|
||||
DescribeInstanceAutoRenewAttributeResponse |
describeInstanceAutoRenewAttribute(DescribeInstanceAutoRenewAttributeRequest request)
description :
Before you configure auto-renewal or manual renewal for subscription instances, you can query the auto-renewal status of the instances.
|
||||
DescribeInstanceAutoRenewAttributeResponse |
describeInstanceAutoRenewAttributeWithOptions(DescribeInstanceAutoRenewAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you configure auto-renewal or manual renewal for subscription instances, you can query the auto-renewal status of the instances.
|
||||
DescribeInstanceHistoryEventsResponse |
describeInstanceHistoryEvents(DescribeInstanceHistoryEventsRequest request)
description :
You can query system events that were completed within the last 30 days.
|
||||
DescribeInstanceHistoryEventsResponse |
describeInstanceHistoryEventsWithOptions(DescribeInstanceHistoryEventsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can query system events that were completed within the last 30 days.
|
||||
DescribeInstanceMaintenanceAttributesResponse |
describeInstanceMaintenanceAttributes(DescribeInstanceMaintenanceAttributesRequest request)
description :
This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
Maintenance window: the time period that you specify for maintenance.
|
||||
DescribeInstanceMaintenanceAttributesResponse |
describeInstanceMaintenanceAttributesWithOptions(DescribeInstanceMaintenanceAttributesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
Maintenance window: the time period that you specify for maintenance.
|
||||
DescribeInstanceModificationPriceResponse |
describeInstanceModificationPrice(DescribeInstanceModificationPriceRequest request)
description :
Pricing information can be queried for unexpired subscription ECS instances only when you upgrade their configurations.
|
||||
DescribeInstanceModificationPriceResponse |
describeInstanceModificationPriceWithOptions(DescribeInstanceModificationPriceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Pricing information can be queried for unexpired subscription ECS instances only when you upgrade their configurations.
|
||||
DescribeInstanceMonitorDataResponse |
describeInstanceMonitorData(DescribeInstanceMonitorDataRequest request)
|
||||
DescribeInstanceMonitorDataResponse |
describeInstanceMonitorDataWithOptions(DescribeInstanceMonitorDataRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeInstanceRamRoleResponse |
describeInstanceRamRole(DescribeInstanceRamRoleRequest request)
description :
Description
When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats.
|
||||
DescribeInstanceRamRoleResponse |
describeInstanceRamRoleWithOptions(DescribeInstanceRamRoleRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Description
When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats.
|
||||
DescribeInstancesResponse |
describeInstances(DescribeInstancesRequest request)
|
||||
DescribeInstancesFullStatusResponse |
describeInstancesFullStatus(DescribeInstancesFullStatusRequest request)
|
||||
DescribeInstancesFullStatusResponse |
describeInstancesFullStatusWithOptions(DescribeInstancesFullStatusRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeInstanceStatusResponse |
describeInstanceStatus(DescribeInstanceStatusRequest request)
description :
For information about the lifecycle states of an ECS instance, see Instance states.
|
||||
DescribeInstanceStatusResponse |
describeInstanceStatusWithOptions(DescribeInstanceStatusRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
For information about the lifecycle states of an ECS instance, see Instance states.
|
||||
DescribeInstancesResponse |
describeInstancesWithOptions(DescribeInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeInstanceTopologyResponse |
describeInstanceTopology(DescribeInstanceTopologyRequest request)
summary :
Queries the topology of the host on which an Elastic Compute Service (ECS) instance resides.
|
||||
DescribeInstanceTopologyResponse |
describeInstanceTopologyWithOptions(DescribeInstanceTopologyRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the topology of the host on which an Elastic Compute Service (ECS) instance resides.
|
||||
DescribeInstanceTypeFamiliesResponse |
describeInstanceTypeFamilies(DescribeInstanceTypeFamiliesRequest request)
summary :
Queries instance families provided by Elastic Compute Service (ECS).
|
||||
DescribeInstanceTypeFamiliesResponse |
describeInstanceTypeFamiliesWithOptions(DescribeInstanceTypeFamiliesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries instance families provided by Elastic Compute Service (ECS).
|
||||
DescribeInstanceTypesResponse |
describeInstanceTypes(DescribeInstanceTypesRequest request)
|
||||
DescribeInstanceTypesResponse |
describeInstanceTypesWithOptions(DescribeInstanceTypesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeInstanceVncUrlResponse |
describeInstanceVncUrl(DescribeInstanceVncUrlRequest request)
|
||||
DescribeInstanceVncUrlResponse |
describeInstanceVncUrlWithOptions(DescribeInstanceVncUrlRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeInvocationResultsResponse |
describeInvocationResults(DescribeInvocationResultsRequest request)
|
||||
DescribeInvocationResultsResponse |
describeInvocationResultsWithOptions(DescribeInvocationResultsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeInvocationsResponse |
describeInvocations(DescribeInvocationsRequest request)
|
||||
DescribeInvocationsResponse |
describeInvocationsWithOptions(DescribeInvocationsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeKeyPairsResponse |
describeKeyPairs(DescribeKeyPairsRequest request)
summary :
Queries one or more key pairs.
|
||||
DescribeKeyPairsResponse |
describeKeyPairsWithOptions(DescribeKeyPairsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries one or more key pairs.
|
||||
DescribeLaunchTemplatesResponse |
describeLaunchTemplates(DescribeLaunchTemplatesRequest request)
summary :
Queries the information of one or more launch templates, such as the total number of launch templates, the creation time of each launch template, and the latest version number of each launch template.
|
||||
DescribeLaunchTemplatesResponse |
describeLaunchTemplatesWithOptions(DescribeLaunchTemplatesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the information of one or more launch templates, such as the total number of launch templates, the creation time of each launch template, and the latest version number of each launch template.
|
||||
DescribeLaunchTemplateVersionsResponse |
describeLaunchTemplateVersions(DescribeLaunchTemplateVersionsRequest request)
description :
Debugging
OpenAPI Explorer automatically calculates the signature value.
|
||||
DescribeLaunchTemplateVersionsResponse |
describeLaunchTemplateVersionsWithOptions(DescribeLaunchTemplateVersionsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Debugging
OpenAPI Explorer automatically calculates the signature value.
|
||||
DescribeLimitationResponse |
describeLimitation(DescribeLimitationRequest request)
已过时。
OpenAPI DescribeLimitation is deprecated
|
||||
DescribeLimitationResponse |
describeLimitationWithOptions(DescribeLimitationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeLimitation is deprecated
|
||||
DescribeManagedInstancesResponse |
describeManagedInstances(DescribeManagedInstancesRequest request)
|
||||
DescribeManagedInstancesResponse |
describeManagedInstancesWithOptions(DescribeManagedInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeNatGatewaysResponse |
describeNatGateways(DescribeNatGatewaysRequest request)
已过时。
OpenAPI DescribeNatGateways is deprecated
|
||||
DescribeNatGatewaysResponse |
describeNatGatewaysWithOptions(DescribeNatGatewaysRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeNatGateways is deprecated
|
||||
DescribeNetworkInterfaceAttributeResponse |
describeNetworkInterfaceAttribute(DescribeNetworkInterfaceAttributeRequest request)
description :
Debugging
OpenAPI Explorer automatically calculates the signature value.
|
||||
DescribeNetworkInterfaceAttributeResponse |
describeNetworkInterfaceAttributeWithOptions(DescribeNetworkInterfaceAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Debugging
OpenAPI Explorer automatically calculates the signature value.
|
||||
DescribeNetworkInterfacePermissionsResponse |
describeNetworkInterfacePermissions(DescribeNetworkInterfacePermissionsRequest request)
summary :
Queries the permissions on elastic network interfaces (ENIs) that are granted to an Alibaba Cloud partner (certified ISV) or an individual user.
|
||||
DescribeNetworkInterfacePermissionsResponse |
describeNetworkInterfacePermissionsWithOptions(DescribeNetworkInterfacePermissionsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the permissions on elastic network interfaces (ENIs) that are granted to an Alibaba Cloud partner (certified ISV) or an individual user.
|
||||
DescribeNetworkInterfacesResponse |
describeNetworkInterfaces(DescribeNetworkInterfacesRequest request)
|
||||
DescribeNetworkInterfacesResponse |
describeNetworkInterfacesWithOptions(DescribeNetworkInterfacesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeNewProjectEipMonitorDataResponse |
describeNewProjectEipMonitorData(DescribeNewProjectEipMonitorDataRequest request)
已过时。
OpenAPI DescribeNewProjectEipMonitorData is deprecated
|
||||
DescribeNewProjectEipMonitorDataResponse |
describeNewProjectEipMonitorDataWithOptions(DescribeNewProjectEipMonitorDataRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeNewProjectEipMonitorData is deprecated
|
||||
DescribePhysicalConnectionsResponse |
describePhysicalConnections(DescribePhysicalConnectionsRequest request)
已过时。
OpenAPI DescribePhysicalConnections is deprecated
|
||||
DescribePhysicalConnectionsResponse |
describePhysicalConnectionsWithOptions(DescribePhysicalConnectionsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribePhysicalConnections is deprecated
|
||||
DescribePrefixListAssociationsResponse |
describePrefixListAssociations(DescribePrefixListAssociationsRequest request)
summary :
The region ID of the prefix list.
|
||||
DescribePrefixListAssociationsResponse |
describePrefixListAssociationsWithOptions(DescribePrefixListAssociationsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
The region ID of the prefix list.
|
||||
DescribePrefixListAttributesResponse |
describePrefixListAttributes(DescribePrefixListAttributesRequest request)
summary :
The operation that you want to perform.
|
||||
DescribePrefixListAttributesResponse |
describePrefixListAttributesWithOptions(DescribePrefixListAttributesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
The operation that you want to perform.
|
||||
DescribePrefixListsResponse |
describePrefixLists(DescribePrefixListsRequest request)
description :
Description
You can specify the
AddressFamily , PrefixListId.N , and PrefixListName request parameters to be queried. |
||||
DescribePrefixListsResponse |
describePrefixListsWithOptions(DescribePrefixListsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Description
You can specify the
AddressFamily , PrefixListId.N , and PrefixListName request parameters to be queried. |
||||
DescribePriceResponse |
describePrice(DescribePriceRequest request)
|
||||
DescribePriceResponse |
describePriceWithOptions(DescribePriceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeRecommendInstanceTypeResponse |
describeRecommendInstanceType(DescribeRecommendInstanceTypeRequest request)
summary :
Queries alternative instance types of an instance type.
|
||||
DescribeRecommendInstanceTypeResponse |
describeRecommendInstanceTypeWithOptions(DescribeRecommendInstanceTypeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries alternative instance types of an instance type.
|
||||
DescribeRegionsResponse |
describeRegions(DescribeRegionsRequest request)
description :
summary :
Queries available Alibaba Cloud regions.
|
||||
DescribeRegionsResponse |
describeRegionsWithOptions(DescribeRegionsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
summary :
Queries available Alibaba Cloud regions.
|
||||
DescribeRenewalPriceResponse |
describeRenewalPrice(DescribeRenewalPriceRequest request)
description :
You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
||||
DescribeRenewalPriceResponse |
describeRenewalPriceWithOptions(DescribeRenewalPriceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
||||
DescribeReservedInstanceAutoRenewAttributeResponse |
describeReservedInstanceAutoRenewAttribute(DescribeReservedInstanceAutoRenewAttributeRequest request)
summary :
Queries the auto-renewal status of one or more subscription reserved instances.
|
||||
DescribeReservedInstanceAutoRenewAttributeResponse |
describeReservedInstanceAutoRenewAttributeWithOptions(DescribeReservedInstanceAutoRenewAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the auto-renewal status of one or more subscription reserved instances.
|
||||
DescribeReservedInstancesResponse |
describeReservedInstances(DescribeReservedInstancesRequest request)
summary :
Queries purchased reserved instances.
|
||||
DescribeReservedInstancesResponse |
describeReservedInstancesWithOptions(DescribeReservedInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries purchased reserved instances.
|
||||
DescribeResourceByTagsResponse |
describeResourceByTags(DescribeResourceByTagsRequest request)
summary :
Queries resources by tag or resource type.
|
||||
DescribeResourceByTagsResponse |
describeResourceByTagsWithOptions(DescribeResourceByTagsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries resources by tag or resource type.
|
||||
DescribeResourcesModificationResponse |
describeResourcesModification(DescribeResourcesModificationRequest request)
description :
Debugging
OpenAPI Explorer automatically calculates the signature value.
|
||||
DescribeResourcesModificationResponse |
describeResourcesModificationWithOptions(DescribeResourcesModificationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Debugging
OpenAPI Explorer automatically calculates the signature value.
|
||||
DescribeRouterInterfacesResponse |
describeRouterInterfaces(DescribeRouterInterfacesRequest request)
已过时。
OpenAPI DescribeRouterInterfaces is deprecated
|
||||
DescribeRouterInterfacesResponse |
describeRouterInterfacesWithOptions(DescribeRouterInterfacesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeRouterInterfaces is deprecated
|
||||
DescribeRouteTablesResponse |
describeRouteTables(DescribeRouteTablesRequest request)
已过时。
OpenAPI DescribeRouteTables is deprecated
|
||||
DescribeRouteTablesResponse |
describeRouteTablesWithOptions(DescribeRouteTablesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeRouteTables is deprecated
|
||||
DescribeSavingsPlanEstimationResponse |
describeSavingsPlanEstimation(DescribeSavingsPlanEstimationRequest request)
summary :
节省计划测算
|
||||
DescribeSavingsPlanEstimationResponse |
describeSavingsPlanEstimationWithOptions(DescribeSavingsPlanEstimationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
节省计划测算
|
||||
DescribeSavingsPlanPriceResponse |
describeSavingsPlanPrice(DescribeSavingsPlanPriceRequest request)
summary :
询价购买节省计划并预付费换购按量付费
|
||||
DescribeSavingsPlanPriceResponse |
describeSavingsPlanPriceWithOptions(DescribeSavingsPlanPriceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
询价购买节省计划并预付费换购按量付费
|
||||
DescribeSecurityGroupAttributeResponse |
describeSecurityGroupAttribute(DescribeSecurityGroupAttributeRequest request)
summary :
Queries the rules of a security group.
|
||||
DescribeSecurityGroupAttributeResponse |
describeSecurityGroupAttributeWithOptions(DescribeSecurityGroupAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the rules of a security group.
|
||||
DescribeSecurityGroupReferencesResponse |
describeSecurityGroupReferences(DescribeSecurityGroupReferencesRequest request)
description :
When you call this operation, take note of the following items:
A security group can be referenced by the inbound or outbound rules of other security groups.
|
||||
DescribeSecurityGroupReferencesResponse |
describeSecurityGroupReferencesWithOptions(DescribeSecurityGroupReferencesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, take note of the following items:
A security group can be referenced by the inbound or outbound rules of other security groups.
|
||||
DescribeSecurityGroupsResponse |
describeSecurityGroups(DescribeSecurityGroupsRequest request)
|
||||
DescribeSecurityGroupsResponse |
describeSecurityGroupsWithOptions(DescribeSecurityGroupsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeSendFileResultsResponse |
describeSendFileResults(DescribeSendFileResultsRequest request)
|
||||
DescribeSendFileResultsResponse |
describeSendFileResultsWithOptions(DescribeSendFileResultsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeSnapshotGroupsResponse |
describeSnapshotGroups(DescribeSnapshotGroupsRequest request)
description :
You can specify multiple request parameters to be queried, such as
InstanceId , SnapshotGroupId.N , and Status.N . |
||||
DescribeSnapshotGroupsResponse |
describeSnapshotGroupsWithOptions(DescribeSnapshotGroupsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can specify multiple request parameters to be queried, such as
InstanceId , SnapshotGroupId.N , and Status.N . |
||||
DescribeSnapshotLinksResponse |
describeSnapshotLinks(DescribeSnapshotLinksRequest request)
|
||||
DescribeSnapshotLinksResponse |
describeSnapshotLinksWithOptions(DescribeSnapshotLinksRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeSnapshotMonitorDataResponse |
describeSnapshotMonitorData(DescribeSnapshotMonitorDataRequest request)
|
||||
DescribeSnapshotMonitorDataResponse |
describeSnapshotMonitorDataWithOptions(DescribeSnapshotMonitorDataRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeSnapshotPackageResponse |
describeSnapshotPackage(DescribeSnapshotPackageRequest request)
summary :
The number of the page to return.
|
||||
DescribeSnapshotPackageResponse |
describeSnapshotPackageWithOptions(DescribeSnapshotPackageRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
The number of the page to return.
|
||||
DescribeSnapshotsResponse |
describeSnapshots(DescribeSnapshotsRequest request)
description :
You can configure multiple request parameters such as
InstanceId , DiskId , and SnapshotIds to query snapshots. |
||||
DescribeSnapshotsUsageResponse |
describeSnapshotsUsage(DescribeSnapshotsUsageRequest request)
description :
Usage notes
If you want to view the snapshot usage of each disk in the current region, we recommend that you call the DescribeSnapshotLinks operation to query snapshot chain information.
|
||||
DescribeSnapshotsUsageResponse |
describeSnapshotsUsageWithOptions(DescribeSnapshotsUsageRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
If you want to view the snapshot usage of each disk in the current region, we recommend that you call the DescribeSnapshotLinks operation to query snapshot chain information.
|
||||
DescribeSnapshotsResponse |
describeSnapshotsWithOptions(DescribeSnapshotsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can configure multiple request parameters such as
InstanceId , DiskId , and SnapshotIds to query snapshots. |
||||
DescribeSpotAdviceResponse |
describeSpotAdvice(DescribeSpotAdviceRequest request)
|
||||
DescribeSpotAdviceResponse |
describeSpotAdviceWithOptions(DescribeSpotAdviceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
DescribeSpotPriceHistoryResponse |
describeSpotPriceHistory(DescribeSpotPriceHistoryRequest request)
summary :
Queries the price history of a preemptible instance within the previous 30 days.
|
||||
DescribeSpotPriceHistoryResponse |
describeSpotPriceHistoryWithOptions(DescribeSpotPriceHistoryRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the price history of a preemptible instance within the previous 30 days.
|
||||
DescribeStorageCapacityUnitsResponse |
describeStorageCapacityUnits(DescribeStorageCapacityUnitsRequest request)
summary :
Queries the details of one or more SCUs.
|
||||
DescribeStorageCapacityUnitsResponse |
describeStorageCapacityUnitsWithOptions(DescribeStorageCapacityUnitsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the details of one or more SCUs.
|
||||
DescribeStorageSetDetailsResponse |
describeStorageSetDetails(DescribeStorageSetDetailsRequest request)
summary :
Queries the details of the disks or Shared Block Storage devices in a storage set.
|
||||
DescribeStorageSetDetailsResponse |
describeStorageSetDetailsWithOptions(DescribeStorageSetDetailsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Queries the details of the disks or Shared Block Storage devices in a storage set.
|
||||
DescribeStorageSetsResponse |
describeStorageSets(DescribeStorageSetsRequest request)
summary :
Describes the details of storage sets in a specific region.
|
||||
DescribeStorageSetsResponse |
describeStorageSetsWithOptions(DescribeStorageSetsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Describes the details of storage sets in a specific region.
|
||||
DescribeTagsResponse |
describeTags(DescribeTagsRequest request)
description :
If a tag key that has no tag value is specified, all tags that contain the tag key are returned.
|
||||
DescribeTagsResponse |
describeTagsWithOptions(DescribeTagsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
If a tag key that has no tag value is specified, all tags that contain the tag key are returned.
|
||||
DescribeTaskAttributeResponse |
describeTaskAttribute(DescribeTaskAttributeRequest request)
summary :
You can call this operation to query the details of an asynchronous task.
|
||||
DescribeTaskAttributeResponse |
describeTaskAttributeWithOptions(DescribeTaskAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
You can call this operation to query the details of an asynchronous task.
|
||||
DescribeTasksResponse |
describeTasks(DescribeTasksRequest request)
description :
Debugging
OpenAPI Explorer automatically calculates the signature value.
|
||||
DescribeTasksResponse |
describeTasksWithOptions(DescribeTasksRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Debugging
OpenAPI Explorer automatically calculates the signature value.
|
||||
DescribeTerminalSessionsResponse |
describeTerminalSessions(DescribeTerminalSessionsRequest request)
description :
You can query the session records of Session Manager that were generated in the last four weeks.
|
||||
DescribeTerminalSessionsResponse |
describeTerminalSessionsWithOptions(DescribeTerminalSessionsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can query the session records of Session Manager that were generated in the last four weeks.
|
||||
DescribeUserBusinessBehaviorResponse |
describeUserBusinessBehavior(DescribeUserBusinessBehaviorRequest request)
已过时。
OpenAPI DescribeUserBusinessBehavior is deprecated
|
||||
DescribeUserBusinessBehaviorResponse |
describeUserBusinessBehaviorWithOptions(DescribeUserBusinessBehaviorRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeUserBusinessBehavior is deprecated
|
||||
DescribeUserDataResponse |
describeUserData(DescribeUserDataRequest request)
description :
The returned custom data is encoded in Base64.
|
||||
DescribeUserDataResponse |
describeUserDataWithOptions(DescribeUserDataRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
The returned custom data is encoded in Base64.
|
||||
DescribeVirtualBorderRoutersResponse |
describeVirtualBorderRouters(DescribeVirtualBorderRoutersRequest request)
已过时。
OpenAPI DescribeVirtualBorderRouters is deprecated
|
||||
DescribeVirtualBorderRoutersForPhysicalConnectionResponse |
describeVirtualBorderRoutersForPhysicalConnection(DescribeVirtualBorderRoutersForPhysicalConnectionRequest request)
已过时。
OpenAPI DescribeVirtualBorderRoutersForPhysicalConnection is deprecated
|
||||
DescribeVirtualBorderRoutersForPhysicalConnectionResponse |
describeVirtualBorderRoutersForPhysicalConnectionWithOptions(DescribeVirtualBorderRoutersForPhysicalConnectionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeVirtualBorderRoutersForPhysicalConnection is deprecated
|
||||
DescribeVirtualBorderRoutersResponse |
describeVirtualBorderRoutersWithOptions(DescribeVirtualBorderRoutersRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeVirtualBorderRouters is deprecated
|
||||
DescribeVpcsResponse |
describeVpcs(DescribeVpcsRequest request)
已过时。
OpenAPI DescribeVpcs is deprecated, please use Vpc::2016-04-28::DescribeVpcs instead.
|
||||
DescribeVpcsResponse |
describeVpcsWithOptions(DescribeVpcsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeVpcs is deprecated, please use Vpc::2016-04-28::DescribeVpcs instead.
|
||||
DescribeVRoutersResponse |
describeVRouters(DescribeVRoutersRequest request)
已过时。
OpenAPI DescribeVRouters is deprecated
|
||||
DescribeVRoutersResponse |
describeVRoutersWithOptions(DescribeVRoutersRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeVRouters is deprecated
|
||||
DescribeVSwitchesResponse |
describeVSwitches(DescribeVSwitchesRequest request)
已过时。
OpenAPI DescribeVSwitches is deprecated
|
||||
DescribeVSwitchesResponse |
describeVSwitchesWithOptions(DescribeVSwitchesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI DescribeVSwitches is deprecated
|
||||
DescribeZonesResponse |
describeZones(DescribeZonesRequest request)
description :
When you call this operation, only a list of zones and some resource information of each zone are returned.
|
||||
DescribeZonesResponse |
describeZonesWithOptions(DescribeZonesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, only a list of zones and some resource information of each zone are returned.
|
||||
DetachClassicLinkVpcResponse |
detachClassicLinkVpc(DetachClassicLinkVpcRequest request)
summary :
You can call this operation to unlink a classic network-type instance from a virtual private cloud (VPC) by removing the ClassicLink connection between them.
|
||||
DetachClassicLinkVpcResponse |
detachClassicLinkVpcWithOptions(DetachClassicLinkVpcRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
You can call this operation to unlink a classic network-type instance from a virtual private cloud (VPC) by removing the ClassicLink connection between them.
|
||||
DetachDiskResponse |
detachDisk(DetachDiskRequest request)
description :
Take note of the following items:
The disk that you want to detach must be attached to an ECS instance and in the In Use (
In_use ) state. |
||||
DetachDiskResponse |
detachDiskWithOptions(DetachDiskRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
The disk that you want to detach must be attached to an ECS instance and in the In Use (
In_use ) state. |
||||
DetachInstanceRamRoleResponse |
detachInstanceRamRole(DetachInstanceRamRoleRequest request)
summary :
Detaches instance Resource Access Management (RAM) roles from ECS instances.
|
||||
DetachInstanceRamRoleResponse |
detachInstanceRamRoleWithOptions(DetachInstanceRamRoleRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Detaches instance Resource Access Management (RAM) roles from ECS instances.
|
||||
DetachKeyPairResponse |
detachKeyPair(DetachKeyPairRequest request)
description :
When you call this operation, take note of the following items:
After you unbind an SSH key pair from an instance, you must call the RebootInstance operation to restart the instance to allow the unbind operation to take effect.
|
||||
DetachKeyPairResponse |
detachKeyPairWithOptions(DetachKeyPairRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, take note of the following items:
After you unbind an SSH key pair from an instance, you must call the RebootInstance operation to restart the instance to allow the unbind operation to take effect.
|
||||
DetachNetworkInterfaceResponse |
detachNetworkInterface(DetachNetworkInterfaceRequest request)
description :
Take note of the following items:
You cannot detach the primary ENI of an instance.
|
||||
DetachNetworkInterfaceResponse |
detachNetworkInterfaceWithOptions(DetachNetworkInterfaceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
You cannot detach the primary ENI of an instance.
|
||||
DisableActivationResponse |
disableActivation(DisableActivationRequest request)
description :
The region ID.
|
||||
DisableActivationResponse |
disableActivationWithOptions(DisableActivationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
The region ID.
|
||||
DisableDiskEncryptionByDefaultResponse |
disableDiskEncryptionByDefault(DisableDiskEncryptionByDefaultRequest request)
description :
Instructions
* Only Alibaba Cloud accounts can call this operation.
|
||||
DisableDiskEncryptionByDefaultResponse |
disableDiskEncryptionByDefaultWithOptions(DisableDiskEncryptionByDefaultRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Instructions
* Only Alibaba Cloud accounts can call this operation.
|
||||
EnableDiskEncryptionByDefaultResponse |
enableDiskEncryptionByDefault(EnableDiskEncryptionByDefaultRequest request)
description :
The Account-level EBS Default Encryption feature is available only in specific regions and to specific users.
|
||||
EnableDiskEncryptionByDefaultResponse |
enableDiskEncryptionByDefaultWithOptions(EnableDiskEncryptionByDefaultRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
The Account-level EBS Default Encryption feature is available only in specific regions and to specific users.
|
||||
EnablePhysicalConnectionResponse |
enablePhysicalConnection(EnablePhysicalConnectionRequest request)
已过时。
OpenAPI EnablePhysicalConnection is deprecated
|
||||
EnablePhysicalConnectionResponse |
enablePhysicalConnectionWithOptions(EnablePhysicalConnectionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI EnablePhysicalConnection is deprecated
|
||||
ExportImageResponse |
exportImage(ExportImageRequest request)
|
||||
ExportImageResponse |
exportImageWithOptions(ExportImageRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ExportSnapshotResponse |
exportSnapshot(ExportSnapshotRequest request)
已过时。
OpenAPI ExportSnapshot is deprecated
|
||||
ExportSnapshotResponse |
exportSnapshotWithOptions(ExportSnapshotRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ExportSnapshot is deprecated
|
||||
String |
getEndpoint(String productId,
String regionId,
String endpointRule,
String network,
String suffix,
Map<String,String> endpointMap,
String endpoint) |
||||
GetInstanceConsoleOutputResponse |
getInstanceConsoleOutput(GetInstanceConsoleOutputRequest request)
description :
ECS is a virtualized cloud-based service and cannot be connected to display devices.
|
||||
GetInstanceConsoleOutputResponse |
getInstanceConsoleOutputWithOptions(GetInstanceConsoleOutputRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
ECS is a virtualized cloud-based service and cannot be connected to display devices.
|
||||
GetInstanceScreenshotResponse |
getInstanceScreenshot(GetInstanceScreenshotRequest request)
description :
After ECS returns a Base64-encoded instance screenshot in the JPG format, you must decode the screenshot.
|
||||
GetInstanceScreenshotResponse |
getInstanceScreenshotWithOptions(GetInstanceScreenshotRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
After ECS returns a Base64-encoded instance screenshot in the JPG format, you must decode the screenshot.
|
||||
ImportImageResponse |
importImage(ImportImageRequest request)
|
||||
ImportImageResponse |
importImageWithOptions(ImportImageRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ImportKeyPairResponse |
importKeyPair(ImportKeyPairRequest request)
description :
Take note of the following items:
A maximum of 500 key pairs can be created in each region.
|
||||
ImportKeyPairResponse |
importKeyPairWithOptions(ImportKeyPairRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
A maximum of 500 key pairs can be created in each region.
|
||||
InstallCloudAssistantResponse |
installCloudAssistant(InstallCloudAssistantRequest request)
description :
Usage notes
After you call the InstallCloudAssistant operation to install Cloud Assistant Agent on an ECS instance, call the RebootInstance operation to restart the instance to make the installation take effect.
|
||||
InstallCloudAssistantResponse |
installCloudAssistantWithOptions(InstallCloudAssistantRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
After you call the InstallCloudAssistant operation to install Cloud Assistant Agent on an ECS instance, call the RebootInstance operation to restart the instance to make the installation take effect.
|
||||
InvokeCommandResponse |
invokeCommand(InvokeCommandRequest request)
|
||||
InvokeCommandResponse |
invokeCommandWithOptions(InvokeCommandRequest tmpReq,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
JoinResourceGroupResponse |
joinResourceGroup(JoinResourceGroupRequest request)
|
||||
JoinResourceGroupResponse |
joinResourceGroupWithOptions(JoinResourceGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
JoinSecurityGroupResponse |
joinSecurityGroup(JoinSecurityGroupRequest request)
|
||||
JoinSecurityGroupResponse |
joinSecurityGroupWithOptions(JoinSecurityGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
LeaveSecurityGroupResponse |
leaveSecurityGroup(LeaveSecurityGroupRequest request)
|
||||
LeaveSecurityGroupResponse |
leaveSecurityGroupWithOptions(LeaveSecurityGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ListPluginStatusResponse |
listPluginStatus(ListPluginStatusRequest request)
description :
Usage notes
Before you call this operation to query the status of Cloud Assistant plug-ins on ECS instances, make sure that the versions of Cloud Assistant Agent on the instances are not earlier than the following ones:
2.2.3.344 for Linux instances
2.1.3.344 for Windows instances
You can use one of the following methods to check the responses:
Method 1: When you call the ListPluginStatus operation to retrieve the first page of results during a paged query, use MaxResults to specify the maximum number of entries to return in the call.
|
||||
ListPluginStatusResponse |
listPluginStatusWithOptions(ListPluginStatusRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
Before you call this operation to query the status of Cloud Assistant plug-ins on ECS instances, make sure that the versions of Cloud Assistant Agent on the instances are not earlier than the following ones:
2.2.3.344 for Linux instances
2.1.3.344 for Windows instances
You can use one of the following methods to check the responses:
Method 1: When you call the ListPluginStatus operation to retrieve the first page of results during a paged query, use MaxResults to specify the maximum number of entries to return in the call.
|
||||
ListTagResourcesResponse |
listTagResources(ListTagResourcesRequest request)
description :
Usage notes
Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
ResourceId.N
Tag.N parameter pair (Tag.N.Key and Tag.N.Value )
TagFilter.N
If one of the following sets of request parameters is specified as filter conditions, only ECS resources that meet all the specified filter conditions are returned:
Set 1: Tag.N.Key, Tag.N.Value and ResourceId.N
Set 2: TagFilter.N.TagKey, TagFilter.N.TagValues.N and ResourceId.N
summary :
Queries the tags that are added to one or more Elastic Compute Service (ECS) resources. |
||||
ListTagResourcesResponse |
listTagResourcesWithOptions(ListTagResourcesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
ResourceId.N
Tag.N parameter pair (Tag.N.Key and Tag.N.Value )
TagFilter.N
If one of the following sets of request parameters is specified as filter conditions, only ECS resources that meet all the specified filter conditions are returned:
Set 1: Tag.N.Key, Tag.N.Value and ResourceId.N
Set 2: TagFilter.N.TagKey, TagFilter.N.TagValues.N and ResourceId.N
summary :
Queries the tags that are added to one or more Elastic Compute Service (ECS) resources. |
||||
ModifyAutoProvisioningGroupResponse |
modifyAutoProvisioningGroup(ModifyAutoProvisioningGroupRequest request)
description :
Before you call this operation, take note of the following items:
If you modify the capacity or capacity-related settings of an auto-provisioning group, the group executes a scheduling task after the group is modified.
|
||||
ModifyAutoProvisioningGroupResponse |
modifyAutoProvisioningGroupWithOptions(ModifyAutoProvisioningGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you call this operation, take note of the following items:
If you modify the capacity or capacity-related settings of an auto-provisioning group, the group executes a scheduling task after the group is modified.
|
||||
ModifyAutoSnapshotPolicyResponse |
modifyAutoSnapshotPolicy(ModifyAutoSnapshotPolicyRequest request)
已过时。
OpenAPI ModifyAutoSnapshotPolicy is deprecated
|
||||
ModifyAutoSnapshotPolicyExResponse |
modifyAutoSnapshotPolicyEx(ModifyAutoSnapshotPolicyExRequest request)
summary :
Modifies an automatic snapshot policy.
|
||||
ModifyAutoSnapshotPolicyExResponse |
modifyAutoSnapshotPolicyExWithOptions(ModifyAutoSnapshotPolicyExRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies an automatic snapshot policy.
|
||||
ModifyAutoSnapshotPolicyResponse |
modifyAutoSnapshotPolicyWithOptions(ModifyAutoSnapshotPolicyRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyAutoSnapshotPolicy is deprecated
|
||||
ModifyBandwidthPackageSpecResponse |
modifyBandwidthPackageSpec(ModifyBandwidthPackageSpecRequest request)
已过时。
OpenAPI ModifyBandwidthPackageSpec is deprecated
|
||||
ModifyBandwidthPackageSpecResponse |
modifyBandwidthPackageSpecWithOptions(ModifyBandwidthPackageSpecRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyBandwidthPackageSpec is deprecated
|
||||
ModifyCapacityReservationResponse |
modifyCapacityReservation(ModifyCapacityReservationRequest request)
summary :
Modifies the information of a capacity reservation, including the name, description, release mode, and the total number of Elastic Compute Service (ECS) instances for which capacity is reserved.
|
||||
ModifyCapacityReservationResponse |
modifyCapacityReservationWithOptions(ModifyCapacityReservationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the information of a capacity reservation, including the name, description, release mode, and the total number of Elastic Compute Service (ECS) instances for which capacity is reserved.
|
||||
ModifyCloudAssistantSettingsResponse |
modifyCloudAssistantSettings(ModifyCloudAssistantSettingsRequest request)
summary :
Modifies the configurations of a Cloud Assistant feature.
|
||||
ModifyCloudAssistantSettingsResponse |
modifyCloudAssistantSettingsWithOptions(ModifyCloudAssistantSettingsRequest tmpReq,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the configurations of a Cloud Assistant feature.
|
||||
ModifyCommandResponse |
modifyCommand(ModifyCommandRequest request)
description :
You can modify a command when it is run.
|
||||
ModifyCommandResponse |
modifyCommandWithOptions(ModifyCommandRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can modify a command when it is run.
|
||||
ModifyDedicatedHostAttributeResponse |
modifyDedicatedHostAttribute(ModifyDedicatedHostAttributeRequest request)
|
||||
ModifyDedicatedHostAttributeResponse |
modifyDedicatedHostAttributeWithOptions(ModifyDedicatedHostAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ModifyDedicatedHostAutoReleaseTimeResponse |
modifyDedicatedHostAutoReleaseTime(ModifyDedicatedHostAutoReleaseTimeRequest request)
description :
Usage notes
A pay-as-you-go dedicated host can be automatically released at the specified time.
|
||||
ModifyDedicatedHostAutoReleaseTimeResponse |
modifyDedicatedHostAutoReleaseTimeWithOptions(ModifyDedicatedHostAutoReleaseTimeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
A pay-as-you-go dedicated host can be automatically released at the specified time.
|
||||
ModifyDedicatedHostAutoRenewAttributeResponse |
modifyDedicatedHostAutoRenewAttribute(ModifyDedicatedHostAutoRenewAttributeRequest request)
description :
If you enable auto-renewal for your subscription dedicated host, the system attempts to deduct the renewal payment at 08:00:00 (UTC+8) nine days before the dedicated host expires to renew the dedicated host.
|
||||
ModifyDedicatedHostAutoRenewAttributeResponse |
modifyDedicatedHostAutoRenewAttributeWithOptions(ModifyDedicatedHostAutoRenewAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
If you enable auto-renewal for your subscription dedicated host, the system attempts to deduct the renewal payment at 08:00:00 (UTC+8) nine days before the dedicated host expires to renew the dedicated host.
|
||||
ModifyDedicatedHostClusterAttributeResponse |
modifyDedicatedHostClusterAttribute(ModifyDedicatedHostClusterAttributeRequest request)
summary :
Modifies the attributes of a dedicated host cluster, such as its name and description.
|
||||
ModifyDedicatedHostClusterAttributeResponse |
modifyDedicatedHostClusterAttributeWithOptions(ModifyDedicatedHostClusterAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the attributes of a dedicated host cluster, such as its name and description.
|
||||
ModifyDedicatedHostsChargeTypeResponse |
modifyDedicatedHostsChargeType(ModifyDedicatedHostsChargeTypeRequest request)
summary :
Changes the billing method of dedicated hosts.
|
||||
ModifyDedicatedHostsChargeTypeResponse |
modifyDedicatedHostsChargeTypeWithOptions(ModifyDedicatedHostsChargeTypeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Changes the billing method of dedicated hosts.
|
||||
ModifyDemandResponse |
modifyDemand(ModifyDemandRequest request)
已过时。
OpenAPI ModifyDemand is deprecated, please use Ecs::2014-05-26::ModifyCapacityReservation instead.
|
||||
ModifyDemandResponse |
modifyDemandWithOptions(ModifyDemandRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyDemand is deprecated, please use Ecs::2014-05-26::ModifyCapacityReservation instead.
|
||||
ModifyDeploymentSetAttributeResponse |
modifyDeploymentSetAttribute(ModifyDeploymentSetAttributeRequest request)
summary :
Modifies the name and description of a deployment set.
|
||||
ModifyDeploymentSetAttributeResponse |
modifyDeploymentSetAttributeWithOptions(ModifyDeploymentSetAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the name and description of a deployment set.
|
||||
ModifyDiagnosticMetricSetResponse |
modifyDiagnosticMetricSet(ModifyDiagnosticMetricSetRequest request)
summary :
Modifies a diagnostic metric set.
|
||||
ModifyDiagnosticMetricSetResponse |
modifyDiagnosticMetricSetWithOptions(ModifyDiagnosticMetricSetRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies a diagnostic metric set.
|
||||
ModifyDiskAttributeResponse |
modifyDiskAttribute(ModifyDiskAttributeRequest request)
description :
Usage notes
When you call this operation to modify the attributes of a disk, if you set DeleteWithInstance to false and the instance to which the disk is attached is locked for security reasons, the DeleteWithInstance settings of the disk are ignored and the disk is released together with the instance.
|
||||
ModifyDiskAttributeResponse |
modifyDiskAttributeWithOptions(ModifyDiskAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
When you call this operation to modify the attributes of a disk, if you set DeleteWithInstance to false and the instance to which the disk is attached is locked for security reasons, the DeleteWithInstance settings of the disk are ignored and the disk is released together with the instance.
|
||||
ModifyDiskChargeTypeResponse |
modifyDiskChargeType(ModifyDiskChargeTypeRequest request)
|
||||
ModifyDiskChargeTypeResponse |
modifyDiskChargeTypeWithOptions(ModifyDiskChargeTypeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ModifyDiskDefaultKMSKeyIdResponse |
modifyDiskDefaultKMSKeyId(ModifyDiskDefaultKMSKeyIdRequest request)
description :
Only Alibaba Cloud accounts can call this operation.
|
||||
ModifyDiskDefaultKMSKeyIdResponse |
modifyDiskDefaultKMSKeyIdWithOptions(ModifyDiskDefaultKMSKeyIdRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Only Alibaba Cloud accounts can call this operation.
|
||||
ModifyDiskDeploymentResponse |
modifyDiskDeployment(ModifyDiskDeploymentRequest request)
description :
Usage notes
The Dedicated Block Storage Cluster feature is available in the following regions: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Ulanqab), China (Shenzhen), China (Heyuan), Indonesia (Jakarta), Germany (Frankfurt), and China South 1 Finance.
|
||||
ModifyDiskDeploymentResponse |
modifyDiskDeploymentWithOptions(ModifyDiskDeploymentRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
The Dedicated Block Storage Cluster feature is available in the following regions: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Ulanqab), China (Shenzhen), China (Heyuan), Indonesia (Jakarta), Germany (Frankfurt), and China South 1 Finance.
|
||||
ModifyDiskSpecResponse |
modifyDiskSpec(ModifyDiskSpecRequest request)
description :
Usage notes
Take note of the following items:
To modify the performance level of an ESSD, take note of the following items:
For a subscription ESSD, you can only upgrade its performance level.
|
||||
ModifyDiskSpecResponse |
modifyDiskSpecWithOptions(ModifyDiskSpecRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
Take note of the following items:
To modify the performance level of an ESSD, take note of the following items:
For a subscription ESSD, you can only upgrade its performance level.
|
||||
ModifyEipAddressAttributeResponse |
modifyEipAddressAttribute(ModifyEipAddressAttributeRequest request)
已过时。
OpenAPI ModifyEipAddressAttribute is deprecated
|
||||
ModifyEipAddressAttributeResponse |
modifyEipAddressAttributeWithOptions(ModifyEipAddressAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyEipAddressAttribute is deprecated
|
||||
ModifyElasticityAssuranceResponse |
modifyElasticityAssurance(ModifyElasticityAssuranceRequest request)
summary :
You can call this operation to modify the name and description of an elasticity assurance.
|
||||
ModifyElasticityAssuranceResponse |
modifyElasticityAssuranceWithOptions(ModifyElasticityAssuranceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
You can call this operation to modify the name and description of an elasticity assurance.
|
||||
ModifyForwardEntryResponse |
modifyForwardEntry(ModifyForwardEntryRequest request)
已过时。
OpenAPI ModifyForwardEntry is deprecated
|
||||
ModifyForwardEntryResponse |
modifyForwardEntryWithOptions(ModifyForwardEntryRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyForwardEntry is deprecated
|
||||
ModifyHaVipAttributeResponse |
modifyHaVipAttribute(ModifyHaVipAttributeRequest request)
已过时。
OpenAPI ModifyHaVipAttribute is deprecated
|
||||
ModifyHaVipAttributeResponse |
modifyHaVipAttributeWithOptions(ModifyHaVipAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyHaVipAttribute is deprecated
|
||||
ModifyHpcClusterAttributeResponse |
modifyHpcClusterAttribute(ModifyHpcClusterAttributeRequest request) |
||||
ModifyHpcClusterAttributeResponse |
modifyHpcClusterAttributeWithOptions(ModifyHpcClusterAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime) |
||||
ModifyImageAttributeResponse |
modifyImageAttribute(ModifyImageAttributeRequest request)
summary :
Modifies the attributes of a custom image, such as the image family, name, boot mode, and status and whether the image supports the Non-Volatile Memory Express (NVMe) protocol.
|
||||
ModifyImageAttributeResponse |
modifyImageAttributeWithOptions(ModifyImageAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the attributes of a custom image, such as the image family, name, boot mode, and status and whether the image supports the Non-Volatile Memory Express (NVMe) protocol.
|
||||
ModifyImageShareGroupPermissionResponse |
modifyImageShareGroupPermission(ModifyImageShareGroupPermissionRequest request)
已过时。
OpenAPI ModifyImageShareGroupPermission is deprecated
|
||||
ModifyImageShareGroupPermissionResponse |
modifyImageShareGroupPermissionWithOptions(ModifyImageShareGroupPermissionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyImageShareGroupPermission is deprecated
|
||||
ModifyImageSharePermissionResponse |
modifyImageSharePermission(ModifyImageSharePermissionRequest request)
|
||||
ModifyImageSharePermissionResponse |
modifyImageSharePermissionWithOptions(ModifyImageSharePermissionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ModifyInstanceAttachmentAttributesResponse |
modifyInstanceAttachmentAttributes(ModifyInstanceAttachmentAttributesRequest request)
description :
A private pool is generated after an elasticity assurance or a capacity reservation is created.
|
||||
ModifyInstanceAttachmentAttributesResponse |
modifyInstanceAttachmentAttributesWithOptions(ModifyInstanceAttachmentAttributesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
A private pool is generated after an elasticity assurance or a capacity reservation is created.
|
||||
ModifyInstanceAttributeResponse |
modifyInstanceAttribute(ModifyInstanceAttributeRequest request)
|
||||
ModifyInstanceAttributeResponse |
modifyInstanceAttributeWithOptions(ModifyInstanceAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ModifyInstanceAutoReleaseTimeResponse |
modifyInstanceAutoReleaseTime(ModifyInstanceAutoReleaseTimeRequest request)
summary :
Sets or cancels automatic release time for a pay-as-you-go Elastic Compute Service (ECS) instance.
|
||||
ModifyInstanceAutoReleaseTimeResponse |
modifyInstanceAutoReleaseTimeWithOptions(ModifyInstanceAutoReleaseTimeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Sets or cancels automatic release time for a pay-as-you-go Elastic Compute Service (ECS) instance.
|
||||
ModifyInstanceAutoRenewAttributeResponse |
modifyInstanceAutoRenewAttribute(ModifyInstanceAutoRenewAttributeRequest request)
description :
Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS).
|
||||
ModifyInstanceAutoRenewAttributeResponse |
modifyInstanceAutoRenewAttributeWithOptions(ModifyInstanceAutoRenewAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS).
|
||||
ModifyInstanceChargeTypeResponse |
modifyInstanceChargeType(ModifyInstanceChargeTypeRequest request)
description :
Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS).
|
||||
ModifyInstanceChargeTypeResponse |
modifyInstanceChargeTypeWithOptions(ModifyInstanceChargeTypeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS).
|
||||
ModifyInstanceDeploymentResponse |
modifyInstanceDeployment(ModifyInstanceDeploymentRequest request)
description :
Take note of the following items:
The instance must be in the Stopped (Stopped) state.
|
||||
ModifyInstanceDeploymentResponse |
modifyInstanceDeploymentWithOptions(ModifyInstanceDeploymentRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
The instance must be in the Stopped (Stopped) state.
|
||||
ModifyInstanceMaintenanceAttributesResponse |
modifyInstanceMaintenanceAttributes(ModifyInstanceMaintenanceAttributesRequest request)
description :
This operation is used to modify the maintenance policy of an instance.
|
||||
ModifyInstanceMaintenanceAttributesResponse |
modifyInstanceMaintenanceAttributesWithOptions(ModifyInstanceMaintenanceAttributesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
This operation is used to modify the maintenance policy of an instance.
|
||||
ModifyInstanceMetadataOptionsResponse |
modifyInstanceMetadataOptions(ModifyInstanceMetadataOptionsRequest request)
summary :
Modifies the metadata of an Elastic Compute Service (ECS) instance.
|
||||
ModifyInstanceMetadataOptionsResponse |
modifyInstanceMetadataOptionsWithOptions(ModifyInstanceMetadataOptionsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the metadata of an Elastic Compute Service (ECS) instance.
|
||||
ModifyInstanceNetworkSpecResponse |
modifyInstanceNetworkSpec(ModifyInstanceNetworkSpecRequest request)
description :
Take note of the following items:
From November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to the throttling policy for your account.
|
||||
ModifyInstanceNetworkSpecResponse |
modifyInstanceNetworkSpecWithOptions(ModifyInstanceNetworkSpecRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
From November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to the throttling policy for your account.
|
||||
ModifyInstanceSpecResponse |
modifyInstanceSpec(ModifyInstanceSpecRequest request)
description :
Usage notes
For information about how to use ECS SDK for Python to change resource configurations, see Query available resources for configuration changes.
|
||||
ModifyInstanceSpecResponse |
modifyInstanceSpecWithOptions(ModifyInstanceSpecRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
For information about how to use ECS SDK for Python to change resource configurations, see Query available resources for configuration changes.
|
||||
ModifyInstanceVncPasswdResponse |
modifyInstanceVncPasswd(ModifyInstanceVncPasswdRequest request)
description :
The password must be six characters in length and can contain only uppercase letters, lowercase letters, and digits.
|
||||
ModifyInstanceVncPasswdResponse |
modifyInstanceVncPasswdWithOptions(ModifyInstanceVncPasswdRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
The password must be six characters in length and can contain only uppercase letters, lowercase letters, and digits.
|
||||
ModifyInstanceVpcAttributeResponse |
modifyInstanceVpcAttribute(ModifyInstanceVpcAttributeRequest request)
|
||||
ModifyInstanceVpcAttributeResponse |
modifyInstanceVpcAttributeWithOptions(ModifyInstanceVpcAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ModifyInvocationAttributeResponse |
modifyInvocationAttribute(ModifyInvocationAttributeRequest request)
description :
You can modify the execution information of a task that runs a command in one of the following modes.
|
||||
ModifyInvocationAttributeResponse |
modifyInvocationAttributeWithOptions(ModifyInvocationAttributeRequest tmpReq,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
You can modify the execution information of a task that runs a command in one of the following modes.
|
||||
ModifyLaunchTemplateDefaultVersionResponse |
modifyLaunchTemplateDefaultVersion(ModifyLaunchTemplateDefaultVersionRequest request)
description :
Debugging
OpenAPI Explorer automatically calculates the signature value.
|
||||
ModifyLaunchTemplateDefaultVersionResponse |
modifyLaunchTemplateDefaultVersionWithOptions(ModifyLaunchTemplateDefaultVersionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Debugging
OpenAPI Explorer automatically calculates the signature value.
|
||||
ModifyManagedInstanceResponse |
modifyManagedInstance(ModifyManagedInstanceRequest request)
description :
The region ID.
|
||||
ModifyManagedInstanceResponse |
modifyManagedInstanceWithOptions(ModifyManagedInstanceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
The region ID.
|
||||
ModifyNetworkInterfaceAttributeResponse |
modifyNetworkInterfaceAttribute(ModifyNetworkInterfaceAttributeRequest request)
summary :
Modifies the attributes, such as the name, description, and security groups, of an elastic network interface (ENI).
|
||||
ModifyNetworkInterfaceAttributeResponse |
modifyNetworkInterfaceAttributeWithOptions(ModifyNetworkInterfaceAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the attributes, such as the name, description, and security groups, of an elastic network interface (ENI).
|
||||
ModifyPhysicalConnectionAttributeResponse |
modifyPhysicalConnectionAttribute(ModifyPhysicalConnectionAttributeRequest request)
已过时。
OpenAPI ModifyPhysicalConnectionAttribute is deprecated
|
||||
ModifyPhysicalConnectionAttributeResponse |
modifyPhysicalConnectionAttributeWithOptions(ModifyPhysicalConnectionAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyPhysicalConnectionAttribute is deprecated
|
||||
ModifyPrefixListResponse |
modifyPrefixList(ModifyPrefixListRequest request)
|
||||
ModifyPrefixListResponse |
modifyPrefixListWithOptions(ModifyPrefixListRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ModifyPrepayInstanceSpecResponse |
modifyPrepayInstanceSpec(ModifyPrepayInstanceSpecRequest request)
description :
Usage notes
Before you call this operation, we recommend that you familiarize yourself with the billing methods, pricing schedule, and refund rules of ECS.
|
||||
ModifyPrepayInstanceSpecResponse |
modifyPrepayInstanceSpecWithOptions(ModifyPrepayInstanceSpecRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
Before you call this operation, we recommend that you familiarize yourself with the billing methods, pricing schedule, and refund rules of ECS.
|
||||
ModifyReservedInstanceAttributeResponse |
modifyReservedInstanceAttribute(ModifyReservedInstanceAttributeRequest request)
summary :
Modifies the attributes of a reserved instance, such as its name and description.
|
||||
ModifyReservedInstanceAttributeResponse |
modifyReservedInstanceAttributeWithOptions(ModifyReservedInstanceAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the attributes of a reserved instance, such as its name and description.
|
||||
ModifyReservedInstanceAutoRenewAttributeResponse |
modifyReservedInstanceAutoRenewAttribute(ModifyReservedInstanceAutoRenewAttributeRequest request)
summary :
Enables or disables auto-renewal for one or more reserved instances.
|
||||
ModifyReservedInstanceAutoRenewAttributeResponse |
modifyReservedInstanceAutoRenewAttributeWithOptions(ModifyReservedInstanceAutoRenewAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Enables or disables auto-renewal for one or more reserved instances.
|
||||
ModifyReservedInstancesResponse |
modifyReservedInstances(ModifyReservedInstancesRequest request)
description :
The region ID of the reserved instance.
|
||||
ModifyReservedInstancesResponse |
modifyReservedInstancesWithOptions(ModifyReservedInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
The region ID of the reserved instance.
|
||||
ModifyRouterInterfaceAttributeResponse |
modifyRouterInterfaceAttribute(ModifyRouterInterfaceAttributeRequest request)
已过时。
OpenAPI ModifyRouterInterfaceAttribute is deprecated
|
||||
ModifyRouterInterfaceAttributeResponse |
modifyRouterInterfaceAttributeWithOptions(ModifyRouterInterfaceAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyRouterInterfaceAttribute is deprecated
|
||||
ModifyRouterInterfaceSpecResponse |
modifyRouterInterfaceSpec(ModifyRouterInterfaceSpecRequest request)
已过时。
OpenAPI ModifyRouterInterfaceSpec is deprecated
|
||||
ModifyRouterInterfaceSpecResponse |
modifyRouterInterfaceSpecWithOptions(ModifyRouterInterfaceSpecRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyRouterInterfaceSpec is deprecated
|
||||
ModifySecurityGroupAttributeResponse |
modifySecurityGroupAttribute(ModifySecurityGroupAttributeRequest request)
summary :
Modifies the name or description of a security group.
|
||||
ModifySecurityGroupAttributeResponse |
modifySecurityGroupAttributeWithOptions(ModifySecurityGroupAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the name or description of a security group.
|
||||
ModifySecurityGroupEgressRuleResponse |
modifySecurityGroupEgressRule(ModifySecurityGroupEgressRuleRequest request)
|
||||
ModifySecurityGroupEgressRuleResponse |
modifySecurityGroupEgressRuleWithOptions(ModifySecurityGroupEgressRuleRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ModifySecurityGroupPolicyResponse |
modifySecurityGroupPolicy(ModifySecurityGroupPolicyRequest request)
description :
Take note of the following items:
When InnerAccessPolicy is set to Accept for a security group, the instances in the security group can communicate with each other.
|
||||
ModifySecurityGroupPolicyResponse |
modifySecurityGroupPolicyWithOptions(ModifySecurityGroupPolicyRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
When InnerAccessPolicy is set to Accept for a security group, the instances in the security group can communicate with each other.
|
||||
ModifySecurityGroupRuleResponse |
modifySecurityGroupRule(ModifySecurityGroupRuleRequest request)
|
||||
ModifySecurityGroupRuleResponse |
modifySecurityGroupRuleWithOptions(ModifySecurityGroupRuleRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ModifySnapshotAttributeResponse |
modifySnapshotAttribute(ModifySnapshotAttributeRequest request)
summary :
Modifies the name, description, or retention period of a snapshot.
|
||||
ModifySnapshotAttributeResponse |
modifySnapshotAttributeWithOptions(ModifySnapshotAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the name, description, or retention period of a snapshot.
|
||||
ModifySnapshotGroupResponse |
modifySnapshotGroup(ModifySnapshotGroupRequest request)
summary :
修改快照分组
|
||||
ModifySnapshotGroupResponse |
modifySnapshotGroupWithOptions(ModifySnapshotGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
修改快照分组
|
||||
ModifyStorageCapacityUnitAttributeResponse |
modifyStorageCapacityUnitAttribute(ModifyStorageCapacityUnitAttributeRequest request)
summary :
Changes the name or modifies the description of a storage capacity unit (SCU).
|
||||
ModifyStorageCapacityUnitAttributeResponse |
modifyStorageCapacityUnitAttributeWithOptions(ModifyStorageCapacityUnitAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Changes the name or modifies the description of a storage capacity unit (SCU).
|
||||
ModifyStorageSetAttributeResponse |
modifyStorageSetAttribute(ModifyStorageSetAttributeRequest request)
summary :
Modifies the name or description of a storage set.
|
||||
ModifyStorageSetAttributeResponse |
modifyStorageSetAttributeWithOptions(ModifyStorageSetAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Modifies the name or description of a storage set.
|
||||
ModifyUserBusinessBehaviorResponse |
modifyUserBusinessBehavior(ModifyUserBusinessBehaviorRequest request)
已过时。
OpenAPI ModifyUserBusinessBehavior is deprecated
|
||||
ModifyUserBusinessBehaviorResponse |
modifyUserBusinessBehaviorWithOptions(ModifyUserBusinessBehaviorRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyUserBusinessBehavior is deprecated
|
||||
ModifyVirtualBorderRouterAttributeResponse |
modifyVirtualBorderRouterAttribute(ModifyVirtualBorderRouterAttributeRequest request)
已过时。
OpenAPI ModifyVirtualBorderRouterAttribute is deprecated
|
||||
ModifyVirtualBorderRouterAttributeResponse |
modifyVirtualBorderRouterAttributeWithOptions(ModifyVirtualBorderRouterAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyVirtualBorderRouterAttribute is deprecated
|
||||
ModifyVpcAttributeResponse |
modifyVpcAttribute(ModifyVpcAttributeRequest request)
已过时。
OpenAPI ModifyVpcAttribute is deprecated
|
||||
ModifyVpcAttributeResponse |
modifyVpcAttributeWithOptions(ModifyVpcAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyVpcAttribute is deprecated
|
||||
ModifyVRouterAttributeResponse |
modifyVRouterAttribute(ModifyVRouterAttributeRequest request)
已过时。
OpenAPI ModifyVRouterAttribute is deprecated
|
||||
ModifyVRouterAttributeResponse |
modifyVRouterAttributeWithOptions(ModifyVRouterAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyVRouterAttribute is deprecated
|
||||
ModifyVSwitchAttributeResponse |
modifyVSwitchAttribute(ModifyVSwitchAttributeRequest request)
已过时。
OpenAPI ModifyVSwitchAttribute is deprecated
|
||||
ModifyVSwitchAttributeResponse |
modifyVSwitchAttributeWithOptions(ModifyVSwitchAttributeRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ModifyVSwitchAttribute is deprecated
|
||||
PurchaseElasticityAssuranceResponse |
purchaseElasticityAssurance(PurchaseElasticityAssuranceRequest request)
description :
Before you call this operation, familiarize yourself with the billing rules and
PurchaseElasticityAssuranceResponse purchaseElasticityAssuranceWithOptions(PurchaseElasticityAssuranceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you call this operation, familiarize yourself with the billing rules and
PurchaseReservedInstancesOfferingResponse purchaseReservedInstancesOffering(PurchaseReservedInstancesOfferingRequest request)
| ||||
PurchaseReservedInstancesOfferingResponse |
purchaseReservedInstancesOfferingWithOptions(PurchaseReservedInstancesOfferingRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
PurchaseStorageCapacityUnitResponse |
purchaseStorageCapacityUnit(PurchaseStorageCapacityUnitRequest request)
|
||||
PurchaseStorageCapacityUnitResponse |
purchaseStorageCapacityUnitWithOptions(PurchaseStorageCapacityUnitRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ReActivateInstancesResponse |
reActivateInstances(ReActivateInstancesRequest request)
description :
When you call this operation, take note of the following items:
The instance must be in the
Stopped state. |
||||
ReActivateInstancesResponse |
reActivateInstancesWithOptions(ReActivateInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, take note of the following items:
The instance must be in the
Stopped state. |
||||
RebootInstanceResponse |
rebootInstance(RebootInstanceRequest request)
description :
Only instances that are in the
Running state can be restarted. |
||||
RebootInstancesResponse |
rebootInstances(RebootInstancesRequest request)
|
||||
RebootInstancesResponse |
rebootInstancesWithOptions(RebootInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
RebootInstanceResponse |
rebootInstanceWithOptions(RebootInstanceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Only instances that are in the
Running state can be restarted. |
||||
RecoverVirtualBorderRouterResponse |
recoverVirtualBorderRouter(RecoverVirtualBorderRouterRequest request)
已过时。
OpenAPI RecoverVirtualBorderRouter is deprecated
|
||||
RecoverVirtualBorderRouterResponse |
recoverVirtualBorderRouterWithOptions(RecoverVirtualBorderRouterRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI RecoverVirtualBorderRouter is deprecated
|
||||
RedeployDedicatedHostResponse |
redeployDedicatedHost(RedeployDedicatedHostRequest request)
description :
If a dedicated host is in the UnderAssessment state, we recommend that you call this operation to migrate ECS instances away from the dedicated host to prevent permanent failures.
|
||||
RedeployDedicatedHostResponse |
redeployDedicatedHostWithOptions(RedeployDedicatedHostRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
If a dedicated host is in the UnderAssessment state, we recommend that you call this operation to migrate ECS instances away from the dedicated host to prevent permanent failures.
|
||||
RedeployInstanceResponse |
redeployInstance(RedeployInstanceRequest request)
description :
RedeployInstance is an asynchronous operation.
|
||||
RedeployInstanceResponse |
redeployInstanceWithOptions(RedeployInstanceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
RedeployInstance is an asynchronous operation.
|
||||
ReInitDiskResponse |
reInitDisk(ReInitDiskRequest request)
|
||||
ReInitDiskResponse |
reInitDiskWithOptions(ReInitDiskRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ReleaseCapacityReservationResponse |
releaseCapacityReservation(ReleaseCapacityReservationRequest request)
description :
If the release mode of a capacity reservation that takes effect immediately is set to manual release, you can call this operation to release the capacity reservation.
|
||||
ReleaseCapacityReservationResponse |
releaseCapacityReservationWithOptions(ReleaseCapacityReservationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
If the release mode of a capacity reservation that takes effect immediately is set to manual release, you can call this operation to release the capacity reservation.
|
||||
ReleaseDedicatedHostResponse |
releaseDedicatedHost(ReleaseDedicatedHostRequest request)
description :
Usage notes
Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
|
||||
ReleaseDedicatedHostResponse |
releaseDedicatedHostWithOptions(ReleaseDedicatedHostRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
|
||||
ReleaseEipAddressResponse |
releaseEipAddress(ReleaseEipAddressRequest request)
已过时。
OpenAPI ReleaseEipAddress is deprecated
|
||||
ReleaseEipAddressResponse |
releaseEipAddressWithOptions(ReleaseEipAddressRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI ReleaseEipAddress is deprecated
|
||||
ReleasePublicIpAddressResponse |
releasePublicIpAddress(ReleasePublicIpAddressRequest request)
summary :
释放公网IP
|
||||
ReleasePublicIpAddressResponse |
releasePublicIpAddressWithOptions(ReleasePublicIpAddressRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
释放公网IP
|
||||
RemoveBandwidthPackageIpsResponse |
removeBandwidthPackageIps(RemoveBandwidthPackageIpsRequest request)
已过时。
OpenAPI RemoveBandwidthPackageIps is deprecated
|
||||
RemoveBandwidthPackageIpsResponse |
removeBandwidthPackageIpsWithOptions(RemoveBandwidthPackageIpsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI RemoveBandwidthPackageIps is deprecated
|
||||
RemoveTagsResponse |
removeTags(RemoveTagsRequest request)
summary :
Removes one or more tags from a resource such as an instance, disk, snapshot, image, or security group.
|
||||
RemoveTagsResponse |
removeTagsWithOptions(RemoveTagsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Removes one or more tags from a resource such as an instance, disk, snapshot, image, or security group.
|
||||
RenewDedicatedHostsResponse |
renewDedicatedHosts(RenewDedicatedHostsRequest request)
|
||||
RenewDedicatedHostsResponse |
renewDedicatedHostsWithOptions(RenewDedicatedHostsRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
RenewElasticityAssurancesResponse |
renewElasticityAssurances(RenewElasticityAssurancesRequest request)
summary :
Renews one or more elasticity assurances that you purchased.
|
||||
RenewElasticityAssurancesResponse |
renewElasticityAssurancesWithOptions(RenewElasticityAssurancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Renews one or more elasticity assurances that you purchased.
|
||||
RenewInstanceResponse |
renewInstance(RenewInstanceRequest request)
description :
Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS.
|
||||
RenewInstanceResponse |
renewInstanceWithOptions(RenewInstanceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS.
|
||||
RenewReservedInstancesResponse |
renewReservedInstances(RenewReservedInstancesRequest request)
description :
The IDs of the reserved instances.
|
||||
RenewReservedInstancesResponse |
renewReservedInstancesWithOptions(RenewReservedInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
The IDs of the reserved instances.
|
||||
ReplaceSystemDiskResponse |
replaceSystemDisk(ReplaceSystemDiskRequest request)
|
||||
ReplaceSystemDiskResponse |
replaceSystemDiskWithOptions(ReplaceSystemDiskRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
ReportInstancesStatusResponse |
reportInstancesStatus(ReportInstancesStatusRequest request)
summary :
Reports an exception on Elastic Compute Service (ECS) instances.
|
||||
ReportInstancesStatusResponse |
reportInstancesStatusWithOptions(ReportInstancesStatusRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Reports an exception on Elastic Compute Service (ECS) instances.
|
||||
ResetDiskResponse |
resetDisk(ResetDiskRequest request)
description :
When you call this operation, take note of the following items:
The disk must be in the In Use (In_Use) or Unattached (Available) state.
|
||||
ResetDiskDefaultKMSKeyIdResponse |
resetDiskDefaultKMSKeyId(ResetDiskDefaultKMSKeyIdRequest request)
description :
Only Alibaba Cloud accounts can call this operation.
|
||||
ResetDiskDefaultKMSKeyIdResponse |
resetDiskDefaultKMSKeyIdWithOptions(ResetDiskDefaultKMSKeyIdRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Only Alibaba Cloud accounts can call this operation.
|
||||
ResetDisksResponse |
resetDisks(ResetDisksRequest request)
description :
This operation will be removed in the future.
|
||||
ResetDisksResponse |
resetDisksWithOptions(ResetDisksRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
This operation will be removed in the future.
|
||||
ResetDiskResponse |
resetDiskWithOptions(ResetDiskRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, take note of the following items:
The disk must be in the In Use (In_Use) or Unattached (Available) state.
|
||||
ResizeDiskResponse |
resizeDisk(ResizeDiskRequest request)
|
||||
ResizeDiskResponse |
resizeDiskWithOptions(ResizeDiskRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
RevokeSecurityGroupResponse |
revokeSecurityGroup(RevokeSecurityGroupRequest request)
description :
In the security group-related API documents, inbound traffic refers to the traffic sent by the source and received by the destination.
|
||||
RevokeSecurityGroupEgressResponse |
revokeSecurityGroupEgress(RevokeSecurityGroupEgressRequest request)
description :
In the security group-related API documents, outbound traffic refers to the traffic sent by the source and received by the destination.
|
||||
RevokeSecurityGroupEgressResponse |
revokeSecurityGroupEgressWithOptions(RevokeSecurityGroupEgressRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
In the security group-related API documents, outbound traffic refers to the traffic sent by the source and received by the destination.
|
||||
RevokeSecurityGroupResponse |
revokeSecurityGroupWithOptions(RevokeSecurityGroupRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
In the security group-related API documents, inbound traffic refers to the traffic sent by the source and received by the destination.
|
||||
RunCommandResponse |
runCommand(RunCommandRequest request)
description :
Usage notes
Unlike the CreateCommand and InvokeCommand operations, the RunCommand operation can be used to create and run a command in a single request.
|
||||
RunCommandResponse |
runCommandWithOptions(RunCommandRequest tmpReq,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
Unlike the CreateCommand and InvokeCommand operations, the RunCommand operation can be used to create and run a command in a single request.
|
||||
RunInstancesResponse |
runInstances(RunInstancesRequest request)
description :
Usage notes
Before you call this operation, familiarize yourself with the billing rules and pricing of ECS resources.
|
||||
RunInstancesResponse |
runInstancesWithOptions(RunInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Usage notes
Before you call this operation, familiarize yourself with the billing rules and pricing of ECS resources.
|
||||
SendFileResponse |
sendFile(SendFileRequest request)
|
||||
SendFileResponse |
sendFileWithOptions(SendFileRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
StartImagePipelineExecutionResponse |
startImagePipelineExecution(StartImagePipelineExecutionRequest request)
description :
After you create an image template, you can call the StartImagePipelineExecution operation to create a pipeline task.
|
||||
StartImagePipelineExecutionResponse |
startImagePipelineExecutionWithOptions(StartImagePipelineExecutionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
After you create an image template, you can call the StartImagePipelineExecution operation to create a pipeline task.
|
||||
StartInstanceResponse |
startInstance(StartInstanceRequest request)
description :
Take note of the following items:
The ECS instance must be in the
Stopped state. |
||||
StartInstancesResponse |
startInstances(StartInstancesRequest request)
description :
When you call this operation, take note of the following items:
The ECS instances that you want to start must be in the Stopped state.
|
||||
StartInstancesResponse |
startInstancesWithOptions(StartInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
When you call this operation, take note of the following items:
The ECS instances that you want to start must be in the Stopped state.
|
||||
StartInstanceResponse |
startInstanceWithOptions(StartInstanceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Take note of the following items:
The ECS instance must be in the
Stopped state. |
||||
StartTerminalSessionResponse |
startTerminalSession(StartTerminalSessionRequest request)
|
||||
StartTerminalSessionResponse |
startTerminalSessionWithOptions(StartTerminalSessionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
StopInstanceResponse |
stopInstance(StopInstanceRequest request)
description :
If you call the DescribeInstances operation to query the details of an instance and
OperationLocks in the response contains "LockReason": "security" , the instance is locked for security reasons and cannot be stopped. |
||||
StopInstancesResponse |
stopInstances(StopInstancesRequest request)
|
||||
StopInstancesResponse |
stopInstancesWithOptions(StopInstancesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
StopInstanceResponse |
stopInstanceWithOptions(StopInstanceRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
If you call the DescribeInstances operation to query the details of an instance and
OperationLocks in the response contains "LockReason": "security" , the instance is locked for security reasons and cannot be stopped. |
||||
StopInvocationResponse |
stopInvocation(StopInvocationRequest request)
|
||||
StopInvocationResponse |
stopInvocationWithOptions(StopInvocationRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
TagResourcesResponse |
tagResources(TagResourcesRequest request)
description :
Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource.
|
||||
TagResourcesResponse |
tagResourcesWithOptions(TagResourcesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
description :
Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource.
|
||||
TerminatePhysicalConnectionResponse |
terminatePhysicalConnection(TerminatePhysicalConnectionRequest request)
已过时。
OpenAPI TerminatePhysicalConnection is deprecated
|
||||
TerminatePhysicalConnectionResponse |
terminatePhysicalConnectionWithOptions(TerminatePhysicalConnectionRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI TerminatePhysicalConnection is deprecated
|
||||
TerminateVirtualBorderRouterResponse |
terminateVirtualBorderRouter(TerminateVirtualBorderRouterRequest request)
已过时。
OpenAPI TerminateVirtualBorderRouter is deprecated
|
||||
TerminateVirtualBorderRouterResponse |
terminateVirtualBorderRouterWithOptions(TerminateVirtualBorderRouterRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI TerminateVirtualBorderRouter is deprecated
|
||||
UnassignIpv6AddressesResponse |
unassignIpv6Addresses(UnassignIpv6AddressesRequest request)
|
||||
UnassignIpv6AddressesResponse |
unassignIpv6AddressesWithOptions(UnassignIpv6AddressesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
UnassignPrivateIpAddressesResponse |
unassignPrivateIpAddresses(UnassignPrivateIpAddressesRequest request)
|
||||
UnassignPrivateIpAddressesResponse |
unassignPrivateIpAddressesWithOptions(UnassignPrivateIpAddressesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
|
||||
UnassociateEipAddressResponse |
unassociateEipAddress(UnassociateEipAddressRequest request)
已过时。
OpenAPI UnassociateEipAddress is deprecated
|
||||
UnassociateEipAddressResponse |
unassociateEipAddressWithOptions(UnassociateEipAddressRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI UnassociateEipAddress is deprecated
|
||||
UnassociateHaVipResponse |
unassociateHaVip(UnassociateHaVipRequest request)
已过时。
OpenAPI UnassociateHaVip is deprecated
|
||||
UnassociateHaVipResponse |
unassociateHaVipWithOptions(UnassociateHaVipRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
已过时。
OpenAPI UnassociateHaVip is deprecated
|
||||
UntagResourcesResponse |
untagResources(UntagResourcesRequest request)
summary :
Removes tags from Elastic Compute Service (ECS) resources.
|
||||
UntagResourcesResponse |
untagResourcesWithOptions(UntagResourcesRequest request,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Removes tags from Elastic Compute Service (ECS) resources.
|
addRequestInterceptor, addResponseInterceptor, addRuntimeOptionsInterceptor, callApi, checkConfig, defaultAny, doRequest, doROARequest, doROARequestWithForm, doRPCRequest, execute, getAccessKeyId, getAccessKeySecret, getBearerToken, getRpcHeaders, getSecurityToken, getType, getUserAgent, setGatewayClient, setRpcHeaders
public String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, Map<String,String> endpointMap, String endpoint) throws Exception
Exception
public AcceptInquiredSystemEventResponse acceptInquiredSystemEventWithOptions(AcceptInquiredSystemEventRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
in the Inquiring state and authorizes the system to perform the default operations.
request
- AcceptInquiredSystemEventRequestruntime
- runtime options for this request RuntimeOptionsException
public AcceptInquiredSystemEventResponse acceptInquiredSystemEvent(AcceptInquiredSystemEventRequest request) throws Exception
in the Inquiring state and authorizes the system to perform the default operations.
request
- AcceptInquiredSystemEventRequestException
@Deprecated public ActivateRouterInterfaceResponse activateRouterInterfaceWithOptions(ActivateRouterInterfaceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ActivateRouterInterfaceRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ActivateRouterInterfaceResponse activateRouterInterface(ActivateRouterInterfaceRequest request) throws Exception
request
- ActivateRouterInterfaceRequestException
@Deprecated public AddBandwidthPackageIpsResponse addBandwidthPackageIpsWithOptions(AddBandwidthPackageIpsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- AddBandwidthPackageIpsRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public AddBandwidthPackageIpsResponse addBandwidthPackageIps(AddBandwidthPackageIpsRequest request) throws Exception
request
- AddBandwidthPackageIpsRequestException
public AddTagsResponse addTagsWithOptions(AddTagsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, take note of the following items:
Tag.N.Key
must match Tag.N.Value
based on the value of N.Tag.N.Key
) as an existing tag on the specified resource, the new tag value (Tag.N.Value
) overwrites the original tag value.Adds tags to Elastic Compute Service (ECS) resources, or overwrites tags of ECS resources. You can add tags to ECS resources such as instances, disks, snapshots, images, and security groups for easy management.
request
- AddTagsRequestruntime
- runtime options for this request RuntimeOptionsException
public AddTagsResponse addTags(AddTagsRequest request) throws Exception
When you call this operation, take note of the following items:
Tag.N.Key
must match Tag.N.Value
based on the value of N.Tag.N.Key
) as an existing tag on the specified resource, the new tag value (Tag.N.Value
) overwrites the original tag value.Adds tags to Elastic Compute Service (ECS) resources, or overwrites tags of ECS resources. You can add tags to ECS resources such as instances, disks, snapshots, images, and security groups for easy management.
request
- AddTagsRequestException
public AllocateDedicatedHostsResponse allocateDedicatedHostsWithOptions(AllocateDedicatedHostsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you create a dedicated host, you can call the DescribeAvailableResource operation to query the resources available in a specific region or zone. We recommend that you understand the billing methods of resources before you create a dedicated host. You are charged for resources used by the created dedicated host. For more information, see Billing overview.
Creates pay-as-you-go or subscription dedicated hosts. A dedicated host is a physical server dedicated to a single tenant. You can create Elastic Compute Service (ECS) instances on a dedicated host and view the attributes of a dedicated host.
request
- AllocateDedicatedHostsRequestruntime
- runtime options for this request RuntimeOptionsException
public AllocateDedicatedHostsResponse allocateDedicatedHosts(AllocateDedicatedHostsRequest request) throws Exception
Before you create a dedicated host, you can call the DescribeAvailableResource operation to query the resources available in a specific region or zone. We recommend that you understand the billing methods of resources before you create a dedicated host. You are charged for resources used by the created dedicated host. For more information, see Billing overview.
Creates pay-as-you-go or subscription dedicated hosts. A dedicated host is a physical server dedicated to a single tenant. You can create Elastic Compute Service (ECS) instances on a dedicated host and view the attributes of a dedicated host.
request
- AllocateDedicatedHostsRequestException
@Deprecated public AllocateEipAddressResponse allocateEipAddressWithOptions(AllocateEipAddressRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
This operation has been upgraded. We recommend that you do not use it. For information about the new version of this operation, see AllocateEipAddress.
request
- AllocateEipAddressRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public AllocateEipAddressResponse allocateEipAddress(AllocateEipAddressRequest request) throws Exception
This operation has been upgraded. We recommend that you do not use it. For information about the new version of this operation, see AllocateEipAddress.
request
- AllocateEipAddressRequestException
public AllocatePublicIpAddressResponse allocatePublicIpAddressWithOptions(AllocatePublicIpAddressRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Running
) or Stopped (Stopped
) state.OperationLocks
in the response of the DescribeInstances operation contains "LockReason" : "security"
for an instance, the instance is locked for security reasons and cannot be assigned a public IP address.AllocatedAlready
error code is returned.After you associate an EIP with an instance that resides in a VPC, you cannot assign a public IP address to the instance.
Assigns a public IP address to an Elastic Compute Service (ECS) instance.
request
- AllocatePublicIpAddressRequestruntime
- runtime options for this request RuntimeOptionsException
public AllocatePublicIpAddressResponse allocatePublicIpAddress(AllocatePublicIpAddressRequest request) throws Exception
Take note of the following items:
Running
) or Stopped (Stopped
) state.OperationLocks
in the response of the DescribeInstances operation contains "LockReason" : "security"
for an instance, the instance is locked for security reasons and cannot be assigned a public IP address.AllocatedAlready
error code is returned.After you associate an EIP with an instance that resides in a VPC, you cannot assign a public IP address to the instance.
Assigns a public IP address to an Elastic Compute Service (ECS) instance.
request
- AllocatePublicIpAddressRequestException
public ApplyAutoSnapshotPolicyResponse applyAutoSnapshotPolicyWithOptions(ApplyAutoSnapshotPolicyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Each disk can have only one automatic snapshot policy.
Applies an automatic snapshot policy to one or more disks. You can call this operation to replace the automatic snapshot policy of a disk.
request
- ApplyAutoSnapshotPolicyRequestruntime
- runtime options for this request RuntimeOptionsException
public ApplyAutoSnapshotPolicyResponse applyAutoSnapshotPolicy(ApplyAutoSnapshotPolicyRequest request) throws Exception
Each disk can have only one automatic snapshot policy.
Applies an automatic snapshot policy to one or more disks. You can call this operation to replace the automatic snapshot policy of a disk.
request
- ApplyAutoSnapshotPolicyRequestException
public AssignIpv6AddressesResponse assignIpv6AddressesWithOptions(AssignIpv6AddressesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can specify IPv6 addresses in the CIDR block of the vSwitch to which the ENI is connected. You can also specify the number of IPv6 addresses that the system assigns to the ENI. Take note of the following items:
Assigns one or more IPv6 addresses to an elastic network interface (ENI).
request
- AssignIpv6AddressesRequestruntime
- runtime options for this request RuntimeOptionsException
public AssignIpv6AddressesResponse assignIpv6Addresses(AssignIpv6AddressesRequest request) throws Exception
You can specify IPv6 addresses in the CIDR block of the vSwitch to which the ENI is connected. You can also specify the number of IPv6 addresses that the system assigns to the ENI. Take note of the following items:
Assigns one or more IPv6 addresses to an elastic network interface (ENI).
request
- AssignIpv6AddressesRequestException
public AssignPrivateIpAddressesResponse assignPrivateIpAddressesWithOptions(AssignPrivateIpAddressesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Assigns one or more secondary private IP addresses to an elastic network interface (ENI). You can specify available private IP addresses within the CIDR block of the vSwitch that is connected to the ENI. Alternatively, you can specify a number of private IP addresses to automatically assign from the CIDR block of the vSwitch to the ENI.
request
- AssignPrivateIpAddressesRequestruntime
- runtime options for this request RuntimeOptionsException
public AssignPrivateIpAddressesResponse assignPrivateIpAddresses(AssignPrivateIpAddressesRequest request) throws Exception
Assigns one or more secondary private IP addresses to an elastic network interface (ENI). You can specify available private IP addresses within the CIDR block of the vSwitch that is connected to the ENI. Alternatively, you can specify a number of private IP addresses to automatically assign from the CIDR block of the vSwitch to the ENI.
request
- AssignPrivateIpAddressesRequestException
@Deprecated public AssociateEipAddressResponse associateEipAddressWithOptions(AssociateEipAddressRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- AssociateEipAddressRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public AssociateEipAddressResponse associateEipAddress(AssociateEipAddressRequest request) throws Exception
request
- AssociateEipAddressRequestException
@Deprecated public AssociateHaVipResponse associateHaVipWithOptions(AssociateHaVipRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- AssociateHaVipRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public AssociateHaVipResponse associateHaVip(AssociateHaVipRequest request) throws Exception
request
- AssociateHaVipRequestException
public AttachClassicLinkVpcResponse attachClassicLinkVpcWithOptions(AttachClassicLinkVpcRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, take note of the following items:
Links an instance that is deployed in the classic network to a virtual private cloud (VPC) by establishing a ClassicLink connection between the instance and the VPC. This way, the instance can communicate with cloud resources in the VPC over the internal network.
request
- AttachClassicLinkVpcRequestruntime
- runtime options for this request RuntimeOptionsException
public AttachClassicLinkVpcResponse attachClassicLinkVpc(AttachClassicLinkVpcRequest request) throws Exception
When you call this operation, take note of the following items:
Links an instance that is deployed in the classic network to a virtual private cloud (VPC) by establishing a ClassicLink connection between the instance and the VPC. This way, the instance can communicate with cloud resources in the VPC over the internal network.
request
- AttachClassicLinkVpcRequestException
public AttachDiskResponse attachDiskWithOptions(AttachDiskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Available
) state.Running
) or Stopped (Stopped
) state.Stopped
) state.{"OperationLocks": {"LockReason" : "security"}}
when you query information about an ECS instance, the instance is locked for security reasons and no operations are allowed on the instance.Attaches a pay-as-you-go data disk or a system disk to an Elastic Compute Service (ECS) instance. The instance and the disk must reside in the same zone.
request
- AttachDiskRequestruntime
- runtime options for this request RuntimeOptionsException
public AttachDiskResponse attachDisk(AttachDiskRequest request) throws Exception
Take note of the following items:
Available
) state.Running
) or Stopped (Stopped
) state.Stopped
) state.{"OperationLocks": {"LockReason" : "security"}}
when you query information about an ECS instance, the instance is locked for security reasons and no operations are allowed on the instance.Attaches a pay-as-you-go data disk or a system disk to an Elastic Compute Service (ECS) instance. The instance and the disk must reside in the same zone.
request
- AttachDiskRequestException
public AttachInstanceRamRoleResponse attachInstanceRamRoleWithOptions(AttachInstanceRamRoleRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Attaches an instance Resource Access Management (RAM) role to one or more Elastic Compute Service (ECS) instances. An instance can have only a single instance RAM role. If an instance already has an instance RAM role, an error is returned when you attach another instance RAM role to the instance.
request
- AttachInstanceRamRoleRequestruntime
- runtime options for this request RuntimeOptionsException
public AttachInstanceRamRoleResponse attachInstanceRamRole(AttachInstanceRamRoleRequest request) throws Exception
Attaches an instance Resource Access Management (RAM) role to one or more Elastic Compute Service (ECS) instances. An instance can have only a single instance RAM role. If an instance already has an instance RAM role, an error is returned when you attach another instance RAM role to the instance.
request
- AttachInstanceRamRoleRequestException
public AttachKeyPairResponse attachKeyPairWithOptions(AttachKeyPairRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Binds an SSH key pair to one or more Linux instances.
request
- AttachKeyPairRequestruntime
- runtime options for this request RuntimeOptionsException
public AttachKeyPairResponse attachKeyPair(AttachKeyPairRequest request) throws Exception
Take note of the following items:
Binds an SSH key pair to one or more Linux instances.
request
- AttachKeyPairRequestException
public AttachNetworkInterfaceResponse attachNetworkInterfaceWithOptions(AttachNetworkInterfaceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
If the last start time of the instance (including the start time of the instance if it is a new instance, the last restart time of the instance, and the last reactivation time of the instance) is before April 1st, 2018 and the instance is in the Running state, you must call the RebootInstance operation to restart the instance. If you do not call the RebootInstance operation to restart the instance, you cannot attach the ENI to the instance.
Attaches an elastic network interface (ENI) to an Elastic Compute Service (ECS) instance that resides in a virtual private cloud (VPC). When you call this operation, you can specify parameters, such as NetworkInterfaceId, InstanceId, and NetworkCardIndex, in the request.
request
- AttachNetworkInterfaceRequestruntime
- runtime options for this request RuntimeOptionsException
public AttachNetworkInterfaceResponse attachNetworkInterface(AttachNetworkInterfaceRequest request) throws Exception
Take note of the following items:
If the last start time of the instance (including the start time of the instance if it is a new instance, the last restart time of the instance, and the last reactivation time of the instance) is before April 1st, 2018 and the instance is in the Running state, you must call the RebootInstance operation to restart the instance. If you do not call the RebootInstance operation to restart the instance, you cannot attach the ENI to the instance.
Attaches an elastic network interface (ENI) to an Elastic Compute Service (ECS) instance that resides in a virtual private cloud (VPC). When you call this operation, you can specify parameters, such as NetworkInterfaceId, InstanceId, and NetworkCardIndex, in the request.
request
- AttachNetworkInterfaceRequestException
public AuthorizeSecurityGroupResponse authorizeSecurityGroupWithOptions(AuthorizeSecurityGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Permissions.N
-prefixed counterparts cannot be specified at the same time. We recommend that you use the Permissions.N
-prefixed parameters.Creates inbound rules in a security group. You can use the created rules to allow or deny inbound traffic from other hosts to instances in the security group.
request
- AuthorizeSecurityGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public AuthorizeSecurityGroupResponse authorizeSecurityGroup(AuthorizeSecurityGroupRequest request) throws Exception
Take note of the following items:
Permissions.N
-prefixed counterparts cannot be specified at the same time. We recommend that you use the Permissions.N
-prefixed parameters.Creates inbound rules in a security group. You can use the created rules to allow or deny inbound traffic from other hosts to instances in the security group.
request
- AuthorizeSecurityGroupRequestException
public AuthorizeSecurityGroupEgressResponse authorizeSecurityGroupEgressWithOptions(AuthorizeSecurityGroupEgressRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
In the security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device. When you call this operation, take note of the following items:
Permissions.N
prefix is added to some parameters to generate new parameters. Original parameters and corresponding parameters prefixed with Permissions.N cannot be configured together. We recommend that you use parameters prefixed with Permissions.N
.Creates outbound rules in a security group. You can use the created rules to allow or deny outbound traffic from instances in the security group to other objects.
request
- AuthorizeSecurityGroupEgressRequestruntime
- runtime options for this request RuntimeOptionsException
public AuthorizeSecurityGroupEgressResponse authorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest request) throws Exception
In the security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device. When you call this operation, take note of the following items:
Permissions.N
prefix is added to some parameters to generate new parameters. Original parameters and corresponding parameters prefixed with Permissions.N cannot be configured together. We recommend that you use parameters prefixed with Permissions.N
.Creates outbound rules in a security group. You can use the created rules to allow or deny outbound traffic from instances in the security group to other objects.
request
- AuthorizeSecurityGroupEgressRequestException
public CancelAutoSnapshotPolicyResponse cancelAutoSnapshotPolicyWithOptions(CancelAutoSnapshotPolicyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Disables automatic snapshot policies for one or more disks.
request
- CancelAutoSnapshotPolicyRequestruntime
- runtime options for this request RuntimeOptionsException
public CancelAutoSnapshotPolicyResponse cancelAutoSnapshotPolicy(CancelAutoSnapshotPolicyRequest request) throws Exception
Disables automatic snapshot policies for one or more disks.
request
- CancelAutoSnapshotPolicyRequestException
public CancelCopyImageResponse cancelCopyImageWithOptions(CancelCopyImageRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, take note of the following items:
Cancels an ongoing image copy task.
request
- CancelCopyImageRequestruntime
- runtime options for this request RuntimeOptionsException
public CancelCopyImageResponse cancelCopyImage(CancelCopyImageRequest request) throws Exception
When you call this operation, take note of the following items:
Cancels an ongoing image copy task.
request
- CancelCopyImageRequestException
public CancelImagePipelineExecutionResponse cancelImagePipelineExecutionWithOptions(CancelImagePipelineExecutionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation, make sure that the image build task to be canceled is in the BUILDING, DISTRIBUTING, or RELEASING state.
summary :You can call this operation to cancel an image build task.
request
- CancelImagePipelineExecutionRequestruntime
- runtime options for this request RuntimeOptionsException
public CancelImagePipelineExecutionResponse cancelImagePipelineExecution(CancelImagePipelineExecutionRequest request) throws Exception
Before you call this operation, make sure that the image build task to be canceled is in the BUILDING, DISTRIBUTING, or RELEASING state.
summary :You can call this operation to cancel an image build task.
request
- CancelImagePipelineExecutionRequestException
@Deprecated public CancelPhysicalConnectionResponse cancelPhysicalConnectionWithOptions(CancelPhysicalConnectionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- CancelPhysicalConnectionRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CancelPhysicalConnectionResponse cancelPhysicalConnection(CancelPhysicalConnectionRequest request) throws Exception
request
- CancelPhysicalConnectionRequestException
public CancelSimulatedSystemEventsResponse cancelSimulatedSystemEventsWithOptions(CancelSimulatedSystemEventsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Cancels simulated system events that are in the Scheduled or Executing state. After you cancel a simulated system event, the simulated event enters the Canceled state.
request
- CancelSimulatedSystemEventsRequestruntime
- runtime options for this request RuntimeOptionsException
public CancelSimulatedSystemEventsResponse cancelSimulatedSystemEvents(CancelSimulatedSystemEventsRequest request) throws Exception
Cancels simulated system events that are in the Scheduled or Executing state. After you cancel a simulated system event, the simulated event enters the Canceled state.
request
- CancelSimulatedSystemEventsRequestException
public CancelTaskResponse cancelTaskWithOptions(CancelTaskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The region ID of the task. You can call the DescribeRegions operation to query the most recent region list.
request
- CancelTaskRequestruntime
- runtime options for this request RuntimeOptionsException
public CancelTaskResponse cancelTask(CancelTaskRequest request) throws Exception
The region ID of the task. You can call the DescribeRegions operation to query the most recent region list.
request
- CancelTaskRequestException
@Deprecated public ConnectRouterInterfaceResponse connectRouterInterfaceWithOptions(ConnectRouterInterfaceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ConnectRouterInterfaceRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ConnectRouterInterfaceResponse connectRouterInterface(ConnectRouterInterfaceRequest request) throws Exception
request
- ConnectRouterInterfaceRequestException
public ConvertNatPublicIpToEipResponse convertNatPublicIpToEipWithOptions(ConvertNatPublicIpToEipRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
After a public IP address is converted into an EIP, the EIP is billed separately. Make sure that you fully understand the billing methods of EIPs. For more information, see Billing overview. When you call this operation, make sure that the ECS instance meets the following requirements:
Stopped
) or Running (Running
) state.pay-by-traffic
. The public IP address of a subscription instance that uses the pay-by-bandwidth
billing method for network usage cannot be converted into an EIP. This requirement does not apply to pay-as-you-go instances. For more information, see Change the billing method for network usage.Converts the public IP address of an Elastic Compute Service (ECS) instance located in a virtual private cloud (VPC) into an elastic IP address (EIP).
request
- ConvertNatPublicIpToEipRequestruntime
- runtime options for this request RuntimeOptionsException
public ConvertNatPublicIpToEipResponse convertNatPublicIpToEip(ConvertNatPublicIpToEipRequest request) throws Exception
After a public IP address is converted into an EIP, the EIP is billed separately. Make sure that you fully understand the billing methods of EIPs. For more information, see Billing overview. When you call this operation, make sure that the ECS instance meets the following requirements:
Stopped
) or Running (Running
) state.pay-by-traffic
. The public IP address of a subscription instance that uses the pay-by-bandwidth
billing method for network usage cannot be converted into an EIP. This requirement does not apply to pay-as-you-go instances. For more information, see Change the billing method for network usage.Converts the public IP address of an Elastic Compute Service (ECS) instance located in a virtual private cloud (VPC) into an elastic IP address (EIP).
request
- ConvertNatPublicIpToEipRequestException
public CopyImageResponse copyImageWithOptions(CopyImageRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
After you copy a custom image to the destination region, you can use the image copy (new image) to create ECS instances by calling the RunInstances operation or replace the system disks of instances by calling the ReplaceSystemDisk operation in the destination region. Take note of the following items:
Available
state can be copied.ResourceGroupId
to specify the resource group to which to assign the new image. If you do not configure ResourceGroupId
, the new image is assigned to the default resource group.Copies a custom image from one region to another. You can deploy or copy Elastic Compute Service (ECS) instances across regions by copying custom images.
request
- CopyImageRequestruntime
- runtime options for this request RuntimeOptionsException
public CopyImageResponse copyImage(CopyImageRequest request) throws Exception
After you copy a custom image to the destination region, you can use the image copy (new image) to create ECS instances by calling the RunInstances operation or replace the system disks of instances by calling the ReplaceSystemDisk operation in the destination region. Take note of the following items:
Available
state can be copied.ResourceGroupId
to specify the resource group to which to assign the new image. If you do not configure ResourceGroupId
, the new image is assigned to the default resource group.Copies a custom image from one region to another. You can deploy or copy Elastic Compute Service (ECS) instances across regions by copying custom images.
request
- CopyImageRequestException
public CopySnapshotResponse copySnapshotWithOptions(CopySnapshotRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Copies a standard or encrypted snapshot from one region to another.
request
- CopySnapshotRequestruntime
- runtime options for this request RuntimeOptionsException
public CopySnapshotResponse copySnapshot(CopySnapshotRequest request) throws Exception
Take note of the following items:
Copies a standard or encrypted snapshot from one region to another.
request
- CopySnapshotRequestException
public CreateActivationResponse createActivationWithOptions(CreateActivationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
After you use an activation code to register a server that is not provided by Alibaba Cloud as an Alibaba Cloud managed instance, you can use a variety of online services provided by Alibaba Cloud, such as Cloud Assistant, CloudOps Orchestration Service (OOS), and Apsara Devops on the managed instance. If a server is not provided by Alibaba Cloud, you can register the server as an Alibaba Cloud managed instance only if the server has Internet connectivity and runs one of the following operating systems:
To obtain the usage of activation codes, go to the ECS Cloud Assistant page, click the Manage Instances tab, and then click Register Instance.
Creates an activation code. The activation code is used to register servers that are not provided by Alibaba Cloud as Alibaba Cloud managed instances.
request
- CreateActivationRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateActivationResponse createActivation(CreateActivationRequest request) throws Exception
After you use an activation code to register a server that is not provided by Alibaba Cloud as an Alibaba Cloud managed instance, you can use a variety of online services provided by Alibaba Cloud, such as Cloud Assistant, CloudOps Orchestration Service (OOS), and Apsara Devops on the managed instance. If a server is not provided by Alibaba Cloud, you can register the server as an Alibaba Cloud managed instance only if the server has Internet connectivity and runs one of the following operating systems:
To obtain the usage of activation codes, go to the ECS Cloud Assistant page, click the Manage Instances tab, and then click Register Instance.
Creates an activation code. The activation code is used to register servers that are not provided by Alibaba Cloud as Alibaba Cloud managed instances.
request
- CreateActivationRequestException
public CreateAutoProvisioningGroupResponse createAutoProvisioningGroupWithOptions(CreateAutoProvisioningGroupRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
LaunchTemplateId
) and extended configurations (LaunchConfiguration.*
parameters), LaunchTemplateId takes precedence.Creates an auto provisioning group. When you call this operation, you can specify parameters, such as ResourceGroupId, AutoProvisioningGroupType, and ValidFrom, in the request.
tmpReq
- CreateAutoProvisioningGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateAutoProvisioningGroupResponse createAutoProvisioningGroup(CreateAutoProvisioningGroupRequest request) throws Exception
LaunchTemplateId
) and extended configurations (LaunchConfiguration.*
parameters), LaunchTemplateId takes precedence.Creates an auto provisioning group. When you call this operation, you can specify parameters, such as ResourceGroupId, AutoProvisioningGroupType, and ValidFrom, in the request.
request
- CreateAutoProvisioningGroupRequestException
public CreateAutoSnapshotPolicyResponse createAutoSnapshotPolicyWithOptions(CreateAutoSnapshotPolicyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements. After the automatic snapshot policy is created, call the ApplyAutoSnapshotPolicy operation to apply the policy to disks. If you want to modify the automatic snapshot policy, call the ModifyAutoSnapshotPolicyEx operation. Take note of the following items:
Creates an automatic snapshot policy in a specific region. Automatic snapshot policies allow Elastic Compute Service (ECS) to create snapshots for a disk on a regular basis to back up data. The policies can be applied to both system disks and data disks. If cross-region snapshot replication is enabled and no encryption parameters are configured, encrypted snapshots are copied to the destination region and snapshot copies are encrypted by using the default service customer master key (CMK) that was created by Key Management Service (KMS) in the destination region.
request
- CreateAutoSnapshotPolicyRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateAutoSnapshotPolicyResponse createAutoSnapshotPolicy(CreateAutoSnapshotPolicyRequest request) throws Exception
When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements. After the automatic snapshot policy is created, call the ApplyAutoSnapshotPolicy operation to apply the policy to disks. If you want to modify the automatic snapshot policy, call the ModifyAutoSnapshotPolicyEx operation. Take note of the following items:
Creates an automatic snapshot policy in a specific region. Automatic snapshot policies allow Elastic Compute Service (ECS) to create snapshots for a disk on a regular basis to back up data. The policies can be applied to both system disks and data disks. If cross-region snapshot replication is enabled and no encryption parameters are configured, encrypted snapshots are copied to the destination region and snapshot copies are encrypted by using the default service customer master key (CMK) that was created by Key Management Service (KMS) in the destination region.
request
- CreateAutoSnapshotPolicyRequestException
public CreateCapacityReservationResponse createCapacityReservationWithOptions(CreateCapacityReservationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you create a capacity reservation, you can specify attributes such as a zone and an instance type. The system uses a private pool to reserve resources that match the specified attributes. For more information, see Overview of Immediate Capacity Reservation.
You can call the CreateCapacityReservation operation to create only immediate capacity reservations. You can create immediate or scheduled capacity reservations in the Elastic Compute Service (ECS) console. For more information, see Overview.
Creates a capacity reservation.
request
- CreateCapacityReservationRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateCapacityReservationResponse createCapacityReservation(CreateCapacityReservationRequest request) throws Exception
When you create a capacity reservation, you can specify attributes such as a zone and an instance type. The system uses a private pool to reserve resources that match the specified attributes. For more information, see Overview of Immediate Capacity Reservation.
You can call the CreateCapacityReservation operation to create only immediate capacity reservations. You can create immediate or scheduled capacity reservations in the Elastic Compute Service (ECS) console. For more information, see Overview.
Creates a capacity reservation.
request
- CreateCapacityReservationRequestException
public CreateCommandResponse createCommandWithOptions(CreateCommandRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
/root
. For Windows instances, the default execution directory of Cloud Assistant commands is the directory where the Cloud Assistant Agent process resides, such as C:\\Windows\\System32
.echo {{name}}
, the Parameters parameter can be used to pass in the <name, Jack>
key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. As a result, the echo Jack
command is run.Creates a Cloud Assistant command, which can be a Shell, PowerShell, or batch command. You can specify parameters, such as Name, Type, and CommandContent, in the request.
request
- CreateCommandRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateCommandResponse createCommand(CreateCommandRequest request) throws Exception
/root
. For Windows instances, the default execution directory of Cloud Assistant commands is the directory where the Cloud Assistant Agent process resides, such as C:\\Windows\\System32
.echo {{name}}
, the Parameters parameter can be used to pass in the <name, Jack>
key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. As a result, the echo Jack
command is run.Creates a Cloud Assistant command, which can be a Shell, PowerShell, or batch command. You can specify parameters, such as Name, Type, and CommandContent, in the request.
request
- CreateCommandRequestException
public CreateDedicatedHostClusterResponse createDedicatedHostClusterWithOptions(CreateDedicatedHostClusterRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Creates a dedicated host cluster. When you call this operation, you can specify parameters, such as ResourceGroupId, DedicatedHostClusterName, and ZoneId, in the request.
request
- CreateDedicatedHostClusterRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateDedicatedHostClusterResponse createDedicatedHostCluster(CreateDedicatedHostClusterRequest request) throws Exception
Creates a dedicated host cluster. When you call this operation, you can specify parameters, such as ResourceGroupId, DedicatedHostClusterName, and ZoneId, in the request.
request
- CreateDedicatedHostClusterRequestException
@Deprecated public CreateDemandResponse createDemandWithOptions(CreateDemandRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call this operation to file a demand for an ECS instance type. Alibaba Cloud provides the requested resources based on your demand. You can file demands only for I/O optimized instance types and instances of the virtual private cloud (VPC) type.
summary :This operation is in internal preview and has not been officially released. We recommend that you do not call this operation.
Creates a demand for Elastic Compute Service (ECS) resources.
request
- CreateDemandRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CreateDemandResponse createDemand(CreateDemandRequest request) throws Exception
You can call this operation to file a demand for an ECS instance type. Alibaba Cloud provides the requested resources based on your demand. You can file demands only for I/O optimized instance types and instances of the virtual private cloud (VPC) type.
summary :This operation is in internal preview and has not been officially released. We recommend that you do not call this operation.
Creates a demand for Elastic Compute Service (ECS) resources.
request
- CreateDemandRequestException
public CreateDeploymentSetResponse createDeploymentSetWithOptions(CreateDeploymentSetRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Creates a deployment set in a region.
request
- CreateDeploymentSetRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateDeploymentSetResponse createDeploymentSet(CreateDeploymentSetRequest request) throws Exception
Creates a deployment set in a region.
request
- CreateDeploymentSetRequestException
public CreateDiagnosticMetricSetResponse createDiagnosticMetricSetWithOptions(CreateDiagnosticMetricSetRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The operation that you want to perform. Set the value to CreateDiagnosticMetricSet.
request
- CreateDiagnosticMetricSetRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateDiagnosticMetricSetResponse createDiagnosticMetricSet(CreateDiagnosticMetricSetRequest request) throws Exception
The operation that you want to perform. Set the value to CreateDiagnosticMetricSet.
request
- CreateDiagnosticMetricSetRequestException
public CreateDiagnosticReportResponse createDiagnosticReportWithOptions(CreateDiagnosticReportRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
创建诊断报告
request
- CreateDiagnosticReportRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateDiagnosticReportResponse createDiagnosticReport(CreateDiagnosticReportRequest request) throws Exception
创建诊断报告
request
- CreateDiagnosticReportRequestException
public CreateDiskResponse createDiskWithOptions(CreateDiskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
MultiAttach
) feature when you create a disk. Before you enable the multi-attach feature, we recommend that you familiarize yourself with the feature and its limits. For more information, see NVMe disks and Enable multi-attach.DeleteAutoSnapshot
is set to true
when a disk is created. This indicates that the automatic snapshots of the disk are deleted when the disk is released. You can call the ModifyDiskAttribute operation to change the parameter value.Portable
is set to true
and the billing method is pay-as-you-go for a disk that is created by calling the CreateDisk operation.Creates a pay-as-you-go or subscription data disk. When you call this operation, you can specify parameters, such as ZoneId, SnapshotId, Size, and DiskCategory, in the request.
request
- CreateDiskRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateDiskResponse createDisk(CreateDiskRequest request) throws Exception
MultiAttach
) feature when you create a disk. Before you enable the multi-attach feature, we recommend that you familiarize yourself with the feature and its limits. For more information, see NVMe disks and Enable multi-attach.DeleteAutoSnapshot
is set to true
when a disk is created. This indicates that the automatic snapshots of the disk are deleted when the disk is released. You can call the ModifyDiskAttribute operation to change the parameter value.Portable
is set to true
and the billing method is pay-as-you-go for a disk that is created by calling the CreateDisk operation.Creates a pay-as-you-go or subscription data disk. When you call this operation, you can specify parameters, such as ZoneId, SnapshotId, Size, and DiskCategory, in the request.
request
- CreateDiskRequestException
public CreateElasticityAssuranceResponse createElasticityAssuranceWithOptions(CreateElasticityAssuranceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Elasticity Assurance provides a new way to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see Overview of Elasticity Assurance.
AssuranceTimes
only to Unlimited
. Elasticity assurances in unlimited mode can be applied an unlimited number of times within their effective period and take effect immediately after they are purchased.Creates an elasticity assurance.
request
- CreateElasticityAssuranceRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateElasticityAssuranceResponse createElasticityAssurance(CreateElasticityAssuranceRequest request) throws Exception
Elasticity Assurance provides a new way to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see Overview of Elasticity Assurance.
AssuranceTimes
only to Unlimited
. Elasticity assurances in unlimited mode can be applied an unlimited number of times within their effective period and take effect immediately after they are purchased.Creates an elasticity assurance.
request
- CreateElasticityAssuranceRequestException
@Deprecated public CreateForwardEntryResponse createForwardEntryWithOptions(CreateForwardEntryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- CreateForwardEntryRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CreateForwardEntryResponse createForwardEntry(CreateForwardEntryRequest request) throws Exception
request
- CreateForwardEntryRequestException
@Deprecated public CreateHaVipResponse createHaVipWithOptions(CreateHaVipRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- CreateHaVipRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CreateHaVipResponse createHaVip(CreateHaVipRequest request) throws Exception
request
- CreateHaVipRequestException
public CreateHpcClusterResponse createHpcClusterWithOptions(CreateHpcClusterRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Creates a high performance computing (HPC) cluster.
request
- CreateHpcClusterRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateHpcClusterResponse createHpcCluster(CreateHpcClusterRequest request) throws Exception
Creates a high performance computing (HPC) cluster.
request
- CreateHpcClusterRequestException
public CreateImageResponse createImageWithOptions(CreateImageRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
{"OperationLocks": {"LockReason" : "security"}}
when you query the information of an instance, the instance is locked for security reasons. No operations are allowed on the instance.InstanceId
> DiskDeviceMapping
> SnapshotId
. If your request contains two or more of these parameters, the custom image is created based on the parameter that has a higher priority.InstanceId
. The instance must be in the Running (Running
) or Stopped (Stopped
) state. After you call the CreateImage operation, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, cache data may not be written to disks. In this case, the data of the custom image may be slightly different from the data of the instance. We recommend that you stop instances by calling the StopInstances operation before you create custom images from the instances.SnapshotId
. The specified system disk snapshot must be created after July 15, 2013.DiskDeviceMapping
.
When you use Method 3 to create a custom image, take note of the following items:SnapshotId
empty. In this case, an empty data disk with the specified size is created.Creates a custom image. After you call this operation to create a custom image, you can call the RunInstances operation to create Elastic Compute Service (ECS) instances from the custom image or call the ReplaceSystemDisk operation to replace system disks by using the custom image.
request
- CreateImageRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateImageResponse createImage(CreateImageRequest request) throws Exception
Take note of the following items:
{"OperationLocks": {"LockReason" : "security"}}
when you query the information of an instance, the instance is locked for security reasons. No operations are allowed on the instance.InstanceId
> DiskDeviceMapping
> SnapshotId
. If your request contains two or more of these parameters, the custom image is created based on the parameter that has a higher priority.InstanceId
. The instance must be in the Running (Running
) or Stopped (Stopped
) state. After you call the CreateImage operation, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, cache data may not be written to disks. In this case, the data of the custom image may be slightly different from the data of the instance. We recommend that you stop instances by calling the StopInstances operation before you create custom images from the instances.SnapshotId
. The specified system disk snapshot must be created after July 15, 2013.DiskDeviceMapping
.
When you use Method 3 to create a custom image, take note of the following items:SnapshotId
empty. In this case, an empty data disk with the specified size is created.Creates a custom image. After you call this operation to create a custom image, you can call the RunInstances operation to create Elastic Compute Service (ECS) instances from the custom image or call the ReplaceSystemDisk operation to replace system disks by using the custom image.
request
- CreateImageRequestException
public CreateImageComponentResponse createImageComponentWithOptions(CreateImageComponentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
SystemType
to Linux.ComponentType
to Build.Content
parameter. The content size can be up to 16 KB. FROM
commands cannot be used in image components. An image component supports up to 127 commands. For information about the supported commands, see Commands supported by Image Builder.
You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to create image templates from image components. For more information, see What is Image Builder.Creates an image component. Image components are used to store the image template commands that are commonly used to create images.
request
- CreateImageComponentRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateImageComponentResponse createImageComponent(CreateImageComponentRequest request) throws Exception
Take note of the following items:
SystemType
to Linux.ComponentType
to Build.Content
parameter. The content size can be up to 16 KB. FROM
commands cannot be used in image components. An image component supports up to 127 commands. For information about the supported commands, see Commands supported by Image Builder.
You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to create image templates from image components. For more information, see What is Image Builder.Creates an image component. Image components are used to store the image template commands that are commonly used to create images.
request
- CreateImageComponentRequestException
public CreateImagePipelineResponse createImagePipelineWithOptions(CreateImagePipelineRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can use image templates to customize image content and create images across regions and accounts. Take note of the following items:
BuildContent
parameter to specify the content of the image template, take note of the following items:BuildContent
value contains FROM
commands, the FROM
commands override the values of BaseImageType
that specifies the type of the source image and BaseImage
that specifies the source image.BuildContent
value does not contain FROM
commands, the system creates a FROM
command that consists of the BaseImageType
and BaseImage
values in the format of <BaseImageType>:<BaseImage>
and adds the command to the first line of the template content.BuildContent
parameter. The content cannot be greater than 16 KB in size and can contain up to 127 commands. For information about commands supported by image templates, see Commands supported by Image Builder.
You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see What is Image Builder.Creates an image template. Image templates can be used to create images.
request
- CreateImagePipelineRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateImagePipelineResponse createImagePipeline(CreateImagePipelineRequest request) throws Exception
You can use image templates to customize image content and create images across regions and accounts. Take note of the following items:
BuildContent
parameter to specify the content of the image template, take note of the following items:BuildContent
value contains FROM
commands, the FROM
commands override the values of BaseImageType
that specifies the type of the source image and BaseImage
that specifies the source image.BuildContent
value does not contain FROM
commands, the system creates a FROM
command that consists of the BaseImageType
and BaseImage
values in the format of <BaseImageType>:<BaseImage>
and adds the command to the first line of the template content.BuildContent
parameter. The content cannot be greater than 16 KB in size and can contain up to 127 commands. For information about commands supported by image templates, see Commands supported by Image Builder.
You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see What is Image Builder.Creates an image template. Image templates can be used to create images.
request
- CreateImagePipelineRequestException
public CreateInstanceResponse createInstanceWithOptions(CreateInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call the DescribeAvailableResource operation to query available resources in a specific region or zone. If you want to batch create instances that automatically enter the Running state after they are created, we recommend that you call the RunInstances operation. Take note of the following items:
PrePaid
), available coupons in your account are used by default.IoOptimized
parameter to specify whether to create an I/O optimized instance.If the
QuotaExceed.ElasticQuota
error is returned when you call this operation, it indicates that the maximum number of instances of the specified instance type in the region has been reached, or the maximum number of vCPUs for all instance types in a zone has been reached. You can go to the ECS console or Quota Center to request a quota increase.
VSwitchId
is specified, the security group specified by SecurityGroupId
and the vSwitch specified by VSwitchId
must belong to the same VPC.PrivateIpAddress
varies based on the value of VSwitchId
. PrivateIpAddress
cannot be separately specified. If VSwitchId
and PrivateIpAddress
are specified, the IP address specified by PrivateIpAddress
must be an idle IP address in the CIDR block of the specified vSwitch.CreateInstance
operation to create an instance, no public IP addresses are assigned to the instance. You can call the AllocatePublicIpAddress operation to assign a public IP address to an instance.InternetChargeType
and InternetMaxBandwidthOut
.InternetMaxBandwidthIn
does not affect billing because inbound data traffic is free of charge.InternetChargeType
is set to PayByBandwidth, InternetMaxBandwidthOut
specifies the fixed bandwidth. A fixed bandwidth is a specified amount of public bandwidth allocated to an instance that uses the pay-by-bandwidth billing method for network usage.InternetChargeType
is set to PayByTraffic, InternetMaxBandwidthOut
specifies the peak bandwidth. A peak bandwidth is the maximum amount of public bandwidth that an instance can consume when the instance uses the pay-by-traffic billing method for network usage. Network usage costs are calculated based on the volume of network traffic.20 GiB
and greater than or equal to the image size. For information about system disk categories, see the description of SystemDisk.Category
.cloud_essd
), a standard SSD (cloud_ssd
), or an ultra disk (cloud_efficiency
).DataDisk.N.Size
.If the
QuotaExceed.DiskCapacity
error is returned when you call this operation, it indicates that the maximum capacity of the disks of the selected disk category in the specified zone has been reached. You can go to the Quota Center to query and request a quota increase.
UserData
values when API requests are transmitted. If you must pass in confidential information, we recommend that you encrypt and encode the information in Base64 before you pass in the information. Then decode and decrypt the information in the same way within the instance.SystemDiskCategory
instead of SystemDisk.Category
as a request parameter.Creates a subscription or pay-as-you-go Elastic Compute Service (ECS) instance. When you call this operation, you can specify parameters, such as ImageId, InstanceType, SecurityGroupId, and InternetChargeType, in the request.
request
- CreateInstanceRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateInstanceResponse createInstance(CreateInstanceRequest request) throws Exception
You can call the DescribeAvailableResource operation to query available resources in a specific region or zone. If you want to batch create instances that automatically enter the Running state after they are created, we recommend that you call the RunInstances operation. Take note of the following items:
PrePaid
), available coupons in your account are used by default.IoOptimized
parameter to specify whether to create an I/O optimized instance.If the
QuotaExceed.ElasticQuota
error is returned when you call this operation, it indicates that the maximum number of instances of the specified instance type in the region has been reached, or the maximum number of vCPUs for all instance types in a zone has been reached. You can go to the ECS console or Quota Center to request a quota increase.
VSwitchId
is specified, the security group specified by SecurityGroupId
and the vSwitch specified by VSwitchId
must belong to the same VPC.PrivateIpAddress
varies based on the value of VSwitchId
. PrivateIpAddress
cannot be separately specified. If VSwitchId
and PrivateIpAddress
are specified, the IP address specified by PrivateIpAddress
must be an idle IP address in the CIDR block of the specified vSwitch.CreateInstance
operation to create an instance, no public IP addresses are assigned to the instance. You can call the AllocatePublicIpAddress operation to assign a public IP address to an instance.InternetChargeType
and InternetMaxBandwidthOut
.InternetMaxBandwidthIn
does not affect billing because inbound data traffic is free of charge.InternetChargeType
is set to PayByBandwidth, InternetMaxBandwidthOut
specifies the fixed bandwidth. A fixed bandwidth is a specified amount of public bandwidth allocated to an instance that uses the pay-by-bandwidth billing method for network usage.InternetChargeType
is set to PayByTraffic, InternetMaxBandwidthOut
specifies the peak bandwidth. A peak bandwidth is the maximum amount of public bandwidth that an instance can consume when the instance uses the pay-by-traffic billing method for network usage. Network usage costs are calculated based on the volume of network traffic.20 GiB
and greater than or equal to the image size. For information about system disk categories, see the description of SystemDisk.Category
.cloud_essd
), a standard SSD (cloud_ssd
), or an ultra disk (cloud_efficiency
).DataDisk.N.Size
.If the
QuotaExceed.DiskCapacity
error is returned when you call this operation, it indicates that the maximum capacity of the disks of the selected disk category in the specified zone has been reached. You can go to the Quota Center to query and request a quota increase.
UserData
values when API requests are transmitted. If you must pass in confidential information, we recommend that you encrypt and encode the information in Base64 before you pass in the information. Then decode and decrypt the information in the same way within the instance.SystemDiskCategory
instead of SystemDisk.Category
as a request parameter.Creates a subscription or pay-as-you-go Elastic Compute Service (ECS) instance. When you call this operation, you can specify parameters, such as ImageId, InstanceType, SecurityGroupId, and InternetChargeType, in the request.
request
- CreateInstanceRequestException
public CreateKeyPairResponse createKeyPairWithOptions(CreateKeyPairRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
In addition to calling the CreateKeyPair operation to create a key pair, you can use a third-party tool to create a key pair and then call the ImportKeyPair operation to upload the key pair to an Alibaba Cloud region. Up to 500 key pairs can be created in each region. For more information, see the "SSH key pair limits" section in Limits.
summary :Creates an SSH key pair. The system stores the public key and returns the unencrypted private key. The private key is encoded with PEM in the PKCS#8 format. You must properly store the private key and ensure its confidentiality.
request
- CreateKeyPairRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateKeyPairResponse createKeyPair(CreateKeyPairRequest request) throws Exception
In addition to calling the CreateKeyPair operation to create a key pair, you can use a third-party tool to create a key pair and then call the ImportKeyPair operation to upload the key pair to an Alibaba Cloud region. Up to 500 key pairs can be created in each region. For more information, see the "SSH key pair limits" section in Limits.
summary :Creates an SSH key pair. The system stores the public key and returns the unencrypted private key. The private key is encoded with PEM in the PKCS#8 format. You must properly store the private key and ensure its confidentiality.
request
- CreateKeyPairRequestException
public CreateLaunchTemplateResponse createLaunchTemplateWithOptions(CreateLaunchTemplateRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
After you create a launch template by calling the CreateLaunchTemplate operation, a default version that has a version number of 1 is automatically generated for the launch template. You can call the CreateLaunchTemplateVersion
operation to create additional versions for the launch template. Version numbers start from 1 and increment by 1. If you specify a launch template but do not specify a launch template version number when you call the RunInstances operation to create instances, the default version of the launch template is used.
Launch templates contain preset configurations that are used to create instances, such as the region ID, image ID, instance type, security group ID, and public bandwidth settings. If a specific parameter is not included in a launch template, you need to manually specify the parameter when you use the launch template to create instances.
Take note of the following items:
HostName
to LocalHost in a launch template but do not specify HostName
when you call the RunInstances
operation to create instances from the launch template, the hostname of the created instances is LocalHost
. If you want to overwrite LocalHost
, which is the value of HostName in the launch template, you can set HostName
to MyHost or a different value when you call the RunInstances
operation.Creates a launch template. When you call this operation, you can specify parameters, such as TemplateTag, LaunchTemplateName, and ImageId, in the request. A launch template eliminates the need to configure a large number of parameters every time you create an Elastic Compute Service (ECS) instance.
request
- CreateLaunchTemplateRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateLaunchTemplateResponse createLaunchTemplate(CreateLaunchTemplateRequest request) throws Exception
After you create a launch template by calling the CreateLaunchTemplate operation, a default version that has a version number of 1 is automatically generated for the launch template. You can call the CreateLaunchTemplateVersion
operation to create additional versions for the launch template. Version numbers start from 1 and increment by 1. If you specify a launch template but do not specify a launch template version number when you call the RunInstances operation to create instances, the default version of the launch template is used.
Launch templates contain preset configurations that are used to create instances, such as the region ID, image ID, instance type, security group ID, and public bandwidth settings. If a specific parameter is not included in a launch template, you need to manually specify the parameter when you use the launch template to create instances.
Take note of the following items:
HostName
to LocalHost in a launch template but do not specify HostName
when you call the RunInstances
operation to create instances from the launch template, the hostname of the created instances is LocalHost
. If you want to overwrite LocalHost
, which is the value of HostName in the launch template, you can set HostName
to MyHost or a different value when you call the RunInstances
operation.Creates a launch template. When you call this operation, you can specify parameters, such as TemplateTag, LaunchTemplateName, and ImageId, in the request. A launch template eliminates the need to configure a large number of parameters every time you create an Elastic Compute Service (ECS) instance.
request
- CreateLaunchTemplateRequestException
public CreateLaunchTemplateVersionResponse createLaunchTemplateVersionWithOptions(CreateLaunchTemplateVersionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If you want to modify the parameters of a launch template version, you can create another version with different parameter settings for the launch template. You can create up to 30 versions for each launch template.
summary :Creates a version for a launch template. You can use the created version to create Elastic Compute Service (ECS) instances, scaling groups, or auto provisioning groups. When you call this operation, you can specify parameters, such as LaunchTemplateId, VersionDescription, and instance-related parameters, in the request.
request
- CreateLaunchTemplateVersionRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateLaunchTemplateVersionResponse createLaunchTemplateVersion(CreateLaunchTemplateVersionRequest request) throws Exception
If you want to modify the parameters of a launch template version, you can create another version with different parameter settings for the launch template. You can create up to 30 versions for each launch template.
summary :Creates a version for a launch template. You can use the created version to create Elastic Compute Service (ECS) instances, scaling groups, or auto provisioning groups. When you call this operation, you can specify parameters, such as LaunchTemplateId, VersionDescription, and instance-related parameters, in the request.
request
- CreateLaunchTemplateVersionRequestException
@Deprecated public CreateNatGatewayResponse createNatGatewayWithOptions(CreateNatGatewayRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- CreateNatGatewayRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CreateNatGatewayResponse createNatGateway(CreateNatGatewayRequest request) throws Exception
request
- CreateNatGatewayRequestException
public CreateNetworkInterfaceResponse createNetworkInterfaceWithOptions(CreateNetworkInterfaceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Available
) state and can be attached to an Elastic Compute Service (ECS) instance.Creates an elastic network interface (ENI). When you call this operation, you can specify parameters, such as VSwitchId and PrimaryIpAddress, in the request.
request
- CreateNetworkInterfaceRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateNetworkInterfaceResponse createNetworkInterface(CreateNetworkInterfaceRequest request) throws Exception
Take note of the following items:
Available
) state and can be attached to an Elastic Compute Service (ECS) instance.Creates an elastic network interface (ENI). When you call this operation, you can specify parameters, such as VSwitchId and PrimaryIpAddress, in the request.
request
- CreateNetworkInterfaceRequestException
public CreateNetworkInterfacePermissionResponse createNetworkInterfacePermissionWithOptions(CreateNetworkInterfacePermissionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation, submit a ticket to apply for using this operation.
summary :Grants a permission on an elastic network interface (ENI) to an Alibaba Cloud partner (a certified ISV) or an individual user.
request
- CreateNetworkInterfacePermissionRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateNetworkInterfacePermissionResponse createNetworkInterfacePermission(CreateNetworkInterfacePermissionRequest request) throws Exception
Before you call this operation, submit a ticket to apply for using this operation.
summary :Grants a permission on an elastic network interface (ENI) to an Alibaba Cloud partner (a certified ISV) or an individual user.
request
- CreateNetworkInterfacePermissionRequestException
@Deprecated public CreatePhysicalConnectionResponse createPhysicalConnectionWithOptions(CreatePhysicalConnectionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- CreatePhysicalConnectionRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CreatePhysicalConnectionResponse createPhysicalConnection(CreatePhysicalConnectionRequest request) throws Exception
request
- CreatePhysicalConnectionRequestException
public CreatePrefixListResponse createPrefixListWithOptions(CreatePrefixListRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see Overview.
Creates a prefix list.
request
- CreatePrefixListRequestruntime
- runtime options for this request RuntimeOptionsException
public CreatePrefixListResponse createPrefixList(CreatePrefixListRequest request) throws Exception
A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see Overview.
Creates a prefix list.
request
- CreatePrefixListRequestException
@Deprecated public CreateRouteEntryResponse createRouteEntryWithOptions(CreateRouteEntryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- CreateRouteEntryRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CreateRouteEntryResponse createRouteEntry(CreateRouteEntryRequest request) throws Exception
request
- CreateRouteEntryRequestException
@Deprecated public CreateRouterInterfaceResponse createRouterInterfaceWithOptions(CreateRouterInterfaceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- CreateRouterInterfaceRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CreateRouterInterfaceResponse createRouterInterface(CreateRouterInterfaceRequest request) throws Exception
request
- CreateRouterInterfaceRequestException
public CreateSavingsPlanResponse createSavingsPlanWithOptions(CreateSavingsPlanRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
购买节省计划并预付费换购按量付费
request
- CreateSavingsPlanRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateSavingsPlanResponse createSavingsPlan(CreateSavingsPlanRequest request) throws Exception
购买节省计划并预付费换购按量付费
request
- CreateSavingsPlanRequestException
public CreateSecurityGroupResponse createSecurityGroupWithOptions(CreateSecurityGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Creates a security group. By default, a security group allows only instances in the security group to access each other. Access requests from outside the security group are denied. If you want to allow requests over the Internet or from instances in other security groups, you can call the AuthorizeSecurityGroup operation.
request
- CreateSecurityGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateSecurityGroupResponse createSecurityGroup(CreateSecurityGroupRequest request) throws Exception
Take note of the following items:
Creates a security group. By default, a security group allows only instances in the security group to access each other. Access requests from outside the security group are denied. If you want to allow requests over the Internet or from instances in other security groups, you can call the AuthorizeSecurityGroup operation.
request
- CreateSecurityGroupRequestException
public CreateSimulatedSystemEventsResponse createSimulatedSystemEventsWithOptions(CreateSimulatedSystemEventsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can use the ECS console, call ECS API operations, or use CloudMonitor to view the scheduled simulated system events. The following descriptions provide the lifecycle of a simulated system event:
Schedules simulated system events for one or more Elastic Compute Service (ECS) instances. The simulated system events do not actually occur on or affect ECS instances.
request
- CreateSimulatedSystemEventsRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateSimulatedSystemEventsResponse createSimulatedSystemEvents(CreateSimulatedSystemEventsRequest request) throws Exception
You can use the ECS console, call ECS API operations, or use CloudMonitor to view the scheduled simulated system events. The following descriptions provide the lifecycle of a simulated system event:
Schedules simulated system events for one or more Elastic Compute Service (ECS) instances. The simulated system events do not actually occur on or affect ECS instances.
request
- CreateSimulatedSystemEventsRequestException
public CreateSnapshotResponse createSnapshotWithOptions(CreateSnapshotRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The local snapshot feature is replaced by the instant access feature. Take note of the following items:
Stopped
) or Running (Running
) state.{"OperationLocks": {"LockReason" : "security"}}
when you query information about an ECS instance, the instance is locked for security reasons and no operations are allowed on the instance.
When you create a snapshot, take note of the following items:Expired
) state. If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the Creating (Creating
) state and is deleted when the disk is released.The retention period of the snapshot. Valid values: 1 to 65536. Unit: days. The snapshot is automatically released when its retention period expires. This parameter is empty by default, which indicates that the snapshot is not automatically released.
request
- CreateSnapshotRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateSnapshotResponse createSnapshot(CreateSnapshotRequest request) throws Exception
The local snapshot feature is replaced by the instant access feature. Take note of the following items:
Stopped
) or Running (Running
) state.{"OperationLocks": {"LockReason" : "security"}}
when you query information about an ECS instance, the instance is locked for security reasons and no operations are allowed on the instance.
When you create a snapshot, take note of the following items:Expired
) state. If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the Creating (Creating
) state and is deleted when the disk is released.The retention period of the snapshot. Valid values: 1 to 65536. Unit: days. The snapshot is automatically released when its retention period expires. This parameter is empty by default, which indicates that the snapshot is not automatically released.
request
- CreateSnapshotRequestException
public CreateSnapshotGroupResponse createSnapshotGroupWithOptions(CreateSnapshotGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can specify InstanceId
to create a snapshot-consistent group for disks on a specific ECS instance. You can also specify DiskId.N
to create a snapshot-consistent group for multiple disks on multiple ECS instances within the same zone.
You cannot specify both
DiskId.N
andExcludeDiskId.N
in the same request. If you specifyInstanceId
, you can useDiskId.N
to specify only disks on the specified ECS instance and cannot use DiskId.N to specify disks across ECS instances. Take note of the following items:
In_use
) or Unattached (Available
) state.In_use
) state, make sure that the ECS instance to which the disk is attached is in the Running (Running
) or Stopped (Stopped
) state.Available
) state, make sure that the disk has been attached to ECS instances. Snapshots cannot be created for disks that have never been attached to an ECS instance.ExcludeDiskId.N
parameter to exclude the disks.
For more information about the snapshot-consistent group feature, see Create a snapshot-consistent group.Creates a snapshot-consistent group for the disks of an Elastic Compute Service (ECS) instance. A snapshot-consistent group contains snapshots of one or more disks.
request
- CreateSnapshotGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateSnapshotGroupResponse createSnapshotGroup(CreateSnapshotGroupRequest request) throws Exception
You can specify InstanceId
to create a snapshot-consistent group for disks on a specific ECS instance. You can also specify DiskId.N
to create a snapshot-consistent group for multiple disks on multiple ECS instances within the same zone.
You cannot specify both
DiskId.N
andExcludeDiskId.N
in the same request. If you specifyInstanceId
, you can useDiskId.N
to specify only disks on the specified ECS instance and cannot use DiskId.N to specify disks across ECS instances. Take note of the following items:
In_use
) or Unattached (Available
) state.In_use
) state, make sure that the ECS instance to which the disk is attached is in the Running (Running
) or Stopped (Stopped
) state.Available
) state, make sure that the disk has been attached to ECS instances. Snapshots cannot be created for disks that have never been attached to an ECS instance.ExcludeDiskId.N
parameter to exclude the disks.
For more information about the snapshot-consistent group feature, see Create a snapshot-consistent group.Creates a snapshot-consistent group for the disks of an Elastic Compute Service (ECS) instance. A snapshot-consistent group contains snapshots of one or more disks.
request
- CreateSnapshotGroupRequestException
public CreateStorageSetResponse createStorageSetWithOptions(CreateStorageSetRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
A storage set can distribute disks or Shared Block Storage devices to different locations. You can specify the number of partitions in a storage set. A larger number of partitions indicate more discrete distribution of disks or Shared Block Storage devices. When you call this operation, take note of the following items:
(Beta) Creates a storage set in a zone of a region.
request
- CreateStorageSetRequestruntime
- runtime options for this request RuntimeOptionsException
public CreateStorageSetResponse createStorageSet(CreateStorageSetRequest request) throws Exception
A storage set can distribute disks or Shared Block Storage devices to different locations. You can specify the number of partitions in a storage set. A larger number of partitions indicate more discrete distribution of disks or Shared Block Storage devices. When you call this operation, take note of the following items:
(Beta) Creates a storage set in a zone of a region.
request
- CreateStorageSetRequestException
@Deprecated public CreateVSwitchResponse createVSwitchWithOptions(CreateVSwitchRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- CreateVSwitchRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CreateVSwitchResponse createVSwitch(CreateVSwitchRequest request) throws Exception
request
- CreateVSwitchRequestException
@Deprecated public CreateVirtualBorderRouterResponse createVirtualBorderRouterWithOptions(CreateVirtualBorderRouterRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- CreateVirtualBorderRouterRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CreateVirtualBorderRouterResponse createVirtualBorderRouter(CreateVirtualBorderRouterRequest request) throws Exception
request
- CreateVirtualBorderRouterRequestException
@Deprecated public CreateVpcResponse createVpcWithOptions(CreateVpcRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- CreateVpcRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public CreateVpcResponse createVpc(CreateVpcRequest request) throws Exception
request
- CreateVpcRequestException
@Deprecated public DeactivateRouterInterfaceResponse deactivateRouterInterfaceWithOptions(DeactivateRouterInterfaceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeactivateRouterInterfaceRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeactivateRouterInterfaceResponse deactivateRouterInterface(DeactivateRouterInterfaceRequest request) throws Exception
request
- DeactivateRouterInterfaceRequestException
public DeleteActivationResponse deleteActivationWithOptions(DeleteActivationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
$.parameters[4].schema.description
summary :Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
request
- DeleteActivationRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteActivationResponse deleteActivation(DeleteActivationRequest request) throws Exception
$.parameters[4].schema.description
summary :Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
request
- DeleteActivationRequestException
public DeleteAutoProvisioningGroupResponse deleteAutoProvisioningGroupWithOptions(DeleteAutoProvisioningGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Deletes an auto provisioning group. When you call this operation, you can specify AutoProvisioningGroupId and TerminateInstances in the request.
request
- DeleteAutoProvisioningGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteAutoProvisioningGroupResponse deleteAutoProvisioningGroup(DeleteAutoProvisioningGroupRequest request) throws Exception
Deletes an auto provisioning group. When you call this operation, you can specify AutoProvisioningGroupId and TerminateInstances in the request.
request
- DeleteAutoProvisioningGroupRequestException
public DeleteAutoSnapshotPolicyResponse deleteAutoSnapshotPolicyWithOptions(DeleteAutoSnapshotPolicyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call this operation to delete an automatic snapshot policy. After you delete an automatic snapshot policy, the policy will no longer be applied to the disks that it previously took effect on.
request
- DeleteAutoSnapshotPolicyRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteAutoSnapshotPolicyResponse deleteAutoSnapshotPolicy(DeleteAutoSnapshotPolicyRequest request) throws Exception
You can call this operation to delete an automatic snapshot policy. After you delete an automatic snapshot policy, the policy will no longer be applied to the disks that it previously took effect on.
request
- DeleteAutoSnapshotPolicyRequestException
@Deprecated public DeleteBandwidthPackageResponse deleteBandwidthPackageWithOptions(DeleteBandwidthPackageRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeleteBandwidthPackageRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteBandwidthPackageResponse deleteBandwidthPackage(DeleteBandwidthPackageRequest request) throws Exception
request
- DeleteBandwidthPackageRequestException
public DeleteCommandResponse deleteCommandWithOptions(DeleteCommandRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Deletes a Cloud Assistant command in a region. This operation cannot delete Cloud Assistant commands that are being run.
request
- DeleteCommandRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteCommandResponse deleteCommand(DeleteCommandRequest request) throws Exception
Deletes a Cloud Assistant command in a region. This operation cannot delete Cloud Assistant commands that are being run.
request
- DeleteCommandRequestException
public DeleteDedicatedHostClusterResponse deleteDedicatedHostClusterWithOptions(DeleteDedicatedHostClusterRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Deletes a dedicated host cluster. Before you call this operation, migrate the dedicated hosts in the dedicated host cluster that you want to delete to another dedicated host cluster. When you call this operation, you can specify RegionId and DedicatedHostClusterId in the request.
request
- DeleteDedicatedHostClusterRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteDedicatedHostClusterResponse deleteDedicatedHostCluster(DeleteDedicatedHostClusterRequest request) throws Exception
Deletes a dedicated host cluster. Before you call this operation, migrate the dedicated hosts in the dedicated host cluster that you want to delete to another dedicated host cluster. When you call this operation, you can specify RegionId and DedicatedHostClusterId in the request.
request
- DeleteDedicatedHostClusterRequestException
@Deprecated public DeleteDemandResponse deleteDemandWithOptions(DeleteDemandRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
summary :This operation is in internal preview and has not been officially released. We recommend that you avoid using this operation.
You can call this operation to delete requirement filing information of ECS resources. This operation allows you to delete the resource requirement information that you submitted.
request
- DeleteDemandRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteDemandResponse deleteDemand(DeleteDemandRequest request) throws Exception
summary :This operation is in internal preview and has not been officially released. We recommend that you avoid using this operation.
You can call this operation to delete requirement filing information of ECS resources. This operation allows you to delete the resource requirement information that you submitted.
request
- DeleteDemandRequestException
public DeleteDeploymentSetResponse deleteDeploymentSetWithOptions(DeleteDeploymentSetRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you delete a deployment set, make sure that no instances exist in the deployment set. If instances exist in the deployment set, move the instances to a different deployment set or release the instances before you delete the deployment set. For more information, see Change the deployment set of an instance and Release an ECS instance.
summary :Deletes a deployment set in a region. When you call this operation, specify parameters such as RegionId and DeploymentSetId in the request.
request
- DeleteDeploymentSetRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteDeploymentSetResponse deleteDeploymentSet(DeleteDeploymentSetRequest request) throws Exception
Before you delete a deployment set, make sure that no instances exist in the deployment set. If instances exist in the deployment set, move the instances to a different deployment set or release the instances before you delete the deployment set. For more information, see Change the deployment set of an instance and Release an ECS instance.
summary :Deletes a deployment set in a region. When you call this operation, specify parameters such as RegionId and DeploymentSetId in the request.
request
- DeleteDeploymentSetRequestException
public DeleteDiagnosticMetricSetsResponse deleteDiagnosticMetricSetsWithOptions(DeleteDiagnosticMetricSetsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The operation that you want to perform. Set the value to DeleteDiagnosticMetricSets.
request
- DeleteDiagnosticMetricSetsRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteDiagnosticMetricSetsResponse deleteDiagnosticMetricSets(DeleteDiagnosticMetricSetsRequest request) throws Exception
The operation that you want to perform. Set the value to DeleteDiagnosticMetricSets.
request
- DeleteDiagnosticMetricSetsRequestException
public DeleteDiagnosticReportsResponse deleteDiagnosticReportsWithOptions(DeleteDiagnosticReportsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call this operation to delete the diagnostic reports that are no longer needed.
summary :Deletes diagnostic reports.
request
- DeleteDiagnosticReportsRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteDiagnosticReportsResponse deleteDiagnosticReports(DeleteDiagnosticReportsRequest request) throws Exception
You can call this operation to delete the diagnostic reports that are no longer needed.
summary :Deletes diagnostic reports.
request
- DeleteDiagnosticReportsRequestException
public DeleteDiskResponse deleteDiskWithOptions(DeleteDiskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, take note of the following items:
Releases a pay-as-you-go data disk. The data disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
request
- DeleteDiskRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteDiskResponse deleteDisk(DeleteDiskRequest request) throws Exception
When you call this operation, take note of the following items:
Releases a pay-as-you-go data disk. The data disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
request
- DeleteDiskRequestException
@Deprecated public DeleteForwardEntryResponse deleteForwardEntryWithOptions(DeleteForwardEntryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeleteForwardEntryRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteForwardEntryResponse deleteForwardEntry(DeleteForwardEntryRequest request) throws Exception
request
- DeleteForwardEntryRequestException
@Deprecated public DeleteHaVipResponse deleteHaVipWithOptions(DeleteHaVipRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeleteHaVipRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteHaVipResponse deleteHaVip(DeleteHaVipRequest request) throws Exception
request
- DeleteHaVipRequestException
public DeleteHpcClusterResponse deleteHpcClusterWithOptions(DeleteHpcClusterRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeleteHpcClusterRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteHpcClusterResponse deleteHpcCluster(DeleteHpcClusterRequest request) throws Exception
request
- DeleteHpcClusterRequestException
public DeleteImageResponse deleteImageWithOptions(DeleteImageRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
For information about scenarios in which you cannot delete a custom image and the considerations related to custom image deletion, see Delete a custom image.
summary :Deletes a custom image. When you call this operation, you can specify ImageId and Force in the request.
request
- DeleteImageRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteImageResponse deleteImage(DeleteImageRequest request) throws Exception
For information about scenarios in which you cannot delete a custom image and the considerations related to custom image deletion, see Delete a custom image.
summary :Deletes a custom image. When you call this operation, you can specify ImageId and Force in the request.
request
- DeleteImageRequestException
public DeleteImageComponentResponse deleteImageComponentWithOptions(DeleteImageComponentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Only custom image components can be deleted.
summary :Deletes an image component.
request
- DeleteImageComponentRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteImageComponentResponse deleteImageComponent(DeleteImageComponentRequest request) throws Exception
Only custom image components can be deleted.
summary :Deletes an image component.
request
- DeleteImageComponentRequestException
public DeleteImagePipelineResponse deleteImagePipelineWithOptions(DeleteImagePipelineRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If an image build task based on an image template is in the BUILDING, DISTRIBUTING, RELEASING, or CANCELLING state, you cannot delete the image template. You can delete the image template only when the image build task is in the SUCCESS, FAILED, or CANCELLED state. You can call the DescribeImagePipelineExecutions operation to query the details of an image build task.
summary :Deletes an image template.
request
- DeleteImagePipelineRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteImagePipelineResponse deleteImagePipeline(DeleteImagePipelineRequest request) throws Exception
If an image build task based on an image template is in the BUILDING, DISTRIBUTING, RELEASING, or CANCELLING state, you cannot delete the image template. You can delete the image template only when the image build task is in the SUCCESS, FAILED, or CANCELLED state. You can call the DescribeImagePipelineExecutions operation to query the details of an image build task.
summary :Deletes an image template.
request
- DeleteImagePipelineRequestException
public DeleteInstanceResponse deleteInstanceWithOptions(DeleteInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
DeleteWithInstance
is set to false are retained as pay-as-you-go disks after the instance is released.DeleteWithInstance
is set to true are released along with the instance.DeleteAutoSnapshot
is set to false, the automatic snapshots of the disks are retained after the instance is released.DeleteAutoSnapshot
is set to true, the automatic snapshots of the disks are released along with the instance.OperationLocks
in the response contains "LockReason" : "security"
when you query the information of the instance, the instance is locked for security reasons. In this case, even if DeleteWithInstance
is set to false
for the disks that are attached to the instance, the system ignores the DeleteWithInstance value and releases the disks along with the instance. For more information, see API behavior when an instance is locked for security reasons.Releases a pay-as-you-go Elastic Compute Service (ECS) instance or an expired subscription ECS instance.
request
- DeleteInstanceRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteInstanceResponse deleteInstance(DeleteInstanceRequest request) throws Exception
DeleteWithInstance
is set to false are retained as pay-as-you-go disks after the instance is released.DeleteWithInstance
is set to true are released along with the instance.DeleteAutoSnapshot
is set to false, the automatic snapshots of the disks are retained after the instance is released.DeleteAutoSnapshot
is set to true, the automatic snapshots of the disks are released along with the instance.OperationLocks
in the response contains "LockReason" : "security"
when you query the information of the instance, the instance is locked for security reasons. In this case, even if DeleteWithInstance
is set to false
for the disks that are attached to the instance, the system ignores the DeleteWithInstance value and releases the disks along with the instance. For more information, see API behavior when an instance is locked for security reasons.Releases a pay-as-you-go Elastic Compute Service (ECS) instance or an expired subscription ECS instance.
request
- DeleteInstanceRequestException
public DeleteInstancesResponse deleteInstancesWithOptions(DeleteInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
DeleteWithInstance
is set to false are retained as pay-as-you-go disks after the instance is released.DeleteWithInstance
is set to true are released along with the instance.DeleteAutoSnapshot
is set to false for a disk attached to the instance, the automatic snapshots of the disk are retained when the instance is released.DeleteAutoSnapshot
is set to true for a disk attached to the instance, the automatic snapshots of the disk are released along with the instance.OperationLocks
in the response contains "LockReason" : "security"
when you query the information of the instance, the instance is locked for security reasons. In this case, even if DeleteWithInstance
is set to false
for the disks that are attached to the instance, the system ignores the DeleteWithInstance value and releases the disks along with the instance. For more information, see API behavior when an instance is locked for security reasons.Releases one or more pay-as-you-go Elastic Compute Service (ECS) instances or expired subscription ECS instances.
request
- DeleteInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteInstancesResponse deleteInstances(DeleteInstancesRequest request) throws Exception
DeleteWithInstance
is set to false are retained as pay-as-you-go disks after the instance is released.DeleteWithInstance
is set to true are released along with the instance.DeleteAutoSnapshot
is set to false for a disk attached to the instance, the automatic snapshots of the disk are retained when the instance is released.DeleteAutoSnapshot
is set to true for a disk attached to the instance, the automatic snapshots of the disk are released along with the instance.OperationLocks
in the response contains "LockReason" : "security"
when you query the information of the instance, the instance is locked for security reasons. In this case, even if DeleteWithInstance
is set to false
for the disks that are attached to the instance, the system ignores the DeleteWithInstance value and releases the disks along with the instance. For more information, see API behavior when an instance is locked for security reasons.Releases one or more pay-as-you-go Elastic Compute Service (ECS) instances or expired subscription ECS instances.
request
- DeleteInstancesRequestException
public DeleteKeyPairsResponse deleteKeyPairsWithOptions(DeleteKeyPairsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, take note of the following items:
Deletes one or more SSH key pairs.
request
- DeleteKeyPairsRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteKeyPairsResponse deleteKeyPairs(DeleteKeyPairsRequest request) throws Exception
When you call this operation, take note of the following items:
Deletes one or more SSH key pairs.
request
- DeleteKeyPairsRequestException
public DeleteLaunchTemplateResponse deleteLaunchTemplateWithOptions(DeleteLaunchTemplateRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Deletes a launch template. You can use the LaunchTemplateId or LaunchTemplateName parameter to specify the launch template that you want to delete from the specified region.
request
- DeleteLaunchTemplateRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteLaunchTemplateResponse deleteLaunchTemplate(DeleteLaunchTemplateRequest request) throws Exception
Take note of the following items:
Deletes a launch template. You can use the LaunchTemplateId or LaunchTemplateName parameter to specify the launch template that you want to delete from the specified region.
request
- DeleteLaunchTemplateRequestException
public DeleteLaunchTemplateVersionResponse deleteLaunchTemplateVersionWithOptions(DeleteLaunchTemplateVersionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Deletes versions of a launch template. When you call this operation, you can specify parameters, such as LaunchTemplateId and DeleteVersion, in the request.
request
- DeleteLaunchTemplateVersionRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteLaunchTemplateVersionResponse deleteLaunchTemplateVersion(DeleteLaunchTemplateVersionRequest request) throws Exception
Take note of the following items:
Deletes versions of a launch template. When you call this operation, you can specify parameters, such as LaunchTemplateId and DeleteVersion, in the request.
request
- DeleteLaunchTemplateVersionRequestException
@Deprecated public DeleteNatGatewayResponse deleteNatGatewayWithOptions(DeleteNatGatewayRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeleteNatGatewayRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteNatGatewayResponse deleteNatGateway(DeleteNatGatewayRequest request) throws Exception
request
- DeleteNatGatewayRequestException
public DeleteNetworkInterfaceResponse deleteNetworkInterfaceWithOptions(DeleteNetworkInterfaceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Deletes an elastic network interface (ENI) in a region. DeleteNetworkInterface is an asynchronous operation.
request
- DeleteNetworkInterfaceRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteNetworkInterfaceResponse deleteNetworkInterface(DeleteNetworkInterfaceRequest request) throws Exception
Take note of the following items:
Deletes an elastic network interface (ENI) in a region. DeleteNetworkInterface is an asynchronous operation.
request
- DeleteNetworkInterfaceRequestException
@Deprecated public DeleteNetworkInterfacePermissionResponse deleteNetworkInterfacePermissionWithOptions(DeleteNetworkInterfacePermissionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeleteNetworkInterfacePermissionRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteNetworkInterfacePermissionResponse deleteNetworkInterfacePermission(DeleteNetworkInterfacePermissionRequest request) throws Exception
request
- DeleteNetworkInterfacePermissionRequestException
@Deprecated public DeletePhysicalConnectionResponse deletePhysicalConnectionWithOptions(DeletePhysicalConnectionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeletePhysicalConnectionRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeletePhysicalConnectionResponse deletePhysicalConnection(DeletePhysicalConnectionRequest request) throws Exception
request
- DeletePhysicalConnectionRequestException
public DeletePrefixListResponse deletePrefixListWithOptions(DeletePrefixListRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If a prefix list is associated with resources, you cannot delete the prefix list. You must disassociate the prefix list from the resources before you delete the prefix list. You can call the DescribePrefixListAssociations operation to query resources that are associated with a specific prefix list.
summary :Deletes a prefix list and all entries in the prefix list.
request
- DeletePrefixListRequestruntime
- runtime options for this request RuntimeOptionsException
public DeletePrefixListResponse deletePrefixList(DeletePrefixListRequest request) throws Exception
If a prefix list is associated with resources, you cannot delete the prefix list. You must disassociate the prefix list from the resources before you delete the prefix list. You can call the DescribePrefixListAssociations operation to query resources that are associated with a specific prefix list.
summary :Deletes a prefix list and all entries in the prefix list.
request
- DeletePrefixListRequestException
@Deprecated public DeleteRouteEntryResponse deleteRouteEntryWithOptions(DeleteRouteEntryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeleteRouteEntryRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteRouteEntryResponse deleteRouteEntry(DeleteRouteEntryRequest request) throws Exception
request
- DeleteRouteEntryRequestException
@Deprecated public DeleteRouterInterfaceResponse deleteRouterInterfaceWithOptions(DeleteRouterInterfaceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeleteRouterInterfaceRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteRouterInterfaceResponse deleteRouterInterface(DeleteRouterInterfaceRequest request) throws Exception
request
- DeleteRouterInterfaceRequestException
public DeleteSecurityGroupResponse deleteSecurityGroupWithOptions(DeleteSecurityGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Deletes a security group. When you call this operation, you can specify RegionId and SecurityGroupId in the request. When a security group is deleted, the rules in the security group are also deleted.
request
- DeleteSecurityGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteSecurityGroupResponse deleteSecurityGroup(DeleteSecurityGroupRequest request) throws Exception
Take note of the following items:
Deletes a security group. When you call this operation, you can specify RegionId and SecurityGroupId in the request. When a security group is deleted, the rules in the security group are also deleted.
request
- DeleteSecurityGroupRequestException
public DeleteSnapshotResponse deleteSnapshotWithOptions(DeleteSnapshotRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Force
is not specified or is set to false
, the snapshot cannot be deleted directly. If you want to delete the snapshot, set Force
to true to forcibly delete the snapshot. The disks created from the snapshot cannot be re-initialized after the snapshot is forcibly deleted.Deletes a snapshot. If you call this operation to delete a snapshot that is being created, the snapshot creation task is canceled.
request
- DeleteSnapshotRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteSnapshotResponse deleteSnapshot(DeleteSnapshotRequest request) throws Exception
Take note of the following items:
Force
is not specified or is set to false
, the snapshot cannot be deleted directly. If you want to delete the snapshot, set Force
to true to forcibly delete the snapshot. The disks created from the snapshot cannot be re-initialized after the snapshot is forcibly deleted.Deletes a snapshot. If you call this operation to delete a snapshot that is being created, the snapshot creation task is canceled.
request
- DeleteSnapshotRequestException
public DeleteSnapshotGroupResponse deleteSnapshotGroupWithOptions(DeleteSnapshotGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted. Before you can delete the disk snapshot, you must call the DeleteImage operation to delete the custom images. After the custom images are deleted, you can call the DeleteSnapshot operation to delete the disk snapshot.
summary :Deletes a snapshot-consistent group.
request
- DeleteSnapshotGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteSnapshotGroupResponse deleteSnapshotGroup(DeleteSnapshotGroupRequest request) throws Exception
If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted. Before you can delete the disk snapshot, you must call the DeleteImage operation to delete the custom images. After the custom images are deleted, you can call the DeleteSnapshot operation to delete the disk snapshot.
summary :Deletes a snapshot-consistent group.
request
- DeleteSnapshotGroupRequestException
public DeleteStorageSetResponse deleteStorageSetWithOptions(DeleteStorageSetRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
(Beta) Deletes an empty storage set. The storage set that you want to delete must be empty and do not contain disks or Shared Block Storage devices.
request
- DeleteStorageSetRequestruntime
- runtime options for this request RuntimeOptionsException
public DeleteStorageSetResponse deleteStorageSet(DeleteStorageSetRequest request) throws Exception
(Beta) Deletes an empty storage set. The storage set that you want to delete must be empty and do not contain disks or Shared Block Storage devices.
request
- DeleteStorageSetRequestException
@Deprecated public DeleteVSwitchResponse deleteVSwitchWithOptions(DeleteVSwitchRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeleteVSwitchRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteVSwitchResponse deleteVSwitch(DeleteVSwitchRequest request) throws Exception
request
- DeleteVSwitchRequestException
@Deprecated public DeleteVirtualBorderRouterResponse deleteVirtualBorderRouterWithOptions(DeleteVirtualBorderRouterRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DeleteVirtualBorderRouterRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteVirtualBorderRouterResponse deleteVirtualBorderRouter(DeleteVirtualBorderRouterRequest request) throws Exception
request
- DeleteVirtualBorderRouterRequestException
@Deprecated public DeleteVpcResponse deleteVpcWithOptions(DeleteVpcRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
删除VPC
request
- DeleteVpcRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DeleteVpcResponse deleteVpc(DeleteVpcRequest request) throws Exception
删除VPC
request
- DeleteVpcRequestException
public DeregisterManagedInstanceResponse deregisterManagedInstanceWithOptions(DeregisterManagedInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Deregisters a managed instance. After you deregister the managed instance, you can no longer use Cloud Assistant to send commands or files to the instance.
request
- DeregisterManagedInstanceRequestruntime
- runtime options for this request RuntimeOptionsException
public DeregisterManagedInstanceResponse deregisterManagedInstance(DeregisterManagedInstanceRequest request) throws Exception
Deregisters a managed instance. After you deregister the managed instance, you can no longer use Cloud Assistant to send commands or files to the instance.
request
- DeregisterManagedInstanceRequestException
@Deprecated public DescribeAccessPointsResponse describeAccessPointsWithOptions(DescribeAccessPointsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeAccessPointsRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeAccessPointsResponse describeAccessPoints(DescribeAccessPointsRequest request) throws Exception
request
- DescribeAccessPointsRequestException
public DescribeAccountAttributesResponse describeAccountAttributesWithOptions(DescribeAccountAttributesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
After you create an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see Limits. You can apply for a quota increase in the Quota Center console.
summary :Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for preemptible instances, the capacity quotas for pay-as-you-go disks that you can create and the number of dedicated hosts that you can create. You can also query information such as network types or whether an account has completed real-name verification.
request
- DescribeAccountAttributesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeAccountAttributesResponse describeAccountAttributes(DescribeAccountAttributesRequest request) throws Exception
After you create an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see Limits. You can apply for a quota increase in the Quota Center console.
summary :Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for preemptible instances, the capacity quotas for pay-as-you-go disks that you can create and the number of dedicated hosts that you can create. You can also query information such as network types or whether an account has completed real-name verification.
request
- DescribeAccountAttributesRequestException
public DescribeActivationsResponse describeActivationsWithOptions(DescribeActivationsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can use one of the following methods to check the responses:
Queries existing activation codes and their usage information.
request
- DescribeActivationsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeActivationsResponse describeActivations(DescribeActivationsRequest request) throws Exception
You can use one of the following methods to check the responses:
Queries existing activation codes and their usage information.
request
- DescribeActivationsRequestException
public DescribeAutoProvisioningGroupHistoryResponse describeAutoProvisioningGroupHistoryWithOptions(DescribeAutoProvisioningGroupHistoryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the scheduling tasks of an auto provisioning group.
request
- DescribeAutoProvisioningGroupHistoryRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeAutoProvisioningGroupHistoryResponse describeAutoProvisioningGroupHistory(DescribeAutoProvisioningGroupHistoryRequest request) throws Exception
Queries the scheduling tasks of an auto provisioning group.
request
- DescribeAutoProvisioningGroupHistoryRequestException
public DescribeAutoProvisioningGroupInstancesResponse describeAutoProvisioningGroupInstancesWithOptions(DescribeAutoProvisioningGroupInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call this operation to query instances in an auto provisioning group.
request
- DescribeAutoProvisioningGroupInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeAutoProvisioningGroupInstancesResponse describeAutoProvisioningGroupInstances(DescribeAutoProvisioningGroupInstancesRequest request) throws Exception
You can call this operation to query instances in an auto provisioning group.
request
- DescribeAutoProvisioningGroupInstancesRequestException
public DescribeAutoProvisioningGroupsResponse describeAutoProvisioningGroupsWithOptions(DescribeAutoProvisioningGroupsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries information of auto provisioning groups.
request
- DescribeAutoProvisioningGroupsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeAutoProvisioningGroupsResponse describeAutoProvisioningGroups(DescribeAutoProvisioningGroupsRequest request) throws Exception
Queries information of auto provisioning groups.
request
- DescribeAutoProvisioningGroupsRequestException
public DescribeAutoSnapshotPolicyExResponse describeAutoSnapshotPolicyExWithOptions(DescribeAutoSnapshotPolicyExRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries existing automatic snapshot policies in a region.
request
- DescribeAutoSnapshotPolicyExRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeAutoSnapshotPolicyExResponse describeAutoSnapshotPolicyEx(DescribeAutoSnapshotPolicyExRequest request) throws Exception
Queries existing automatic snapshot policies in a region.
request
- DescribeAutoSnapshotPolicyExRequestException
public DescribeAvailableResourceResponse describeAvailableResourceWithOptions(DescribeAvailableResourceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The value of DestinationResource
determines whether you need to specify additional parameters. When you select a value in the following chain for DestinationResource, the more to the right the selected value is ordered, the more parameters you must specify.
Zone > IoOptimized > InstanceType = Network = ddh > SystemDisk > DataDisk
DestinationResource
to DataDisk
, take note of the following items:ResourceType
to disk
to query the categories of data disks that are not attached to ECS instances, you do not need to specify InstanceType
.ResourceType
to instance
to query the categories of data disks that are purchased together with ECS instances, you must specify InstanceType
and SystemDiskCategory
due to instance type-specific limits on system disks and data disks.DestinationResource
to SystemDisk
and ResourceType
to instance
, you must specify InstanceType
due to instance type-specific limits on system disks.DestinationResource
to InstanceType
, we recommend that you specify IoOptimized
and InstanceType
.RegionId to cn-hangzhou, DestinationResource to InstanceType, IoOptimized to optimized, and InstanceType to ecs.g5.large
.RegionId to cn-hangzhou, DestinationResource to Zone, IoOptimized to optimized, and InstanceType to ecs.g5.large
.Queries resources in a zone. You can query the resources available in a zone before you create Elastic Compute Service (ECS) instances by calling the RunInstances operation or before you change instance types by calling the ModifyInstanceSpec operation.
request
- DescribeAvailableResourceRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeAvailableResourceResponse describeAvailableResource(DescribeAvailableResourceRequest request) throws Exception
The value of DestinationResource
determines whether you need to specify additional parameters. When you select a value in the following chain for DestinationResource, the more to the right the selected value is ordered, the more parameters you must specify.
Zone > IoOptimized > InstanceType = Network = ddh > SystemDisk > DataDisk
DestinationResource
to DataDisk
, take note of the following items:ResourceType
to disk
to query the categories of data disks that are not attached to ECS instances, you do not need to specify InstanceType
.ResourceType
to instance
to query the categories of data disks that are purchased together with ECS instances, you must specify InstanceType
and SystemDiskCategory
due to instance type-specific limits on system disks and data disks.DestinationResource
to SystemDisk
and ResourceType
to instance
, you must specify InstanceType
due to instance type-specific limits on system disks.DestinationResource
to InstanceType
, we recommend that you specify IoOptimized
and InstanceType
.RegionId to cn-hangzhou, DestinationResource to InstanceType, IoOptimized to optimized, and InstanceType to ecs.g5.large
.RegionId to cn-hangzhou, DestinationResource to Zone, IoOptimized to optimized, and InstanceType to ecs.g5.large
.Queries resources in a zone. You can query the resources available in a zone before you create Elastic Compute Service (ECS) instances by calling the RunInstances operation or before you change instance types by calling the ModifyInstanceSpec operation.
request
- DescribeAvailableResourceRequestException
public DescribeBandwidthLimitationResponse describeBandwidthLimitationWithOptions(DescribeBandwidthLimitationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the maximum public bandwidth that can be purchased, upgraded, or downgraded for various Elastic Compute Service (ECS) instance types.
request
- DescribeBandwidthLimitationRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeBandwidthLimitationResponse describeBandwidthLimitation(DescribeBandwidthLimitationRequest request) throws Exception
Queries the maximum public bandwidth that can be purchased, upgraded, or downgraded for various Elastic Compute Service (ECS) instance types.
request
- DescribeBandwidthLimitationRequestException
@Deprecated public DescribeBandwidthPackagesResponse describeBandwidthPackagesWithOptions(DescribeBandwidthPackagesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeBandwidthPackagesRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeBandwidthPackagesResponse describeBandwidthPackages(DescribeBandwidthPackagesRequest request) throws Exception
request
- DescribeBandwidthPackagesRequestException
public DescribeCapacityReservationInstancesResponse describeCapacityReservationInstancesWithOptions(DescribeCapacityReservationInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The region ID of the capacity reservation. You can call the DescribeRegions operation to query the most recent region list.
request
- DescribeCapacityReservationInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeCapacityReservationInstancesResponse describeCapacityReservationInstances(DescribeCapacityReservationInstancesRequest request) throws Exception
The region ID of the capacity reservation. You can call the DescribeRegions operation to query the most recent region list.
request
- DescribeCapacityReservationInstancesRequestException
public DescribeCapacityReservationsResponse describeCapacityReservationsWithOptions(DescribeCapacityReservationsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the details of capacity reservations.
request
- DescribeCapacityReservationsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeCapacityReservationsResponse describeCapacityReservations(DescribeCapacityReservationsRequest request) throws Exception
Queries the details of capacity reservations.
request
- DescribeCapacityReservationsRequestException
public DescribeClassicLinkInstancesResponse describeClassicLinkInstancesWithOptions(DescribeClassicLinkInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
VpcId
and InstanceId
parameters must be configured.Queries Elastic Compute Service (ECS) instances that reside in the classic network and have established ClassicLink connections with virtual private clouds (VPCs).
request
- DescribeClassicLinkInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeClassicLinkInstancesResponse describeClassicLinkInstances(DescribeClassicLinkInstancesRequest request) throws Exception
Take note of the following items:
VpcId
and InstanceId
parameters must be configured.Queries Elastic Compute Service (ECS) instances that reside in the classic network and have established ClassicLink connections with virtual private clouds (VPCs).
request
- DescribeClassicLinkInstancesRequestException
public DescribeCloudAssistantSettingsResponse describeCloudAssistantSettingsWithOptions(DescribeCloudAssistantSettingsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the configurations of Cloud Assistant features.
request
- DescribeCloudAssistantSettingsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeCloudAssistantSettingsResponse describeCloudAssistantSettings(DescribeCloudAssistantSettingsRequest request) throws Exception
Queries the configurations of Cloud Assistant features.
request
- DescribeCloudAssistantSettingsRequestException
public DescribeCloudAssistantStatusResponse describeCloudAssistantStatusWithOptions(DescribeCloudAssistantStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeCloudAssistantStatus operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries to return on each page and then use PageNumber
to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.Queries whether Cloud Assistant Agent is installed on instances. If Cloud Assistant Agent is installed, the system queries the total number of Cloud Assistant commands that have been run, the number of Cloud Assistant commands that are being run, and the time when Cloud Assistant commands were last run.
request
- DescribeCloudAssistantStatusRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeCloudAssistantStatusResponse describeCloudAssistantStatus(DescribeCloudAssistantStatusRequest request) throws Exception
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeCloudAssistantStatus operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries to return on each page and then use PageNumber
to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.Queries whether Cloud Assistant Agent is installed on instances. If Cloud Assistant Agent is installed, the system queries the total number of Cloud Assistant commands that have been run, the number of Cloud Assistant commands that are being run, and the time when Cloud Assistant commands were last run.
request
- DescribeCloudAssistantStatusRequestException
@Deprecated public DescribeClustersResponse describeClustersWithOptions(DescribeClustersRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeClustersRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeClustersResponse describeClusters(DescribeClustersRequest request) throws Exception
request
- DescribeClustersRequestException
public DescribeCommandsResponse describeCommandsWithOptions(DescribeCommandsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Action
and RegionId
, all available commands (CommandId
) that you created in the specified region are queried by default.MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeCommands operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries to return on each page and then use PageNumber
to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.Queries the Cloud Assistant commands that you created or the common Cloud Assistant commands that Alibaba Cloud provides.
request
- DescribeCommandsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeCommandsResponse describeCommands(DescribeCommandsRequest request) throws Exception
Action
and RegionId
, all available commands (CommandId
) that you created in the specified region are queried by default.MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeCommands operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries to return on each page and then use PageNumber
to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.Queries the Cloud Assistant commands that you created or the common Cloud Assistant commands that Alibaba Cloud provides.
request
- DescribeCommandsRequestException
public DescribeDedicatedHostAutoRenewResponse describeDedicatedHostAutoRenewWithOptions(DescribeDedicatedHostAutoRenewRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the auto-renewal status of subscription dedicated hosts.
request
- DescribeDedicatedHostAutoRenewRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDedicatedHostAutoRenewResponse describeDedicatedHostAutoRenew(DescribeDedicatedHostAutoRenewRequest request) throws Exception
Queries the auto-renewal status of subscription dedicated hosts.
request
- DescribeDedicatedHostAutoRenewRequestException
public DescribeDedicatedHostClustersResponse describeDedicatedHostClustersWithOptions(DescribeDedicatedHostClustersRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can specify multiple request parameters to filter query results. Specified request parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if DedicatedHostClusterIds
is set to an empty JSON array ([]
), this parameter is regarded as a valid filter condition and an empty result is returned.
Queries the information about one or more dedicated host clusters.
request
- DescribeDedicatedHostClustersRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDedicatedHostClustersResponse describeDedicatedHostClusters(DescribeDedicatedHostClustersRequest request) throws Exception
You can specify multiple request parameters to filter query results. Specified request parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if DedicatedHostClusterIds
is set to an empty JSON array ([]
), this parameter is regarded as a valid filter condition and an empty result is returned.
Queries the information about one or more dedicated host clusters.
request
- DescribeDedicatedHostClustersRequestException
public DescribeDedicatedHostTypesResponse describeDedicatedHostTypesWithOptions(DescribeDedicatedHostTypesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the details of dedicated host types supported in a region, or the Elastic Compute Service (ECS) instance families supported by a specific dedicated host type.
request
- DescribeDedicatedHostTypesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDedicatedHostTypesResponse describeDedicatedHostTypes(DescribeDedicatedHostTypesRequest request) throws Exception
Queries the details of dedicated host types supported in a region, or the Elastic Compute Service (ECS) instance families supported by a specific dedicated host type.
request
- DescribeDedicatedHostTypesRequestException
public DescribeDedicatedHostsResponse describeDedicatedHostsWithOptions(DescribeDedicatedHostsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can use one of the following methods to query the information about dedicated hosts:
DedicatedHostIds
to query the details of specified dedicated hosts.DedicatedHostClusterId
to query the details of dedicated hosts in a dedicated host cluster.Queries the information about dedicated hosts, including the physical performance specifications, machine codes, and status of the dedicated hosts, and Elastic Compute Service (ECS) instances that are created on the dedicated hosts.
request
- DescribeDedicatedHostsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDedicatedHostsResponse describeDedicatedHosts(DescribeDedicatedHostsRequest request) throws Exception
You can use one of the following methods to query the information about dedicated hosts:
DedicatedHostIds
to query the details of specified dedicated hosts.DedicatedHostClusterId
to query the details of dedicated hosts in a dedicated host cluster.Queries the information about dedicated hosts, including the physical performance specifications, machine codes, and status of the dedicated hosts, and Elastic Compute Service (ECS) instances that are created on the dedicated hosts.
request
- DescribeDedicatedHostsRequestException
@Deprecated public DescribeDemandsResponse describeDemandsWithOptions(DescribeDemandsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call this operation to query the details of resources that you filed with Alibaba Cloud, including the types, delivery status, and consumption details of the resources. By default, the demands for I/O optimized instances of the Virtual Private Cloud (VPC) type are queried. For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) demands for ECS resources, contact your account manager.
summary :Queries the delivery and usage states of filed resources.
request
- DescribeDemandsRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeDemandsResponse describeDemands(DescribeDemandsRequest request) throws Exception
You can call this operation to query the details of resources that you filed with Alibaba Cloud, including the types, delivery status, and consumption details of the resources. By default, the demands for I/O optimized instances of the Virtual Private Cloud (VPC) type are queried. For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) demands for ECS resources, contact your account manager.
summary :Queries the delivery and usage states of filed resources.
request
- DescribeDemandsRequestException
public DescribeDeploymentSetSupportedInstanceTypeFamilyResponse describeDeploymentSetSupportedInstanceTypeFamilyWithOptions(DescribeDeploymentSetSupportedInstanceTypeFamilyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
For information about instance families, see Overview of instance families.
summary :Queries the instance families that support different deployment strategies. When you call this operation, specify parameters, such as RegionId and Strategy, in the request.
request
- DescribeDeploymentSetSupportedInstanceTypeFamilyRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDeploymentSetSupportedInstanceTypeFamilyResponse describeDeploymentSetSupportedInstanceTypeFamily(DescribeDeploymentSetSupportedInstanceTypeFamilyRequest request) throws Exception
For information about instance families, see Overview of instance families.
summary :Queries the instance families that support different deployment strategies. When you call this operation, specify parameters, such as RegionId and Strategy, in the request.
request
- DescribeDeploymentSetSupportedInstanceTypeFamilyRequestException
public DescribeDeploymentSetsResponse describeDeploymentSetsWithOptions(DescribeDeploymentSetsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the details of one or more deployment sets. When you call this operation, you can specify parameters, such as DeploymentSetIds, Strategy, and DeploymentSetName, in the request.
request
- DescribeDeploymentSetsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDeploymentSetsResponse describeDeploymentSets(DescribeDeploymentSetsRequest request) throws Exception
Queries the details of one or more deployment sets. When you call this operation, you can specify parameters, such as DeploymentSetIds, Strategy, and DeploymentSetName, in the request.
request
- DescribeDeploymentSetsRequestException
public DescribeDiagnosticMetricSetsResponse describeDiagnosticMetricSetsWithOptions(DescribeDiagnosticMetricSetsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries diagnostic metric sets.
request
- DescribeDiagnosticMetricSetsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDiagnosticMetricSetsResponse describeDiagnosticMetricSets(DescribeDiagnosticMetricSetsRequest request) throws Exception
Queries diagnostic metric sets.
request
- DescribeDiagnosticMetricSetsRequestException
public DescribeDiagnosticMetricsResponse describeDiagnosticMetricsWithOptions(DescribeDiagnosticMetricsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The operation that you want to perform. Set the value to DescribeDiagnosticMetrics.
request
- DescribeDiagnosticMetricsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDiagnosticMetricsResponse describeDiagnosticMetrics(DescribeDiagnosticMetricsRequest request) throws Exception
The operation that you want to perform. Set the value to DescribeDiagnosticMetrics.
request
- DescribeDiagnosticMetricsRequestException
public DescribeDiagnosticReportAttributesResponse describeDiagnosticReportAttributesWithOptions(DescribeDiagnosticReportAttributesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the details of a diagnostic report.
request
- DescribeDiagnosticReportAttributesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDiagnosticReportAttributesResponse describeDiagnosticReportAttributes(DescribeDiagnosticReportAttributesRequest request) throws Exception
Queries the details of a diagnostic report.
request
- DescribeDiagnosticReportAttributesRequestException
public DescribeDiagnosticReportsResponse describeDiagnosticReportsWithOptions(DescribeDiagnosticReportsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries diagnostic reports.
request
- DescribeDiagnosticReportsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDiagnosticReportsResponse describeDiagnosticReports(DescribeDiagnosticReportsRequest request) throws Exception
Queries diagnostic reports.
request
- DescribeDiagnosticReportsRequestException
public DescribeDiskDefaultKMSKeyIdResponse describeDiskDefaultKMSKeyIdWithOptions(DescribeDiskDefaultKMSKeyIdRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
request
- DescribeDiskDefaultKMSKeyIdRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDiskDefaultKMSKeyIdResponse describeDiskDefaultKMSKeyId(DescribeDiskDefaultKMSKeyIdRequest request) throws Exception
Queries the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
request
- DescribeDiskDefaultKMSKeyIdRequestException
public DescribeDiskEncryptionByDefaultStatusResponse describeDiskEncryptionByDefaultStatusWithOptions(DescribeDiskEncryptionByDefaultStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries whether account-level default encryption of Elastic Block Storage (EBS) resources is enabled in a region.
request
- DescribeDiskEncryptionByDefaultStatusRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDiskEncryptionByDefaultStatusResponse describeDiskEncryptionByDefaultStatus(DescribeDiskEncryptionByDefaultStatusRequest request) throws Exception
Queries whether account-level default encryption of Elastic Block Storage (EBS) resources is enabled in a region.
request
- DescribeDiskEncryptionByDefaultStatusRequestException
public DescribeDiskMonitorDataResponse describeDiskMonitorDataWithOptions(DescribeDiskMonitorDataRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can query the following monitoring data of a disk: the read IOPS, write IOPS, read bandwidth (byte/s), write bandwidth (byte/s), read latency (microseconds), and write latency (microseconds). Take note of the following items:
In_use
) state can be queried. For more information, see Disk states.
**
Note Some information may be missing from the monitoring data of a disk because the disk is not in the In Use (In_use)
state and the system cannot obtain the relevant information.TotalCount
value does not exceed 400. The value is calculated by using the following formula: TotalCount = (EndTime - StartTime)/Period
. If the TotalCount value is greater than 400, the InvalidParameter.TooManyDataQueried
error is returned.StartTime
is more than 30 days earlier than the current time, an error is returned.Queries the monitoring data of a disk in a specific period of time. When you call this operation, you can specify parameters, such as DiskId, StartTime, and EndTime, in the request.
request
- DescribeDiskMonitorDataRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDiskMonitorDataResponse describeDiskMonitorData(DescribeDiskMonitorDataRequest request) throws Exception
You can query the following monitoring data of a disk: the read IOPS, write IOPS, read bandwidth (byte/s), write bandwidth (byte/s), read latency (microseconds), and write latency (microseconds). Take note of the following items:
In_use
) state can be queried. For more information, see Disk states.
**
Note Some information may be missing from the monitoring data of a disk because the disk is not in the In Use (In_use)
state and the system cannot obtain the relevant information.TotalCount
value does not exceed 400. The value is calculated by using the following formula: TotalCount = (EndTime - StartTime)/Period
. If the TotalCount value is greater than 400, the InvalidParameter.TooManyDataQueried
error is returned.StartTime
is more than 30 days earlier than the current time, an error is returned.Queries the monitoring data of a disk in a specific period of time. When you call this operation, you can specify parameters, such as DiskId, StartTime, and EndTime, in the request.
request
- DescribeDiskMonitorDataRequestException
public DescribeDisksResponse describeDisksWithOptions(DescribeDisksRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
RegionId
, ZoneId
, DiskIds
, and InstanceId
as filters. The specified parameters are evaluated by using the "AND" operator. If you specify more than one filter, the records that match all filters are returned.DiskIds
is a JSON array. If you do not specify DiskIds, the parameter is not used as a filter condition. If you set DiskIds
to an empty JSON array, the parameter is regarded as a valid filter, and an empty result is returned.NextToken
to specify the pagination token. Set the value to the NextToken
value that is obtained from the previous query. Then, use MaxResults
to specify the maximum number of entries to return on each page.PageSize
to specify the number of entries to return on each page, and then use PageNumber
to specify the number of the page to return.
You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use Method 1. If NextToken
is specified, PageSize
and PageNumber
do not take effect and TotalCount
in the response is invalid.Attachment
values in the response.
When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in the required formats. For more information, see Parameter format overview.Queries block storage devices that you created, including cloud disks, local disks, and elastic ephemeral disks.
request
- DescribeDisksRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDisksResponse describeDisks(DescribeDisksRequest request) throws Exception
RegionId
, ZoneId
, DiskIds
, and InstanceId
as filters. The specified parameters are evaluated by using the "AND" operator. If you specify more than one filter, the records that match all filters are returned.DiskIds
is a JSON array. If you do not specify DiskIds, the parameter is not used as a filter condition. If you set DiskIds
to an empty JSON array, the parameter is regarded as a valid filter, and an empty result is returned.NextToken
to specify the pagination token. Set the value to the NextToken
value that is obtained from the previous query. Then, use MaxResults
to specify the maximum number of entries to return on each page.PageSize
to specify the number of entries to return on each page, and then use PageNumber
to specify the number of the page to return.
You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use Method 1. If NextToken
is specified, PageSize
and PageNumber
do not take effect and TotalCount
in the response is invalid.Attachment
values in the response.
When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in the required formats. For more information, see Parameter format overview.Queries block storage devices that you created, including cloud disks, local disks, and elastic ephemeral disks.
request
- DescribeDisksRequestException
public DescribeDisksFullStatusResponse describeDisksFullStatusWithOptions(DescribeDisksFullStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The full status information about an EBS device includes the lifecycle status specified by the Status
parameter, health status specified by the HealthStatus
parameter, and event type specified by the EventType
parameter of the EBS device. You can filter the results based on these parameters.
EventTime.Start
and EventTime.End
parameters, all events that occurred within this period are queried. You can query events that occurred within the last seven days.Queries the full status information about one or more Elastic Block Storage (EBS) devices.
request
- DescribeDisksFullStatusRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeDisksFullStatusResponse describeDisksFullStatus(DescribeDisksFullStatusRequest request) throws Exception
The full status information about an EBS device includes the lifecycle status specified by the Status
parameter, health status specified by the HealthStatus
parameter, and event type specified by the EventType
parameter of the EBS device. You can filter the results based on these parameters.
EventTime.Start
and EventTime.End
parameters, all events that occurred within this period are queried. You can query events that occurred within the last seven days.Queries the full status information about one or more Elastic Block Storage (EBS) devices.
request
- DescribeDisksFullStatusRequestException
@Deprecated public DescribeEipAddressesResponse describeEipAddressesWithOptions(DescribeEipAddressesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeEipAddressesRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeEipAddressesResponse describeEipAddresses(DescribeEipAddressesRequest request) throws Exception
request
- DescribeEipAddressesRequestException
@Deprecated public DescribeEipMonitorDataResponse describeEipMonitorDataWithOptions(DescribeEipMonitorDataRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeEipMonitorDataRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeEipMonitorDataResponse describeEipMonitorData(DescribeEipMonitorDataRequest request) throws Exception
request
- DescribeEipMonitorDataRequestException
public DescribeElasticityAssuranceInstancesResponse describeElasticityAssuranceInstancesWithOptions(DescribeElasticityAssuranceInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When an elasticity assurance expires, data about the association between the instances and the private pool generated by the elasticity assurance becomes invalid. When you call this operation to query the expired elasticity assurance, no value is returned.
summary :Queries the running Elastic Compute Service (ECS) instances that match and use the elasticity assurance service.
request
- DescribeElasticityAssuranceInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeElasticityAssuranceInstancesResponse describeElasticityAssuranceInstances(DescribeElasticityAssuranceInstancesRequest request) throws Exception
When an elasticity assurance expires, data about the association between the instances and the private pool generated by the elasticity assurance becomes invalid. When you call this operation to query the expired elasticity assurance, no value is returned.
summary :Queries the running Elastic Compute Service (ECS) instances that match and use the elasticity assurance service.
request
- DescribeElasticityAssuranceInstancesRequestException
public DescribeElasticityAssurancesResponse describeElasticityAssurancesWithOptions(DescribeElasticityAssurancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the details of elasticity assurances.
request
- DescribeElasticityAssurancesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeElasticityAssurancesResponse describeElasticityAssurances(DescribeElasticityAssurancesRequest request) throws Exception
Queries the details of elasticity assurances.
request
- DescribeElasticityAssurancesRequestException
public DescribeEniMonitorDataResponse describeEniMonitorDataWithOptions(DescribeEniMonitorDataRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The monitoring data of a secondary ENI includes the amount of traffic sent and received over the internal network, the number of packets sent and received by the secondary ENI, and the number of sent and received packets that are dropped by the secondary ENI. Specific information may be missing from the returned monitoring data. This may be because the system cannot obtain the relevant information. For example, if the instance to which the secondary ENI is attached is in the Stopped state or if the secondary ENI is not attached to an instance and is in the Available state, the monitoring data of the secondary ENI cannot be obtained. Take note of the following items:
TotalCount
value does not exceed 400. The value is calculated by using the following formula: TotalCount = (EndTime - StartTime)/Period
. If the TotalCount value is greater than 400, the InvalidParameter.TooManyDataQueried
error is returned.StartTime
is more than 30 days earlier than the current time, an error is returned.Queries the monitoring data of a secondary elastic network interface (ENI) over a specific period of time.
request
- DescribeEniMonitorDataRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeEniMonitorDataResponse describeEniMonitorData(DescribeEniMonitorDataRequest request) throws Exception
The monitoring data of a secondary ENI includes the amount of traffic sent and received over the internal network, the number of packets sent and received by the secondary ENI, and the number of sent and received packets that are dropped by the secondary ENI. Specific information may be missing from the returned monitoring data. This may be because the system cannot obtain the relevant information. For example, if the instance to which the secondary ENI is attached is in the Stopped state or if the secondary ENI is not attached to an instance and is in the Available state, the monitoring data of the secondary ENI cannot be obtained. Take note of the following items:
TotalCount
value does not exceed 400. The value is calculated by using the following formula: TotalCount = (EndTime - StartTime)/Period
. If the TotalCount value is greater than 400, the InvalidParameter.TooManyDataQueried
error is returned.StartTime
is more than 30 days earlier than the current time, an error is returned.Queries the monitoring data of a secondary elastic network interface (ENI) over a specific period of time.
request
- DescribeEniMonitorDataRequestException
@Deprecated public DescribeForwardTableEntriesResponse describeForwardTableEntriesWithOptions(DescribeForwardTableEntriesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeForwardTableEntriesRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeForwardTableEntriesResponse describeForwardTableEntries(DescribeForwardTableEntriesRequest request) throws Exception
request
- DescribeForwardTableEntriesRequestException
@Deprecated public DescribeHaVipsResponse describeHaVipsWithOptions(DescribeHaVipsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeHaVipsRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeHaVipsResponse describeHaVips(DescribeHaVipsRequest request) throws Exception
request
- DescribeHaVipsRequestException
public DescribeHpcClustersResponse describeHpcClustersWithOptions(DescribeHpcClustersRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.
request
- DescribeHpcClustersRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeHpcClustersResponse describeHpcClusters(DescribeHpcClustersRequest request) throws Exception
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.
request
- DescribeHpcClustersRequestException
public DescribeImageComponentsResponse describeImageComponentsWithOptions(DescribeImageComponentsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can use NextToken
to configure the query token. Set the value to the NextToken
value that is returned in the previous call to the DescribeImageComponents operation. Then, use MaxResults
to specify the maximum number of entries to return on each page.
Queries the information about one or more image components.
request
- DescribeImageComponentsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeImageComponentsResponse describeImageComponents(DescribeImageComponentsRequest request) throws Exception
You can use NextToken
to configure the query token. Set the value to the NextToken
value that is returned in the previous call to the DescribeImageComponents operation. Then, use MaxResults
to specify the maximum number of entries to return on each page.
Queries the information about one or more image components.
request
- DescribeImageComponentsRequestException
public DescribeImageFromFamilyResponse describeImageFromFamilyWithOptions(DescribeImageFromFamilyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeImageFromFamilyRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeImageFromFamilyResponse describeImageFromFamily(DescribeImageFromFamilyRequest request) throws Exception
request
- DescribeImageFromFamilyRequestException
public DescribeImagePipelineExecutionsResponse describeImagePipelineExecutionsWithOptions(DescribeImagePipelineExecutionsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The image template that is specified by the ImagePipelineId
parameter cannot be a deleted image template. When an image template is deleted, the corresponding image creation task is deleted.
ImagePipelineId
or ExecutionId
.NextToken
parameter. Set the value of NextToken to the value of NextToken
that was returned the last time you called the DescribeImagePipelineExecutions
operation. Then, use the MaxResults
parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.Queries the details of an image creation task.
request
- DescribeImagePipelineExecutionsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeImagePipelineExecutionsResponse describeImagePipelineExecutions(DescribeImagePipelineExecutionsRequest request) throws Exception
The image template that is specified by the ImagePipelineId
parameter cannot be a deleted image template. When an image template is deleted, the corresponding image creation task is deleted.
ImagePipelineId
or ExecutionId
.NextToken
parameter. Set the value of NextToken to the value of NextToken
that was returned the last time you called the DescribeImagePipelineExecutions
operation. Then, use the MaxResults
parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.Queries the details of an image creation task.
request
- DescribeImagePipelineExecutionsRequestException
public DescribeImagePipelinesResponse describeImagePipelinesWithOptions(DescribeImagePipelinesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can use NextToken
to configure the query token. Set the value to the NextToken
value that is returned in the previous call to the DescribeImagePipelines
operation. Then, use MaxResults
to specify the maximum number of entries to return on each page.
Queries the information about one or more image templates.
request
- DescribeImagePipelinesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeImagePipelinesResponse describeImagePipelines(DescribeImagePipelinesRequest request) throws Exception
You can use NextToken
to configure the query token. Set the value to the NextToken
value that is returned in the previous call to the DescribeImagePipelines
operation. Then, use MaxResults
to specify the maximum number of entries to return on each page.
Queries the information about one or more image templates.
request
- DescribeImagePipelinesRequestException
public DescribeImageSharePermissionResponse describeImageSharePermissionWithOptions(DescribeImageSharePermissionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the accounts with which a custom image is shared. When you call this operation, you can specify parameters, such as RegionId and ImageId, in the request. The response can be displayed by page. By default, 10 entries are displayed on each page.
request
- DescribeImageSharePermissionRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeImageSharePermissionResponse describeImageSharePermission(DescribeImageSharePermissionRequest request) throws Exception
Queries the accounts with which a custom image is shared. When you call this operation, you can specify parameters, such as RegionId and ImageId, in the request. The response can be displayed by page. By default, 10 entries are displayed on each page.
request
- DescribeImageSharePermissionRequestException
public DescribeImageSupportInstanceTypesResponse describeImageSupportInstanceTypesWithOptions(DescribeImageSupportInstanceTypesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the instance types supported by an image.
request
- DescribeImageSupportInstanceTypesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeImageSupportInstanceTypesResponse describeImageSupportInstanceTypes(DescribeImageSupportInstanceTypesRequest request) throws Exception
Queries the instance types supported by an image.
request
- DescribeImageSupportInstanceTypesRequestException
public DescribeImagesResponse describeImagesWithOptions(DescribeImagesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries available images. When you call this operation, you can specify parameters, such as ImageId, ImageFamily, and InstanceType, in the request.
request
- DescribeImagesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeImagesResponse describeImages(DescribeImagesRequest request) throws Exception
Queries available images. When you call this operation, you can specify parameters, such as ImageId, ImageFamily, and InstanceType, in the request.
request
- DescribeImagesRequestException
public DescribeInstanceAttachmentAttributesResponse describeInstanceAttachmentAttributesWithOptions(DescribeInstanceAttachmentAttributesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the private pool. You can configure a private pool when you create an instance. This way, the instance matches the elasticity assurance or capacity reservation that is associated with the private pool. When a private pool expires, data about the association between instances and the private pool becomes invalid. If you call this operation to query the information about the private pool, empty values are returned.
summary :Queries the information about the private pools that Elastic Compute Service (ECS) instances match.
request
- DescribeInstanceAttachmentAttributesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceAttachmentAttributesResponse describeInstanceAttachmentAttributes(DescribeInstanceAttachmentAttributesRequest request) throws Exception
A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the private pool. You can configure a private pool when you create an instance. This way, the instance matches the elasticity assurance or capacity reservation that is associated with the private pool. When a private pool expires, data about the association between instances and the private pool becomes invalid. If you call this operation to query the information about the private pool, empty values are returned.
summary :Queries the information about the private pools that Elastic Compute Service (ECS) instances match.
request
- DescribeInstanceAttachmentAttributesRequestException
public DescribeInstanceAttributeResponse describeInstanceAttributeWithOptions(DescribeInstanceAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the details of an instance by instance ID.
request
- DescribeInstanceAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceAttributeResponse describeInstanceAttribute(DescribeInstanceAttributeRequest request) throws Exception
Queries the details of an instance by instance ID.
request
- DescribeInstanceAttributeRequestException
public DescribeInstanceAutoRenewAttributeResponse describeInstanceAutoRenewAttributeWithOptions(DescribeInstanceAutoRenewAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you configure auto-renewal or manual renewal for subscription instances, you can query the auto-renewal status of the instances.
Queries the auto-renewal status of subscription Elastic Compute Service (ECS) instances.
request
- DescribeInstanceAutoRenewAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceAutoRenewAttributeResponse describeInstanceAutoRenewAttribute(DescribeInstanceAutoRenewAttributeRequest request) throws Exception
Before you configure auto-renewal or manual renewal for subscription instances, you can query the auto-renewal status of the instances.
Queries the auto-renewal status of subscription Elastic Compute Service (ECS) instances.
request
- DescribeInstanceAutoRenewAttributeRequestException
public DescribeInstanceHistoryEventsResponse describeInstanceHistoryEventsWithOptions(DescribeInstanceHistoryEventsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.
Queries the system events of Elastic Compute Service (ECS) instances. When you call this operation, you can specify parameters, such as InstanceId and EventType, in the request. By default, non-active system events are queried.
request
- DescribeInstanceHistoryEventsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceHistoryEventsResponse describeInstanceHistoryEvents(DescribeInstanceHistoryEventsRequest request) throws Exception
You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.
Queries the system events of Elastic Compute Service (ECS) instances. When you call this operation, you can specify parameters, such as InstanceId and EventType, in the request. By default, non-active system events are queried.
request
- DescribeInstanceHistoryEventsRequestException
public DescribeInstanceMaintenanceAttributesResponse describeInstanceMaintenanceAttributesWithOptions(DescribeInstanceMaintenanceAttributesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
Queries the maintenance attributes of an instance.
request
- DescribeInstanceMaintenanceAttributesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceMaintenanceAttributesResponse describeInstanceMaintenanceAttributes(DescribeInstanceMaintenanceAttributesRequest request) throws Exception
This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
Queries the maintenance attributes of an instance.
request
- DescribeInstanceMaintenanceAttributesRequestException
public DescribeInstanceModificationPriceResponse describeInstanceModificationPriceWithOptions(DescribeInstanceModificationPriceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Pricing information can be queried for unexpired subscription ECS instances only when you upgrade their configurations. The pricing information cannot be queried when the instance configurations are downgraded.
Queries the pricing information about newly attached subscription data disks or about the new instance types when you upgrade the configurations of unexpired subscription Elastic Compute Service (ECS) instances.
request
- DescribeInstanceModificationPriceRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceModificationPriceResponse describeInstanceModificationPrice(DescribeInstanceModificationPriceRequest request) throws Exception
Pricing information can be queried for unexpired subscription ECS instances only when you upgrade their configurations. The pricing information cannot be queried when the instance configurations are downgraded.
Queries the pricing information about newly attached subscription data disks or about the new instance types when you upgrade the configurations of unexpired subscription Elastic Compute Service (ECS) instances.
request
- DescribeInstanceModificationPriceRequestException
public DescribeInstanceMonitorDataResponse describeInstanceMonitorDataWithOptions(DescribeInstanceMonitorDataRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
TotalCount
value does not exceed 400. The value is calculated by using the following formula: TotalCount = (EndTime - StartTime)/Period
. If the TotalCount value is greater than 400, the InvalidParameter.TooManyDataQueried
error is returned.StartTime
is more than 30 days earlier than the current time, an error is returned.Queries the monitoring data of an Elastic Compute Service (ECS) instance. The monitoring data can include the vCPU utilization, CPU credits of the burstable instance, amount of received data traffic, amount of sent data traffic, and average bandwidth.
request
- DescribeInstanceMonitorDataRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceMonitorDataResponse describeInstanceMonitorData(DescribeInstanceMonitorDataRequest request) throws Exception
Take note of the following items:
TotalCount
value does not exceed 400. The value is calculated by using the following formula: TotalCount = (EndTime - StartTime)/Period
. If the TotalCount value is greater than 400, the InvalidParameter.TooManyDataQueried
error is returned.StartTime
is more than 30 days earlier than the current time, an error is returned.Queries the monitoring data of an Elastic Compute Service (ECS) instance. The monitoring data can include the vCPU utilization, CPU credits of the burstable instance, amount of received data traffic, amount of sent data traffic, and average bandwidth.
request
- DescribeInstanceMonitorDataRequestException
public DescribeInstanceRamRoleResponse describeInstanceRamRoleWithOptions(DescribeInstanceRamRoleRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see Parameter format overview.
summary :Queries instance Resource Access Management (RAM) roles that are attached to one or more Elastic Compute Service (ECS) instances.
request
- DescribeInstanceRamRoleRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceRamRoleResponse describeInstanceRamRole(DescribeInstanceRamRoleRequest request) throws Exception
When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see Parameter format overview.
summary :Queries instance Resource Access Management (RAM) roles that are attached to one or more Elastic Compute Service (ECS) instances.
request
- DescribeInstanceRamRoleRequestException
public DescribeInstanceStatusResponse describeInstanceStatusWithOptions(DescribeInstanceStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
For information about the lifecycle states of an ECS instance, see Instance states.
Queries the status of one or more Elastic Compute Service (ECS) instances.
request
- DescribeInstanceStatusRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceStatusResponse describeInstanceStatus(DescribeInstanceStatusRequest request) throws Exception
For information about the lifecycle states of an ECS instance, see Instance states.
Queries the status of one or more Elastic Compute Service (ECS) instances.
request
- DescribeInstanceStatusRequestException
public DescribeInstanceTopologyResponse describeInstanceTopologyWithOptions(DescribeInstanceTopologyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the topology of the host on which an Elastic Compute Service (ECS) instance resides.
request
- DescribeInstanceTopologyRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceTopologyResponse describeInstanceTopology(DescribeInstanceTopologyRequest request) throws Exception
Queries the topology of the host on which an Elastic Compute Service (ECS) instance resides.
request
- DescribeInstanceTopologyRequestException
public DescribeInstanceTypeFamiliesResponse describeInstanceTypeFamiliesWithOptions(DescribeInstanceTypeFamiliesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries instance families provided by Elastic Compute Service (ECS).
request
- DescribeInstanceTypeFamiliesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceTypeFamiliesResponse describeInstanceTypeFamilies(DescribeInstanceTypeFamiliesRequest request) throws Exception
Queries instance families provided by Elastic Compute Service (ECS).
request
- DescribeInstanceTypeFamiliesRequestException
public DescribeInstanceTypesResponse describeInstanceTypesWithOptions(DescribeInstanceTypesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Queries the details of all instance types or a specific instance type provided by Elastic Compute Service (ECS).
request
- DescribeInstanceTypesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceTypesResponse describeInstanceTypes(DescribeInstanceTypesRequest request) throws Exception
Take note of the following items:
Queries the details of all instance types or a specific instance type provided by Elastic Compute Service (ECS).
request
- DescribeInstanceTypesRequestException
public DescribeInstanceVncUrlResponse describeInstanceVncUrlWithOptions(DescribeInstanceVncUrlRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
VncUrl
and use the new logon address to construct a URL that can be used to reconnect to the VNC management terminal. You can reconnect to a VNC management terminal for a maximum of 30 times per minute.vncUrl=\\\*\\*\\*\*
, instanceId=\\\*\\*\\*\*
, and isWindows=true/false
parameters to the end of the link https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?
and use an ampersand (&
) between the parameters.vncUrl
: the value of VncUrl
that is returned after a successful call of this operation.instanceId
: the ID of your instance.isWindows
: specifies whether the operating system of your instance is Windows. A value of true
indicates that the operating system is Windows. A value of false
indicates that the operating system is not Windows.You can connect to an instance without a VNC logon password. Therefore, you do not need to configure the
password
parameter. Sample URL: https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
Queries the Virtual Network Computing (VNC) logon address of an Elastic Compute Service (ECS) instance.
request
- DescribeInstanceVncUrlRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstanceVncUrlResponse describeInstanceVncUrl(DescribeInstanceVncUrlRequest request) throws Exception
Take note of the following items:
VncUrl
and use the new logon address to construct a URL that can be used to reconnect to the VNC management terminal. You can reconnect to a VNC management terminal for a maximum of 30 times per minute.vncUrl=\\\*\\*\\*\*
, instanceId=\\\*\\*\\*\*
, and isWindows=true/false
parameters to the end of the link https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?
and use an ampersand (&
) between the parameters.vncUrl
: the value of VncUrl
that is returned after a successful call of this operation.instanceId
: the ID of your instance.isWindows
: specifies whether the operating system of your instance is Windows. A value of true
indicates that the operating system is Windows. A value of false
indicates that the operating system is not Windows.You can connect to an instance without a VNC logon password. Therefore, you do not need to configure the
password
parameter. Sample URL: https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
Queries the Virtual Network Computing (VNC) logon address of an Elastic Compute Service (ECS) instance.
request
- DescribeInstanceVncUrlRequestException
public DescribeInstancesResponse describeInstancesWithOptions(DescribeInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
DryRun
in your request to check whether the empty list is caused by lack of permissions.MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInstances operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries to return on each page and then use PageNumber
to specify the number of the page to return.
You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use Method 1. When MaxResults
or NextToken
is specified, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.Queries the information about Elastic Compute Service (ECS) instances.
request
- DescribeInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstancesResponse describeInstances(DescribeInstancesRequest request) throws Exception
DryRun
in your request to check whether the empty list is caused by lack of permissions.MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInstances operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries to return on each page and then use PageNumber
to specify the number of the page to return.
You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use Method 1. When MaxResults
or NextToken
is specified, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.Queries the information about Elastic Compute Service (ECS) instances.
request
- DescribeInstancesRequestException
public DescribeInstancesFullStatusResponse describeInstancesFullStatusWithOptions(DescribeInstancesFullStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The response includes the instance status and the instance system events that are in the Scheduled state. You can specify a period of time to query events that occurred within the period of time.
summary :Queries the full status information of one or more Elastic Compute Service (ECS) instances. The full status information includes the instance status and the status of instance system events. The instance status is the lifecycle status of instances. The status of instance system events is the health status of maintenance events.
request
- DescribeInstancesFullStatusRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInstancesFullStatusResponse describeInstancesFullStatus(DescribeInstancesFullStatusRequest request) throws Exception
The response includes the instance status and the instance system events that are in the Scheduled state. You can specify a period of time to query events that occurred within the period of time.
summary :Queries the full status information of one or more Elastic Compute Service (ECS) instances. The full status information includes the instance status and the status of instance system events. The instance status is the lifecycle status of instances. The status of instance system events is the health status of maintenance events.
request
- DescribeInstancesFullStatusRequestException
public DescribeInvocationResultsResponse describeInvocationResultsWithOptions(DescribeInvocationResultsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInvocationResults operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries per page, and then use PageNumber
to specify the page number. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.DescribeInvocations
and DescribeInvocationResults
operations:RunCommand
or InvokeCommand
operation is called to run a Cloud Assistant command on multiple instances:DescribeInvocations
operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.DescribeInvocationResults
operation queries only the execution status of the command on each instance.RunCommand
or InvokeCommand
operation is called to run a Cloud Assistant command on a single instance:DescribeInvocations
operation is equivalent to the DescribeInvocationResults
operation.RepeatMode is set to Period or EveryReboot
), you can call only the DescribeInvocationResults
operation and must set IncludeHistory
to true. The DescribeInvocations
operation queries only the most recent execution status of the command.DescribeInvocations
operation and check the CommandContent
value in the response.Queries the execution results of one or more Cloud Assistant commands on Elastic Compute Service (ECS) instances.
request
- DescribeInvocationResultsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInvocationResultsResponse describeInvocationResults(DescribeInvocationResultsRequest request) throws Exception
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInvocationResults operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries per page, and then use PageNumber
to specify the page number. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.DescribeInvocations
and DescribeInvocationResults
operations:RunCommand
or InvokeCommand
operation is called to run a Cloud Assistant command on multiple instances:DescribeInvocations
operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.DescribeInvocationResults
operation queries only the execution status of the command on each instance.RunCommand
or InvokeCommand
operation is called to run a Cloud Assistant command on a single instance:DescribeInvocations
operation is equivalent to the DescribeInvocationResults
operation.RepeatMode is set to Period or EveryReboot
), you can call only the DescribeInvocationResults
operation and must set IncludeHistory
to true. The DescribeInvocations
operation queries only the most recent execution status of the command.DescribeInvocations
operation and check the CommandContent
value in the response.Queries the execution results of one or more Cloud Assistant commands on Elastic Compute Service (ECS) instances.
request
- DescribeInvocationResultsRequestException
public DescribeInvocationsResponse describeInvocationsWithOptions(DescribeInvocationsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which you can use in the next request to retrieve a new page of results. When you call the DescribeInvocations operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries per page, and then use PageNumber
to specify the page number. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.DescribeInvocations
and DescribeInvocationResults
operations:RunCommand
or InvokeCommand
operation is called to run a Cloud Assistant command on multiple instances:DescribeInvocations
operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.DescribeInvocationResults
operation queries only the execution status of the command on each instance.RunCommand
or InvokeCommand
operation is called to run a Cloud Assistant command on a single instance:DescribeInvocations
operation is equivalent to the DescribeInvocationResults
operation.RepeatMode is set to Period or EveryReboot
), you can call only the DescribeInvocationResults
operation and must set IncludeHistory
to true. The DescribeInvocations
operation queries only the most recent execution status of the command.DescribeInvocations
operation and check the CommandContent
value in the response.Queries the execution list and states of Cloud Assistant commands.
request
- DescribeInvocationsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeInvocationsResponse describeInvocations(DescribeInvocationsRequest request) throws Exception
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which you can use in the next request to retrieve a new page of results. When you call the DescribeInvocations operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries per page, and then use PageNumber
to specify the page number. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.DescribeInvocations
and DescribeInvocationResults
operations:RunCommand
or InvokeCommand
operation is called to run a Cloud Assistant command on multiple instances:DescribeInvocations
operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.DescribeInvocationResults
operation queries only the execution status of the command on each instance.RunCommand
or InvokeCommand
operation is called to run a Cloud Assistant command on a single instance:DescribeInvocations
operation is equivalent to the DescribeInvocationResults
operation.RepeatMode is set to Period or EveryReboot
), you can call only the DescribeInvocationResults
operation and must set IncludeHistory
to true. The DescribeInvocations
operation queries only the most recent execution status of the command.DescribeInvocations
operation and check the CommandContent
value in the response.Queries the execution list and states of Cloud Assistant commands.
request
- DescribeInvocationsRequestException
public DescribeKeyPairsResponse describeKeyPairsWithOptions(DescribeKeyPairsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries one or more key pairs.
request
- DescribeKeyPairsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeKeyPairsResponse describeKeyPairs(DescribeKeyPairsRequest request) throws Exception
Queries one or more key pairs.
request
- DescribeKeyPairsRequestException
public DescribeLaunchTemplateVersionsResponse describeLaunchTemplateVersionsWithOptions(DescribeLaunchTemplateVersionsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the information of launch template versions, such as the total number of launch templates, launch template names, and launch template version numbers. When you call this operation, you can specify parameters, such as LaunchTemplateVersion, LaunchTemplateId, and DetailFlag, in the request.
request
- DescribeLaunchTemplateVersionsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeLaunchTemplateVersionsResponse describeLaunchTemplateVersions(DescribeLaunchTemplateVersionsRequest request) throws Exception
Queries the information of launch template versions, such as the total number of launch templates, launch template names, and launch template version numbers. When you call this operation, you can specify parameters, such as LaunchTemplateVersion, LaunchTemplateId, and DetailFlag, in the request.
request
- DescribeLaunchTemplateVersionsRequestException
public DescribeLaunchTemplatesResponse describeLaunchTemplatesWithOptions(DescribeLaunchTemplatesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the information of one or more launch templates, such as the total number of launch templates, the creation time of each launch template, and the latest version number of each launch template. When you can this operation, you can specify parameters, such as TemplateTag, TemplateResourceGroupId, and LaunchTemplateId, in the request.
request
- DescribeLaunchTemplatesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeLaunchTemplatesResponse describeLaunchTemplates(DescribeLaunchTemplatesRequest request) throws Exception
Queries the information of one or more launch templates, such as the total number of launch templates, the creation time of each launch template, and the latest version number of each launch template. When you can this operation, you can specify parameters, such as TemplateTag, TemplateResourceGroupId, and LaunchTemplateId, in the request.
request
- DescribeLaunchTemplatesRequestException
@Deprecated public DescribeLimitationResponse describeLimitationWithOptions(DescribeLimitationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeLimitationRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeLimitationResponse describeLimitation(DescribeLimitationRequest request) throws Exception
request
- DescribeLimitationRequestException
public DescribeManagedInstancesResponse describeManagedInstancesWithOptions(DescribeManagedInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can use one of the following methods to check the responses:
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeManagedInstances operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries to return on each page and then use PageNumber
to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.Queries managed instances.
request
- DescribeManagedInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeManagedInstancesResponse describeManagedInstances(DescribeManagedInstancesRequest request) throws Exception
You can use one of the following methods to check the responses:
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeManagedInstances operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries to return on each page and then use PageNumber
to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.Queries managed instances.
request
- DescribeManagedInstancesRequestException
@Deprecated public DescribeNatGatewaysResponse describeNatGatewaysWithOptions(DescribeNatGatewaysRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeNatGatewaysRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeNatGatewaysResponse describeNatGateways(DescribeNatGatewaysRequest request) throws Exception
request
- DescribeNatGatewaysRequestException
public DescribeNetworkInterfaceAttributeResponse describeNetworkInterfaceAttributeWithOptions(DescribeNetworkInterfaceAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the details of an elastic network interface (ENI). When you call this operation, you can specify parameters, such as NetworkInterfaceId and Attribute, in the request.
request
- DescribeNetworkInterfaceAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeNetworkInterfaceAttributeResponse describeNetworkInterfaceAttribute(DescribeNetworkInterfaceAttributeRequest request) throws Exception
Queries the details of an elastic network interface (ENI). When you call this operation, you can specify parameters, such as NetworkInterfaceId and Attribute, in the request.
request
- DescribeNetworkInterfaceAttributeRequestException
public DescribeNetworkInterfacePermissionsResponse describeNetworkInterfacePermissionsWithOptions(DescribeNetworkInterfacePermissionsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the permissions on elastic network interfaces (ENIs) that are granted to an Alibaba Cloud partner (certified ISV) or an individual user.
request
- DescribeNetworkInterfacePermissionsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeNetworkInterfacePermissionsResponse describeNetworkInterfacePermissions(DescribeNetworkInterfacePermissionsRequest request) throws Exception
Queries the permissions on elastic network interfaces (ENIs) that are granted to an Alibaba Cloud partner (certified ISV) or an individual user.
request
- DescribeNetworkInterfacePermissionsRequestException
public DescribeNetworkInterfacesResponse describeNetworkInterfacesWithOptions(DescribeNetworkInterfacesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call the DescribeNetworkInterfaces
operation for paged query by specifying the MaxResults
or NextToken
parameter. Take note of the following items:
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token that can be used in the next call to retrieve a new page of results.NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.Queries the details of one or more elastic network interfaces (ENIs). When you call this operation, you can specify parameters, such as ResourceGroupId, VSwitchId, and InstanceId, in the request.
request
- DescribeNetworkInterfacesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeNetworkInterfacesResponse describeNetworkInterfaces(DescribeNetworkInterfacesRequest request) throws Exception
You can call the DescribeNetworkInterfaces
operation for paged query by specifying the MaxResults
or NextToken
parameter. Take note of the following items:
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token that can be used in the next call to retrieve a new page of results.NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.Queries the details of one or more elastic network interfaces (ENIs). When you call this operation, you can specify parameters, such as ResourceGroupId, VSwitchId, and InstanceId, in the request.
request
- DescribeNetworkInterfacesRequestException
@Deprecated public DescribeNewProjectEipMonitorDataResponse describeNewProjectEipMonitorDataWithOptions(DescribeNewProjectEipMonitorDataRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeNewProjectEipMonitorDataRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeNewProjectEipMonitorDataResponse describeNewProjectEipMonitorData(DescribeNewProjectEipMonitorDataRequest request) throws Exception
request
- DescribeNewProjectEipMonitorDataRequestException
@Deprecated public DescribePhysicalConnectionsResponse describePhysicalConnectionsWithOptions(DescribePhysicalConnectionsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribePhysicalConnectionsRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribePhysicalConnectionsResponse describePhysicalConnections(DescribePhysicalConnectionsRequest request) throws Exception
request
- DescribePhysicalConnectionsRequestException
public DescribePrefixListAssociationsResponse describePrefixListAssociationsWithOptions(DescribePrefixListAssociationsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The region ID of the prefix list. You can call the DescribeRegions operation to query the most recent region list.
request
- DescribePrefixListAssociationsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribePrefixListAssociationsResponse describePrefixListAssociations(DescribePrefixListAssociationsRequest request) throws Exception
The region ID of the prefix list. You can call the DescribeRegions operation to query the most recent region list.
request
- DescribePrefixListAssociationsRequestException
public DescribePrefixListAttributesResponse describePrefixListAttributesWithOptions(DescribePrefixListAttributesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The operation that you want to perform. Set the value to DescribePrefixListAttributes.
request
- DescribePrefixListAttributesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribePrefixListAttributesResponse describePrefixListAttributes(DescribePrefixListAttributesRequest request) throws Exception
The operation that you want to perform. Set the value to DescribePrefixListAttributes.
request
- DescribePrefixListAttributesRequestException
public DescribePrefixListsResponse describePrefixListsWithOptions(DescribePrefixListsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can specify the AddressFamily
, PrefixListId.N
, and PrefixListName
request parameters to be queried. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
Queries the information of one or more prefix lists.
request
- DescribePrefixListsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribePrefixListsResponse describePrefixLists(DescribePrefixListsRequest request) throws Exception
You can specify the AddressFamily
, PrefixListId.N
, and PrefixListName
request parameters to be queried. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
Queries the information of one or more prefix lists.
request
- DescribePrefixListsRequestException
public DescribePriceResponse describePriceWithOptions(DescribePriceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
ResourceType
is set to instance, you must specify InstanceType
.ResourceType
is set to disk, you must specify both DataDisk.1.Category
and DataDisk.1.Size
. When ResourceType
is set to disk, only pay-as-you-go prices of cloud disks are returned. In this scenario, PriceUnit
can be set only to Hour
.ResourceType
is set to ddh, you must specify DedicatedHostType
.ResourceType
is set to ElasticityAssurance, you must specify InstanceType
.ResourceType
is set to CapacityReservation, you must specify InstanceType
.ResourceType
is set to bandwidth, only the pay-by-traffic (PayByTraffic
) price for network usage is returned.ResourceType
is set to instance, the prices of up to four data disks can be queried.ChargeType
is set to PostPaid
. You can specify PriceUnit
to query prices of ECS resources that have different billing cycles.Queries information about the most recent prices of Elastic Compute Service (ECS) resources, such as the promotion rules, prices, and discounts. When you call this operation, you can specify parameters, such as ResourceType, ImageId, and InstanceType, in the request.
request
- DescribePriceRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribePriceResponse describePrice(DescribePriceRequest request) throws Exception
ResourceType
is set to instance, you must specify InstanceType
.ResourceType
is set to disk, you must specify both DataDisk.1.Category
and DataDisk.1.Size
. When ResourceType
is set to disk, only pay-as-you-go prices of cloud disks are returned. In this scenario, PriceUnit
can be set only to Hour
.ResourceType
is set to ddh, you must specify DedicatedHostType
.ResourceType
is set to ElasticityAssurance, you must specify InstanceType
.ResourceType
is set to CapacityReservation, you must specify InstanceType
.ResourceType
is set to bandwidth, only the pay-by-traffic (PayByTraffic
) price for network usage is returned.ResourceType
is set to instance, the prices of up to four data disks can be queried.ChargeType
is set to PostPaid
. You can specify PriceUnit
to query prices of ECS resources that have different billing cycles.Queries information about the most recent prices of Elastic Compute Service (ECS) resources, such as the promotion rules, prices, and discounts. When you call this operation, you can specify parameters, such as ResourceType, ImageId, and InstanceType, in the request.
request
- DescribePriceRequestException
public DescribeRecommendInstanceTypeResponse describeRecommendInstanceTypeWithOptions(DescribeRecommendInstanceTypeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries alternative instance types of an instance type. This operation is in internal preview. This operation lists all alternative instance types of an instance type that has been or is planed to be retired.
request
- DescribeRecommendInstanceTypeRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeRecommendInstanceTypeResponse describeRecommendInstanceType(DescribeRecommendInstanceTypeRequest request) throws Exception
Queries alternative instance types of an instance type. This operation is in internal preview. This operation lists all alternative instance types of an instance type that has been or is planed to be retired.
request
- DescribeRecommendInstanceTypeRequestException
public DescribeRegionsResponse describeRegionsWithOptions(DescribeRegionsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries available Alibaba Cloud regions.
request
- DescribeRegionsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeRegionsResponse describeRegions(DescribeRegionsRequest request) throws Exception
Queries available Alibaba Cloud regions.
request
- DescribeRegionsRequestException
public DescribeRenewalPriceResponse describeRenewalPriceWithOptions(DescribeRenewalPriceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
Period
and PeriodUnit
) and the synchronized expiration date-related parameter (ExpectedRenewDay
) are mutually exclusive. You cannot set these parameters together to query the prices for renewing a specified instance for a period of time and to a synchronized expiration date at the same time.Queries the renewal price of a subscription Elastic Compute Service (ECS) resource. Renewal prices of only subscription resources can be queried.
request
- DescribeRenewalPriceRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeRenewalPriceResponse describeRenewalPrice(DescribeRenewalPriceRequest request) throws Exception
You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
Period
and PeriodUnit
) and the synchronized expiration date-related parameter (ExpectedRenewDay
) are mutually exclusive. You cannot set these parameters together to query the prices for renewing a specified instance for a period of time and to a synchronized expiration date at the same time.Queries the renewal price of a subscription Elastic Compute Service (ECS) resource. Renewal prices of only subscription resources can be queried.
request
- DescribeRenewalPriceRequestException
public DescribeReservedInstanceAutoRenewAttributeResponse describeReservedInstanceAutoRenewAttributeWithOptions(DescribeReservedInstanceAutoRenewAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the auto-renewal status of one or more subscription reserved instances.
request
- DescribeReservedInstanceAutoRenewAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeReservedInstanceAutoRenewAttributeResponse describeReservedInstanceAutoRenewAttribute(DescribeReservedInstanceAutoRenewAttributeRequest request) throws Exception
Queries the auto-renewal status of one or more subscription reserved instances.
request
- DescribeReservedInstanceAutoRenewAttributeRequestException
public DescribeReservedInstancesResponse describeReservedInstancesWithOptions(DescribeReservedInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries purchased reserved instances.
request
- DescribeReservedInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeReservedInstancesResponse describeReservedInstances(DescribeReservedInstancesRequest request) throws Exception
Queries purchased reserved instances.
request
- DescribeReservedInstancesRequestException
public DescribeResourceByTagsResponse describeResourceByTagsWithOptions(DescribeResourceByTagsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries resources by tag or resource type.
request
- DescribeResourceByTagsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeResourceByTagsResponse describeResourceByTags(DescribeResourceByTagsRequest request) throws Exception
Queries resources by tag or resource type.
request
- DescribeResourceByTagsRequestException
public DescribeResourcesModificationResponse describeResourcesModificationWithOptions(DescribeResourcesModificationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries available instance types or system disk categories in a specific zone before you change the instance type or system disk category of an Elastic Compute Service (ECS) instance.
request
- DescribeResourcesModificationRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeResourcesModificationResponse describeResourcesModification(DescribeResourcesModificationRequest request) throws Exception
Queries available instance types or system disk categories in a specific zone before you change the instance type or system disk category of an Elastic Compute Service (ECS) instance.
request
- DescribeResourcesModificationRequestException
@Deprecated public DescribeRouteTablesResponse describeRouteTablesWithOptions(DescribeRouteTablesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeRouteTablesRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeRouteTablesResponse describeRouteTables(DescribeRouteTablesRequest request) throws Exception
request
- DescribeRouteTablesRequestException
@Deprecated public DescribeRouterInterfacesResponse describeRouterInterfacesWithOptions(DescribeRouterInterfacesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeRouterInterfacesRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeRouterInterfacesResponse describeRouterInterfaces(DescribeRouterInterfacesRequest request) throws Exception
request
- DescribeRouterInterfacesRequestException
public DescribeSavingsPlanEstimationResponse describeSavingsPlanEstimationWithOptions(DescribeSavingsPlanEstimationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
节省计划测算
request
- DescribeSavingsPlanEstimationRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSavingsPlanEstimationResponse describeSavingsPlanEstimation(DescribeSavingsPlanEstimationRequest request) throws Exception
节省计划测算
request
- DescribeSavingsPlanEstimationRequestException
public DescribeSavingsPlanPriceResponse describeSavingsPlanPriceWithOptions(DescribeSavingsPlanPriceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
询价购买节省计划并预付费换购按量付费
request
- DescribeSavingsPlanPriceRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSavingsPlanPriceResponse describeSavingsPlanPrice(DescribeSavingsPlanPriceRequest request) throws Exception
询价购买节省计划并预付费换购按量付费
request
- DescribeSavingsPlanPriceRequestException
public DescribeSecurityGroupAttributeResponse describeSecurityGroupAttributeWithOptions(DescribeSecurityGroupAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the rules of a security group.
request
- DescribeSecurityGroupAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSecurityGroupAttributeResponse describeSecurityGroupAttribute(DescribeSecurityGroupAttributeRequest request) throws Exception
Queries the rules of a security group.
request
- DescribeSecurityGroupAttributeRequestException
public DescribeSecurityGroupReferencesResponse describeSecurityGroupReferencesWithOptions(DescribeSecurityGroupReferencesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, take note of the following items:
Queries the security groups that are referencing specific security groups. When you call this operation, you can specify SecurityGroupId.
request
- DescribeSecurityGroupReferencesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSecurityGroupReferencesResponse describeSecurityGroupReferences(DescribeSecurityGroupReferencesRequest request) throws Exception
When you call this operation, take note of the following items:
Queries the security groups that are referencing specific security groups. When you call this operation, you can specify SecurityGroupId.
request
- DescribeSecurityGroupReferencesRequestException
public DescribeSecurityGroupsResponse describeSecurityGroupsWithOptions(DescribeSecurityGroupsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
MaxResults
and NextToken
for a paged query. We recommend that you use MaxResults
to specify the maximum number of entries to return for each request. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeSecurityGroups operation to retrieve a new page of results, set NextToken
to the NextToken
value that is returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call. If the return value of NextToken
is empty, the current page of results is the last page and no more results are to be returned.Queries the basic information of security groups.
request
- DescribeSecurityGroupsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSecurityGroupsResponse describeSecurityGroups(DescribeSecurityGroupsRequest request) throws Exception
Take note of the following items:
MaxResults
and NextToken
for a paged query. We recommend that you use MaxResults
to specify the maximum number of entries to return for each request. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeSecurityGroups operation to retrieve a new page of results, set NextToken
to the NextToken
value that is returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call. If the return value of NextToken
is empty, the current page of results is the last page and no more results are to be returned.Queries the basic information of security groups.
request
- DescribeSecurityGroupsRequestException
public DescribeSendFileResultsResponse describeSendFileResultsWithOptions(DescribeSendFileResultsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeSendFileResults operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries to return on each page and then use PageNumber
to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.Queries the files sent by Cloud Assistant and their status.
request
- DescribeSendFileResultsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSendFileResultsResponse describeSendFileResults(DescribeSendFileResultsRequest request) throws Exception
MaxResults
to specify the maximum number of entries to return in the call. The return value of NextToken
is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeSendFileResults operation to retrieve a new page of results, set NextToken
to the NextToken
value returned in the previous call and set MaxResults
to specify the maximum number of entries to return in this call.PageSize
to specify the number of entries to return on each page and then use PageNumber
to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults
or NextToken
, the PageSize
and PageNumber
request parameters do not take effect and the TotalCount
response parameter is invalid.Queries the files sent by Cloud Assistant and their status.
request
- DescribeSendFileResultsRequestException
public DescribeSnapshotGroupsResponse describeSnapshotGroupsWithOptions(DescribeSnapshotGroupsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can specify multiple request parameters to be queried, such as InstanceId
, SnapshotGroupId.N
, and Status.N
. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
Queries the information of one or more snapshot-consistent groups, such as the status of the groups, IDs of the instances associated with the groups, and snapshot creation progress.
request
- DescribeSnapshotGroupsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSnapshotGroupsResponse describeSnapshotGroups(DescribeSnapshotGroupsRequest request) throws Exception
You can specify multiple request parameters to be queried, such as InstanceId
, SnapshotGroupId.N
, and Status.N
. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
Queries the information of one or more snapshot-consistent groups, such as the status of the groups, IDs of the instances associated with the groups, and snapshot creation progress.
request
- DescribeSnapshotGroupsRequestException
public DescribeSnapshotLinksResponse describeSnapshotLinksWithOptions(DescribeSnapshotLinksRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
RegionId
, DiskIds
, and InstanceId
, to query snapshot chains. Specified parameters have logical AND relations.DiskIds
and SnapshotLinkIds
parameters are set to empty JSON arrays, the values are considered as valid filter conditions. In this case, an empty result is returned.Queries the snapshot chains of disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
request
- DescribeSnapshotLinksRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSnapshotLinksResponse describeSnapshotLinks(DescribeSnapshotLinksRequest request) throws Exception
Take note of the following items:
RegionId
, DiskIds
, and InstanceId
, to query snapshot chains. Specified parameters have logical AND relations.DiskIds
and SnapshotLinkIds
parameters are set to empty JSON arrays, the values are considered as valid filter conditions. In this case, an empty result is returned.Queries the snapshot chains of disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
request
- DescribeSnapshotLinksRequestException
public DescribeSnapshotMonitorDataResponse describeSnapshotMonitorDataWithOptions(DescribeSnapshotMonitorDataRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
TotalCount
value does not exceed 400. The value is calculated by using the following formula: TotalCount = (EndTime - StartTime)/Period
. If the TotalCount value is greater than 400, the InvalidParameter.TooManyDataQueried
error is returned.StartTime
is more than 30 days earlier than the current time, an error is returned.Queries the monitoring data of snapshot sizes in a region over the last 30 days.
request
- DescribeSnapshotMonitorDataRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSnapshotMonitorDataResponse describeSnapshotMonitorData(DescribeSnapshotMonitorDataRequest request) throws Exception
Take note of the following items:
TotalCount
value does not exceed 400. The value is calculated by using the following formula: TotalCount = (EndTime - StartTime)/Period
. If the TotalCount value is greater than 400, the InvalidParameter.TooManyDataQueried
error is returned.StartTime
is more than 30 days earlier than the current time, an error is returned.Queries the monitoring data of snapshot sizes in a region over the last 30 days.
request
- DescribeSnapshotMonitorDataRequestException
public DescribeSnapshotPackageResponse describeSnapshotPackageWithOptions(DescribeSnapshotPackageRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The number of the page to return. Pages start from page 1. Default value: 1.
request
- DescribeSnapshotPackageRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSnapshotPackageResponse describeSnapshotPackage(DescribeSnapshotPackageRequest request) throws Exception
The number of the page to return. Pages start from page 1. Default value: 1.
request
- DescribeSnapshotPackageRequestException
public DescribeSnapshotsResponse describeSnapshotsWithOptions(DescribeSnapshotsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can configure multiple request parameters such as InstanceId
, DiskId
, and SnapshotIds
to query snapshots. Configured parameters have logical AND relations. Only the configured parameters are included in the filter conditions.
When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in required formats. For more information, see Parameter format overview.
Queries the details of all snapshots of an Elastic Compute Service (ECS) instance or a cloud disk. The details include the status of the snapshots, amount of remaining time required to create the snapshots, and the retention period of the automatic snapshots in days.
request
- DescribeSnapshotsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSnapshotsResponse describeSnapshots(DescribeSnapshotsRequest request) throws Exception
You can configure multiple request parameters such as InstanceId
, DiskId
, and SnapshotIds
to query snapshots. Configured parameters have logical AND relations. Only the configured parameters are included in the filter conditions.
When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in required formats. For more information, see Parameter format overview.
Queries the details of all snapshots of an Elastic Compute Service (ECS) instance or a cloud disk. The details include the status of the snapshots, amount of remaining time required to create the snapshots, and the retention period of the automatic snapshots in days.
request
- DescribeSnapshotsRequestException
public DescribeSnapshotsUsageResponse describeSnapshotsUsageWithOptions(DescribeSnapshotsUsageRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If you want to view the snapshot usage of each disk in the current region, we recommend that you call the DescribeSnapshotLinks operation to query snapshot chain information.
summary :Queries the number of snapshots that are stored in a region and the total size of the snapshots.
request
- DescribeSnapshotsUsageRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSnapshotsUsageResponse describeSnapshotsUsage(DescribeSnapshotsUsageRequest request) throws Exception
If you want to view the snapshot usage of each disk in the current region, we recommend that you call the DescribeSnapshotLinks operation to query snapshot chain information.
summary :Queries the number of snapshots that are stored in a region and the total size of the snapshots.
request
- DescribeSnapshotsUsageRequestException
public DescribeSpotAdviceResponse describeSpotAdviceWithOptions(DescribeSpotAdviceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Cores
and Memory
parameters or the MinCores
and MinMemory
parameters to query information about instance types that meet the specified vCPU and memory requirements.InstanceTypes.N
parameter to query information about specified instance types.Cores
and Memory
parameters or the MinCores
and MinMemory
parameters and then configure the InstanceTypeFamily
or InstanceFamilyLevel
parameter to query information about instance types that meet the specified vCPU and memory requirements within the specified instance family or at a specified instance family level.Queries information about preemptible instances in a region in the previous 30 days. The information includes the average release rate of preemptible instances and the percentage of the average preemptible instance price relative to the pay-as-you-go instance price.
request
- DescribeSpotAdviceRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSpotAdviceResponse describeSpotAdvice(DescribeSpotAdviceRequest request) throws Exception
Cores
and Memory
parameters or the MinCores
and MinMemory
parameters to query information about instance types that meet the specified vCPU and memory requirements.InstanceTypes.N
parameter to query information about specified instance types.Cores
and Memory
parameters or the MinCores
and MinMemory
parameters and then configure the InstanceTypeFamily
or InstanceFamilyLevel
parameter to query information about instance types that meet the specified vCPU and memory requirements within the specified instance family or at a specified instance family level.Queries information about preemptible instances in a region in the previous 30 days. The information includes the average release rate of preemptible instances and the percentage of the average preemptible instance price relative to the pay-as-you-go instance price.
request
- DescribeSpotAdviceRequestException
public DescribeSpotPriceHistoryResponse describeSpotPriceHistoryWithOptions(DescribeSpotPriceHistoryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the price history of a preemptible instance within the previous 30 days.
request
- DescribeSpotPriceHistoryRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeSpotPriceHistoryResponse describeSpotPriceHistory(DescribeSpotPriceHistoryRequest request) throws Exception
Queries the price history of a preemptible instance within the previous 30 days.
request
- DescribeSpotPriceHistoryRequestException
public DescribeStorageCapacityUnitsResponse describeStorageCapacityUnitsWithOptions(DescribeStorageCapacityUnitsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the details of one or more SCUs.
request
- DescribeStorageCapacityUnitsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeStorageCapacityUnitsResponse describeStorageCapacityUnits(DescribeStorageCapacityUnitsRequest request) throws Exception
Queries the details of one or more SCUs.
request
- DescribeStorageCapacityUnitsRequestException
public DescribeStorageSetDetailsResponse describeStorageSetDetailsWithOptions(DescribeStorageSetDetailsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the details of the disks or Shared Block Storage devices in a storage set.
request
- DescribeStorageSetDetailsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeStorageSetDetailsResponse describeStorageSetDetails(DescribeStorageSetDetailsRequest request) throws Exception
Queries the details of the disks or Shared Block Storage devices in a storage set.
request
- DescribeStorageSetDetailsRequestException
public DescribeStorageSetsResponse describeStorageSetsWithOptions(DescribeStorageSetsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Describes the details of storage sets in a specific region. The details of a storage set include its region, zone, creation time, and maximum number of partitions.
request
- DescribeStorageSetsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeStorageSetsResponse describeStorageSets(DescribeStorageSetsRequest request) throws Exception
Describes the details of storage sets in a specific region. The details of a storage set include its region, zone, creation time, and maximum number of partitions.
request
- DescribeStorageSetsRequestException
public DescribeTagsResponse describeTagsWithOptions(DescribeTagsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If a tag key that has no tag value is specified, all tags that contain the tag key are returned. If a tag key-value pair is specified, only tags that exactly match the key-value pair are returned.
summary :Queries tags that are available to you. You can specify multiple filter conditions, such as a resource type, a resource ID, a tag key, and a tag value, to query tags. The specified filter conditions have logical AND relations.
request
- DescribeTagsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeTagsResponse describeTags(DescribeTagsRequest request) throws Exception
If a tag key that has no tag value is specified, all tags that contain the tag key are returned. If a tag key-value pair is specified, only tags that exactly match the key-value pair are returned.
summary :Queries tags that are available to you. You can specify multiple filter conditions, such as a resource type, a resource ID, a tag key, and a tag value, to query tags. The specified filter conditions have logical AND relations.
request
- DescribeTagsRequestException
public DescribeTaskAttributeResponse describeTaskAttributeWithOptions(DescribeTaskAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call this operation to query the details of an asynchronous task. You can query the asynchronous tasks including importing images, exporting images, and modifying disk categories. The asynchronous tasks are generated by the ImportImage, ExportImage, and ModifyDiskSpec operations.
request
- DescribeTaskAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeTaskAttributeResponse describeTaskAttribute(DescribeTaskAttributeRequest request) throws Exception
You can call this operation to query the details of an asynchronous task. You can query the asynchronous tasks including importing images, exporting images, and modifying disk categories. The asynchronous tasks are generated by the ImportImage, ExportImage, and ModifyDiskSpec operations.
request
- DescribeTaskAttributeRequestException
public DescribeTasksResponse describeTasksWithOptions(DescribeTasksRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the progress of one or more asynchronous requests.
request
- DescribeTasksRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeTasksResponse describeTasks(DescribeTasksRequest request) throws Exception
Queries the progress of one or more asynchronous requests.
request
- DescribeTasksRequestException
public DescribeTerminalSessionsResponse describeTerminalSessionsWithOptions(DescribeTerminalSessionsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can query the session records of Session Manager that were generated in the last four weeks.
summary :Queries the session records of Elastic Compute Service (ECS) Session Manager.
request
- DescribeTerminalSessionsRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeTerminalSessionsResponse describeTerminalSessions(DescribeTerminalSessionsRequest request) throws Exception
You can query the session records of Session Manager that were generated in the last four weeks.
summary :Queries the session records of Elastic Compute Service (ECS) Session Manager.
request
- DescribeTerminalSessionsRequestException
@Deprecated public DescribeUserBusinessBehaviorResponse describeUserBusinessBehaviorWithOptions(DescribeUserBusinessBehaviorRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeUserBusinessBehaviorRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeUserBusinessBehaviorResponse describeUserBusinessBehavior(DescribeUserBusinessBehaviorRequest request) throws Exception
request
- DescribeUserBusinessBehaviorRequestException
public DescribeUserDataResponse describeUserDataWithOptions(DescribeUserDataRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The returned custom data is encoded in Base64.
Queries the user data of an Elastic Compute Service (ECS) instance.
request
- DescribeUserDataRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeUserDataResponse describeUserData(DescribeUserDataRequest request) throws Exception
The returned custom data is encoded in Base64.
Queries the user data of an Elastic Compute Service (ECS) instance.
request
- DescribeUserDataRequestException
@Deprecated public DescribeVRoutersResponse describeVRoutersWithOptions(DescribeVRoutersRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeVRoutersRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeVRoutersResponse describeVRouters(DescribeVRoutersRequest request) throws Exception
request
- DescribeVRoutersRequestException
@Deprecated public DescribeVSwitchesResponse describeVSwitchesWithOptions(DescribeVSwitchesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeVSwitchesRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeVSwitchesResponse describeVSwitches(DescribeVSwitchesRequest request) throws Exception
request
- DescribeVSwitchesRequestException
@Deprecated public DescribeVirtualBorderRoutersResponse describeVirtualBorderRoutersWithOptions(DescribeVirtualBorderRoutersRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeVirtualBorderRoutersRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeVirtualBorderRoutersResponse describeVirtualBorderRouters(DescribeVirtualBorderRoutersRequest request) throws Exception
request
- DescribeVirtualBorderRoutersRequestException
@Deprecated public DescribeVirtualBorderRoutersForPhysicalConnectionResponse describeVirtualBorderRoutersForPhysicalConnectionWithOptions(DescribeVirtualBorderRoutersForPhysicalConnectionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- DescribeVirtualBorderRoutersForPhysicalConnectionRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeVirtualBorderRoutersForPhysicalConnectionResponse describeVirtualBorderRoutersForPhysicalConnection(DescribeVirtualBorderRoutersForPhysicalConnectionRequest request) throws Exception
request
- DescribeVirtualBorderRoutersForPhysicalConnectionRequestException
@Deprecated public DescribeVpcsResponse describeVpcsWithOptions(DescribeVpcsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询VPC
request
- DescribeVpcsRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public DescribeVpcsResponse describeVpcs(DescribeVpcsRequest request) throws Exception
查询VPC
request
- DescribeVpcsRequestException
public DescribeZonesResponse describeZonesWithOptions(DescribeZonesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, only a list of zones and some resource information of each zone are returned. If you want to query instance types and disk categories that are available for purchase in a specific zone, we recommend that you call the DescribeAvailableResource operation.
summary :Queries the zones in a specific region.
request
- DescribeZonesRequestruntime
- runtime options for this request RuntimeOptionsException
public DescribeZonesResponse describeZones(DescribeZonesRequest request) throws Exception
When you call this operation, only a list of zones and some resource information of each zone are returned. If you want to query instance types and disk categories that are available for purchase in a specific zone, we recommend that you call the DescribeAvailableResource operation.
summary :Queries the zones in a specific region.
request
- DescribeZonesRequestException
public DetachClassicLinkVpcResponse detachClassicLinkVpcWithOptions(DetachClassicLinkVpcRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call this operation to unlink a classic network-type instance from a virtual private cloud (VPC) by removing the ClassicLink connection between them. After the instance is unlinked from the VPC, it can no longer communicate with instances in the VPC.
request
- DetachClassicLinkVpcRequestruntime
- runtime options for this request RuntimeOptionsException
public DetachClassicLinkVpcResponse detachClassicLinkVpc(DetachClassicLinkVpcRequest request) throws Exception
You can call this operation to unlink a classic network-type instance from a virtual private cloud (VPC) by removing the ClassicLink connection between them. After the instance is unlinked from the VPC, it can no longer communicate with instances in the VPC.
request
- DetachClassicLinkVpcRequestException
public DetachDiskResponse detachDiskWithOptions(DetachDiskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
In_use
) state.Running
) or Stopped (Stopped
) state.OperationLocks
parameter in the response contains "LockReason" : "security"
when you query the instance information, the instance is locked for security reasons and all operations are prohibited on the instance.Detaches a pay-as-you-go data disk or a system disk from an Elastic Compute Service (ECS) instance.
request
- DetachDiskRequestruntime
- runtime options for this request RuntimeOptionsException
public DetachDiskResponse detachDisk(DetachDiskRequest request) throws Exception
Take note of the following items:
In_use
) state.Running
) or Stopped (Stopped
) state.OperationLocks
parameter in the response contains "LockReason" : "security"
when you query the instance information, the instance is locked for security reasons and all operations are prohibited on the instance.Detaches a pay-as-you-go data disk or a system disk from an Elastic Compute Service (ECS) instance.
request
- DetachDiskRequestException
public DetachInstanceRamRoleResponse detachInstanceRamRoleWithOptions(DetachInstanceRamRoleRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Detaches instance Resource Access Management (RAM) roles from ECS instances.
request
- DetachInstanceRamRoleRequestruntime
- runtime options for this request RuntimeOptionsException
public DetachInstanceRamRoleResponse detachInstanceRamRole(DetachInstanceRamRoleRequest request) throws Exception
Detaches instance Resource Access Management (RAM) roles from ECS instances.
request
- DetachInstanceRamRoleRequestException
public DetachKeyPairResponse detachKeyPairWithOptions(DetachKeyPairRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, take note of the following items:
Unbinds an SSH key pair from Linux instances.
request
- DetachKeyPairRequestruntime
- runtime options for this request RuntimeOptionsException
public DetachKeyPairResponse detachKeyPair(DetachKeyPairRequest request) throws Exception
When you call this operation, take note of the following items:
Unbinds an SSH key pair from Linux instances.
request
- DetachKeyPairRequestException
public DetachNetworkInterfaceResponse detachNetworkInterfaceWithOptions(DetachNetworkInterfaceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Detach an elastic network interface (ENI) from an Elastic Compute Service (ECS) instance.
request
- DetachNetworkInterfaceRequestruntime
- runtime options for this request RuntimeOptionsException
public DetachNetworkInterfaceResponse detachNetworkInterface(DetachNetworkInterfaceRequest request) throws Exception
Take note of the following items:
Detach an elastic network interface (ENI) from an Elastic Compute Service (ECS) instance.
request
- DetachNetworkInterfaceRequestException
public DisableActivationResponse disableActivationWithOptions(DisableActivationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong). You can call the DescribeRegions operation to query the most recent region list.
summary :To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
request
- DisableActivationRequestruntime
- runtime options for this request RuntimeOptionsException
public DisableActivationResponse disableActivation(DisableActivationRequest request) throws Exception
The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong). You can call the DescribeRegions operation to query the most recent region list.
summary :To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
request
- DisableActivationRequestException
public DisableDiskEncryptionByDefaultResponse disableDiskEncryptionByDefaultWithOptions(DisableDiskEncryptionByDefaultRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Instructions * Only Alibaba Cloud accounts can call this operation.
Disables account-level default encryption of Elastic Block Storage (EBS) resources in a region. After you disable account-level default encryption of EBS resources in a region, the encryption status of existing disks in the region does not change. When you create a disk, you can still choose to encrypt the disk.
request
- DisableDiskEncryptionByDefaultRequestruntime
- runtime options for this request RuntimeOptionsException
public DisableDiskEncryptionByDefaultResponse disableDiskEncryptionByDefault(DisableDiskEncryptionByDefaultRequest request) throws Exception
Instructions * Only Alibaba Cloud accounts can call this operation.
Disables account-level default encryption of Elastic Block Storage (EBS) resources in a region. After you disable account-level default encryption of EBS resources in a region, the encryption status of existing disks in the region does not change. When you create a disk, you can still choose to encrypt the disk.
request
- DisableDiskEncryptionByDefaultRequestException
public EnableDiskEncryptionByDefaultResponse enableDiskEncryptionByDefaultWithOptions(EnableDiskEncryptionByDefaultRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The Account-level EBS Default Encryption feature is available only in specific regions and to specific users. To use Account-level EBS Default Encryption, submit a ticket.
Enables the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
request
- EnableDiskEncryptionByDefaultRequestruntime
- runtime options for this request RuntimeOptionsException
public EnableDiskEncryptionByDefaultResponse enableDiskEncryptionByDefault(EnableDiskEncryptionByDefaultRequest request) throws Exception
The Account-level EBS Default Encryption feature is available only in specific regions and to specific users. To use Account-level EBS Default Encryption, submit a ticket.
Enables the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
request
- EnableDiskEncryptionByDefaultRequestException
@Deprecated public EnablePhysicalConnectionResponse enablePhysicalConnectionWithOptions(EnablePhysicalConnectionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- EnablePhysicalConnectionRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public EnablePhysicalConnectionResponse enablePhysicalConnection(EnablePhysicalConnectionRequest request) throws Exception
request
- EnablePhysicalConnectionRequestException
public ExportImageResponse exportImageWithOptions(ExportImageRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you export images, take note of the following items:
ImageFormat
parameter is available only for the following regions: Japan (Tokyo), Australia (Sydney) Closing Down, Indonesia (Jakarta), Germany (Frankfurt), UAE (Dubai), US (Virginia), UK (London), Singapore, Malaysia (Kuala Lumpur), and US (Silicon Valley). Alibaba Cloud services will be discontinued in the India (Mumbai) region. By default, custom images are exported in the RAW format in regions where the ImageFormat parameter is unsupported.AliyunECSImageExportDefaultRole
and attach the following policy to the role:
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}AliyunECSImageExportRolePolicy
system policy, which is the default policy that grants ECS the permissions to export images, to the AliyunECSImageExportDefaultRole
role. For more information, go to the Cloud Resource Access Authorization page. You can also create a custom policy that contains the following content and attach the policy to the role:
{
"Version": "1",
"Statement": [
{
"Action": [
"oss:GetObject",
"oss:PutObject",
"oss:DeleteObject",
"oss:GetBucketLocation",
"oss:GetBucketInfo",
"oss:AbortMultipartUpload",
"oss:ListMultipartUploads",
"oss:ListParts"
],
"Resource": "*",
"Effect": "Allow"
}
]
}After you export the images, take note of the following items: Each exported custom image is stored in the specified OSS bucket. You can download the custom image. For more information, see Download objects.
summary :Exports a custom image to an Object Storage Service (OSS) bucket in the same region.
request
- ExportImageRequestruntime
- runtime options for this request RuntimeOptionsException
public ExportImageResponse exportImage(ExportImageRequest request) throws Exception
Before you export images, take note of the following items:
ImageFormat
parameter is available only for the following regions: Japan (Tokyo), Australia (Sydney) Closing Down, Indonesia (Jakarta), Germany (Frankfurt), UAE (Dubai), US (Virginia), UK (London), Singapore, Malaysia (Kuala Lumpur), and US (Silicon Valley). Alibaba Cloud services will be discontinued in the India (Mumbai) region. By default, custom images are exported in the RAW format in regions where the ImageFormat parameter is unsupported.AliyunECSImageExportDefaultRole
and attach the following policy to the role:
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}AliyunECSImageExportRolePolicy
system policy, which is the default policy that grants ECS the permissions to export images, to the AliyunECSImageExportDefaultRole
role. For more information, go to the Cloud Resource Access Authorization page. You can also create a custom policy that contains the following content and attach the policy to the role:
{
"Version": "1",
"Statement": [
{
"Action": [
"oss:GetObject",
"oss:PutObject",
"oss:DeleteObject",
"oss:GetBucketLocation",
"oss:GetBucketInfo",
"oss:AbortMultipartUpload",
"oss:ListMultipartUploads",
"oss:ListParts"
],
"Resource": "*",
"Effect": "Allow"
}
]
}After you export the images, take note of the following items: Each exported custom image is stored in the specified OSS bucket. You can download the custom image. For more information, see Download objects.
summary :Exports a custom image to an Object Storage Service (OSS) bucket in the same region.
request
- ExportImageRequestException
@Deprecated public ExportSnapshotResponse exportSnapshotWithOptions(ExportSnapshotRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ExportSnapshotRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ExportSnapshotResponse exportSnapshot(ExportSnapshotRequest request) throws Exception
request
- ExportSnapshotRequestException
public GetInstanceConsoleOutputResponse getInstanceConsoleOutputWithOptions(GetInstanceConsoleOutputRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
ECS is a virtualized cloud-based service and cannot be connected to display devices. Alibaba Cloud caches system command outputs for the last start, restart, or shutdown of ECS instances. You can call the GetInstanceConsoleOutput operation to query the command outputs.
Queries the command output of an Elastic Compute Service (ECS) instance. The returned command output is encoded in Base64.
request
- GetInstanceConsoleOutputRequestruntime
- runtime options for this request RuntimeOptionsException
public GetInstanceConsoleOutputResponse getInstanceConsoleOutput(GetInstanceConsoleOutputRequest request) throws Exception
ECS is a virtualized cloud-based service and cannot be connected to display devices. Alibaba Cloud caches system command outputs for the last start, restart, or shutdown of ECS instances. You can call the GetInstanceConsoleOutput operation to query the command outputs.
Queries the command output of an Elastic Compute Service (ECS) instance. The returned command output is encoded in Base64.
request
- GetInstanceConsoleOutputRequestException
public GetInstanceScreenshotResponse getInstanceScreenshotWithOptions(GetInstanceScreenshotRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
After ECS returns a Base64-encoded instance screenshot in the JPG format, you must decode the screenshot. We recommend that you call this operation for troubleshooting and diagnosis. When you call this operation, take note of the following items:
Throttling
error is returned.Obtains the screenshots of an Elastic Compute Service (ECS) instance.
request
- GetInstanceScreenshotRequestruntime
- runtime options for this request RuntimeOptionsException
public GetInstanceScreenshotResponse getInstanceScreenshot(GetInstanceScreenshotRequest request) throws Exception
After ECS returns a Base64-encoded instance screenshot in the JPG format, you must decode the screenshot. We recommend that you call this operation for troubleshooting and diagnosis. When you call this operation, take note of the following items:
Throttling
error is returned.Obtains the screenshots of an Elastic Compute Service (ECS) instance.
request
- GetInstanceScreenshotRequestException
public ImportImageResponse importImageWithOptions(ImportImageRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
NoSetRoletoECSServiceAccount
or InvalidOperation.CloudBoxImageImportRoleRequired
error code is returned when you call the ImportImage operation. The authorization configuration varies based on whether the image files are imported from a cloud box.AliyunECSImageImportDefaultRole
. You must use this exact role name. Otherwise, the image cannot be imported. Configure the following trust policy for the role:
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}AliyunECSImageImportRolePolicy
system policy to the RAM role. You can also create a custom policy that contains the following content and attach the policy to the role:{
"Version": "1",
"Statement": [
{
"Action": [
"oss:GetObject",
"oss:GetBucketLocation",
"oss:GetBucketInfo"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
AliyunECSCloudBoxImageImportDefaultRole
. You must use this exact role name. Otherwise, the image cannot be imported. Configure the following trust policy for the role:
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}AliyunECSCloudBoxImageImportRolePolicy
system policy to the RAM role. You can also create a custom policy that contains the following content and attach the policy to the role:{
"Version": "1",
"Statement": [
{
"Action": [
"oss-cloudbox:GetObject",
"oss-cloudbox:GetBucketLocation",
"oss-cloudbox:GetBucketInfo"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
DiskDeviceMapping.N
range from 1 to 17. When N is set to 1, the disk is a system disk. When N is set to a value from 2 to 17, the disk is a data disk. When N is set to a value greater than 17, parameters prefixed with DiskDeviceMapping.N are ignored.Architecture
to arm64
or when you set Platform
to CentOS Stream
, Anolis
, AlmaLinux
, UOS
, Kylin
, or Rocky Linux
, take note of the following items:CONFIG_FW_CFG_SYSFS
feature. By default, Linux community kernel 4.6 and later and CentOS kernel 3.10.0-826.el7 and later support the CONFIG_FW_CFG_SYSFS feature. You can run the grep -nr CONFIG_FW_CFG_SYSFS /boot/config-$(uname -r)
command on the source server of the image. If the command output contains CONFIG_FW_CFG_SYSFS=y
, the kernel of the image supports the CONFIG_FW_CFG_SYSFS
feature.cloud-utils-growpart
package. The methods of installing the package vary based on operating systems. For more information, see Extend the partitions and file systems of disks on a Linux instance.e2fsprogs
package. By default, the package is installed on the operating system. If the package is not installed, install it.Imports an on-premise image to Elastic Compute Service (ECS). The imported image exists as a custom image in the destination region. You can use the imported image to create ECS instances by calling the RunInstances operation or replace the system disks of ECS instances by calling the ReplaceSystemDisk operation.
request
- ImportImageRequestruntime
- runtime options for this request RuntimeOptionsException
public ImportImageResponse importImage(ImportImageRequest request) throws Exception
Take note of the following items:
NoSetRoletoECSServiceAccount
or InvalidOperation.CloudBoxImageImportRoleRequired
error code is returned when you call the ImportImage operation. The authorization configuration varies based on whether the image files are imported from a cloud box.AliyunECSImageImportDefaultRole
. You must use this exact role name. Otherwise, the image cannot be imported. Configure the following trust policy for the role:
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}AliyunECSImageImportRolePolicy
system policy to the RAM role. You can also create a custom policy that contains the following content and attach the policy to the role:{
"Version": "1",
"Statement": [
{
"Action": [
"oss:GetObject",
"oss:GetBucketLocation",
"oss:GetBucketInfo"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
AliyunECSCloudBoxImageImportDefaultRole
. You must use this exact role name. Otherwise, the image cannot be imported. Configure the following trust policy for the role:
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}AliyunECSCloudBoxImageImportRolePolicy
system policy to the RAM role. You can also create a custom policy that contains the following content and attach the policy to the role:{
"Version": "1",
"Statement": [
{
"Action": [
"oss-cloudbox:GetObject",
"oss-cloudbox:GetBucketLocation",
"oss-cloudbox:GetBucketInfo"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
DiskDeviceMapping.N
range from 1 to 17. When N is set to 1, the disk is a system disk. When N is set to a value from 2 to 17, the disk is a data disk. When N is set to a value greater than 17, parameters prefixed with DiskDeviceMapping.N are ignored.Architecture
to arm64
or when you set Platform
to CentOS Stream
, Anolis
, AlmaLinux
, UOS
, Kylin
, or Rocky Linux
, take note of the following items:CONFIG_FW_CFG_SYSFS
feature. By default, Linux community kernel 4.6 and later and CentOS kernel 3.10.0-826.el7 and later support the CONFIG_FW_CFG_SYSFS feature. You can run the grep -nr CONFIG_FW_CFG_SYSFS /boot/config-$(uname -r)
command on the source server of the image. If the command output contains CONFIG_FW_CFG_SYSFS=y
, the kernel of the image supports the CONFIG_FW_CFG_SYSFS
feature.cloud-utils-growpart
package. The methods of installing the package vary based on operating systems. For more information, see Extend the partitions and file systems of disks on a Linux instance.e2fsprogs
package. By default, the package is installed on the operating system. If the package is not installed, install it.Imports an on-premise image to Elastic Compute Service (ECS). The imported image exists as a custom image in the destination region. You can use the imported image to create ECS instances by calling the RunInstances operation or replace the system disks of ECS instances by calling the ReplaceSystemDisk operation.
request
- ImportImageRequestException
public ImportKeyPairResponse importKeyPairWithOptions(ImportKeyPairRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Imports the public key of a Rivest–Shamir–Adleman (RSA)-encrypted key pair that is generated by a third-party tool. After the key pair is imported, Alibaba Cloud stores the public key. You must securely lock away the private key.
request
- ImportKeyPairRequestruntime
- runtime options for this request RuntimeOptionsException
public ImportKeyPairResponse importKeyPair(ImportKeyPairRequest request) throws Exception
Take note of the following items:
Imports the public key of a Rivest–Shamir–Adleman (RSA)-encrypted key pair that is generated by a third-party tool. After the key pair is imported, Alibaba Cloud stores the public key. You must securely lock away the private key.
request
- ImportKeyPairRequestException
public InstallCloudAssistantResponse installCloudAssistantWithOptions(InstallCloudAssistantRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
After you call the InstallCloudAssistant operation to install Cloud Assistant Agent on an ECS instance, call the RebootInstance operation to restart the instance to make the installation take effect.
summary :Installs Cloud Assistant Agent on Elastic Compute Service (ECS) instances. After you install Cloud Assistant Agent on ECS instances, restart the instances for the installation to take effect.
request
- InstallCloudAssistantRequestruntime
- runtime options for this request RuntimeOptionsException
public InstallCloudAssistantResponse installCloudAssistant(InstallCloudAssistantRequest request) throws Exception
After you call the InstallCloudAssistant operation to install Cloud Assistant Agent on an ECS instance, call the RebootInstance operation to restart the instance to make the installation take effect.
summary :Installs Cloud Assistant Agent on Elastic Compute Service (ECS) instances. After you install Cloud Assistant Agent on ECS instances, restart the instances for the installation to take effect.
request
- InstallCloudAssistantRequestException
public InvokeCommandResponse invokeCommandWithOptions(InvokeCommandRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Running
) state. You can call the DescribeInstances operation to query the status of instances.Parameters
) to run the command.Runs a Cloud Assistant command on one or more Elastic Compute Service (ECS) instances. When you call this operation, you can specify parameters, such as CommandId, InstanceId, and ResourceGroupId, in the request.
tmpReq
- InvokeCommandRequestruntime
- runtime options for this request RuntimeOptionsException
public InvokeCommandResponse invokeCommand(InvokeCommandRequest request) throws Exception
Running
) state. You can call the DescribeInstances operation to query the status of instances.Parameters
) to run the command.Runs a Cloud Assistant command on one or more Elastic Compute Service (ECS) instances. When you call this operation, you can specify parameters, such as CommandId, InstanceId, and ResourceGroupId, in the request.
request
- InvokeCommandRequestException
public JoinResourceGroupResponse joinResourceGroupWithOptions(JoinResourceGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
A resource is a cloud service entity that you create on Alibaba Cloud, such as an ECS instance, an elastic network interface (ENI), or an image. A resource group is a collection of infrastructure for projects, environments, or stacks. In a resource group, you can manage resources and monitor and run tasks in a centralized manner without the need to switch between Alibaba Cloud services.
summary :Adds an Elastic Compute Service (ECS) resource or service to a resource group.
request
- JoinResourceGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public JoinResourceGroupResponse joinResourceGroup(JoinResourceGroupRequest request) throws Exception
A resource is a cloud service entity that you create on Alibaba Cloud, such as an ECS instance, an elastic network interface (ENI), or an image. A resource group is a collection of infrastructure for projects, environments, or stacks. In a resource group, you can manage resources and monitor and run tasks in a centralized manner without the need to switch between Alibaba Cloud services.
summary :Adds an Elastic Compute Service (ECS) resource or service to a resource group.
request
- JoinResourceGroupRequestException
public JoinSecurityGroupResponse joinSecurityGroupWithOptions(JoinSecurityGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
This operation is not recommended. We recommend that you call the ModifyInstanceAttribute operation to add an instance to or remove an instance from a security group, and call the ModifyNetworkInterfaceAttribute operation to add an ENI to or remove an ENI from a security group. Take note of the following items:
InstanceId
and NetworkInterfaceId
at the same time in a request.
For more information, see Limits.Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a security group. When you call this operation, you can specify parameters, such as SecurityGroupId, InstanceId, and NetworkInterfaceId, in the request.
request
- JoinSecurityGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public JoinSecurityGroupResponse joinSecurityGroup(JoinSecurityGroupRequest request) throws Exception
This operation is not recommended. We recommend that you call the ModifyInstanceAttribute operation to add an instance to or remove an instance from a security group, and call the ModifyNetworkInterfaceAttribute operation to add an ENI to or remove an ENI from a security group. Take note of the following items:
InstanceId
and NetworkInterfaceId
at the same time in a request.
For more information, see Limits.Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a security group. When you call this operation, you can specify parameters, such as SecurityGroupId, InstanceId, and NetworkInterfaceId, in the request.
request
- JoinSecurityGroupRequestException
public LeaveSecurityGroupResponse leaveSecurityGroupWithOptions(LeaveSecurityGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
InstanceId
and NetworkInterfaceId
in one request.Removes an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) from a security group. To remove an ECS instance from a security group, specify SecurityGroupId and InstanceId in the request. To remove an ENI from a security group, specify SecurityGroupId and NetworkInterfaceId in the request.
request
- LeaveSecurityGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public LeaveSecurityGroupResponse leaveSecurityGroup(LeaveSecurityGroupRequest request) throws Exception
InstanceId
and NetworkInterfaceId
in one request.Removes an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) from a security group. To remove an ECS instance from a security group, specify SecurityGroupId and InstanceId in the request. To remove an ENI from a security group, specify SecurityGroupId and NetworkInterfaceId in the request.
request
- LeaveSecurityGroupRequestException
public ListPluginStatusResponse listPluginStatusWithOptions(ListPluginStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Queries the states of Cloud Assistant plug-ins on Elastic Compute Service (ECS) instances.
request
- ListPluginStatusRequestruntime
- runtime options for this request RuntimeOptionsException
public ListPluginStatusResponse listPluginStatus(ListPluginStatusRequest request) throws Exception
Queries the states of Cloud Assistant plug-ins on Elastic Compute Service (ECS) instances.
request
- ListPluginStatusRequestException
public ListTagResourcesResponse listTagResourcesWithOptions(ListTagResourcesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
ResourceId.N
Tag.N
parameter pair (Tag.N.Key
and Tag.N.Value
)TagFilter.N
If one of the following sets of request parameters is specified as filter conditions, only ECS resources that meet all the specified filter conditions are returned:Tag.N.Key, Tag.N.Value
and ResourceId.N
TagFilter.N.TagKey, TagFilter.N.TagValues.N
and ResourceId.N
Queries the tags that are added to one or more Elastic Compute Service (ECS) resources.
request
- ListTagResourcesRequestruntime
- runtime options for this request RuntimeOptionsException
public ListTagResourcesResponse listTagResources(ListTagResourcesRequest request) throws Exception
Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
ResourceId.N
Tag.N
parameter pair (Tag.N.Key
and Tag.N.Value
)TagFilter.N
If one of the following sets of request parameters is specified as filter conditions, only ECS resources that meet all the specified filter conditions are returned:Tag.N.Key, Tag.N.Value
and ResourceId.N
TagFilter.N.TagKey, TagFilter.N.TagValues.N
and ResourceId.N
Queries the tags that are added to one or more Elastic Compute Service (ECS) resources.
request
- ListTagResourcesRequestException
public ModifyAutoProvisioningGroupResponse modifyAutoProvisioningGroupWithOptions(ModifyAutoProvisioningGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation, take note of the following items:
Modifies the configurations of an auto-provisioning group.
request
- ModifyAutoProvisioningGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyAutoProvisioningGroupResponse modifyAutoProvisioningGroup(ModifyAutoProvisioningGroupRequest request) throws Exception
Before you call this operation, take note of the following items:
Modifies the configurations of an auto-provisioning group.
request
- ModifyAutoProvisioningGroupRequestException
@Deprecated public ModifyAutoSnapshotPolicyResponse modifyAutoSnapshotPolicyWithOptions(ModifyAutoSnapshotPolicyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyAutoSnapshotPolicyRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyAutoSnapshotPolicyResponse modifyAutoSnapshotPolicy(ModifyAutoSnapshotPolicyRequest request) throws Exception
request
- ModifyAutoSnapshotPolicyRequestException
public ModifyAutoSnapshotPolicyExResponse modifyAutoSnapshotPolicyExWithOptions(ModifyAutoSnapshotPolicyExRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies an automatic snapshot policy. After an automatic snapshot policy is modified, the modifications immediately take effect on the disks that are associated with the policy. If cross-region replication for snapshots is enabled and no encryption parameters are configured, the generated encrypted snapshot copies are encrypted by using the Key Management Service (KMS) encryption keys in the region to which the snapshots are copied.
request
- ModifyAutoSnapshotPolicyExRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyAutoSnapshotPolicyExResponse modifyAutoSnapshotPolicyEx(ModifyAutoSnapshotPolicyExRequest request) throws Exception
Modifies an automatic snapshot policy. After an automatic snapshot policy is modified, the modifications immediately take effect on the disks that are associated with the policy. If cross-region replication for snapshots is enabled and no encryption parameters are configured, the generated encrypted snapshot copies are encrypted by using the Key Management Service (KMS) encryption keys in the region to which the snapshots are copied.
request
- ModifyAutoSnapshotPolicyExRequestException
@Deprecated public ModifyBandwidthPackageSpecResponse modifyBandwidthPackageSpecWithOptions(ModifyBandwidthPackageSpecRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyBandwidthPackageSpecRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyBandwidthPackageSpecResponse modifyBandwidthPackageSpec(ModifyBandwidthPackageSpecRequest request) throws Exception
request
- ModifyBandwidthPackageSpecRequestException
public ModifyCapacityReservationResponse modifyCapacityReservationWithOptions(ModifyCapacityReservationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the information of a capacity reservation, including the name, description, release mode, and the total number of Elastic Compute Service (ECS) instances for which capacity is reserved.
request
- ModifyCapacityReservationRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyCapacityReservationResponse modifyCapacityReservation(ModifyCapacityReservationRequest request) throws Exception
Modifies the information of a capacity reservation, including the name, description, release mode, and the total number of Elastic Compute Service (ECS) instances for which capacity is reserved.
request
- ModifyCapacityReservationRequestException
public ModifyCloudAssistantSettingsResponse modifyCloudAssistantSettingsWithOptions(ModifyCloudAssistantSettingsRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the configurations of a Cloud Assistant feature.
tmpReq
- ModifyCloudAssistantSettingsRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyCloudAssistantSettingsResponse modifyCloudAssistantSettings(ModifyCloudAssistantSettingsRequest request) throws Exception
Modifies the configurations of a Cloud Assistant feature.
request
- ModifyCloudAssistantSettingsRequestException
public ModifyCommandResponse modifyCommandWithOptions(ModifyCommandRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can modify a command when it is run. After the command is modified, the new command content applies to subsequent executions. You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
summary :Modifies the parameters of a Cloud Assistant command.
request
- ModifyCommandRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyCommandResponse modifyCommand(ModifyCommandRequest request) throws Exception
You can modify a command when it is run. After the command is modified, the new command content applies to subsequent executions. You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
summary :Modifies the parameters of a Cloud Assistant command.
request
- ModifyCommandRequestException
public ModifyDedicatedHostAttributeResponse modifyDedicatedHostAttributeWithOptions(ModifyDedicatedHostAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Stopped
) state before you can modify the CPU overcommit ratio of the dedicated host.Modifies the information about a dedicated host, such as the name, description, and instance migration policy that is applied when the dedicated host fails.
request
- ModifyDedicatedHostAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDedicatedHostAttributeResponse modifyDedicatedHostAttribute(ModifyDedicatedHostAttributeRequest request) throws Exception
Stopped
) state before you can modify the CPU overcommit ratio of the dedicated host.Modifies the information about a dedicated host, such as the name, description, and instance migration policy that is applied when the dedicated host fails.
request
- ModifyDedicatedHostAttributeRequestException
public ModifyDedicatedHostAutoReleaseTimeResponse modifyDedicatedHostAutoReleaseTimeWithOptions(ModifyDedicatedHostAutoReleaseTimeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
A pay-as-you-go dedicated host can be automatically released at the specified time. Before you release a pay-as-you-go dedicated host, make sure that the host is no longer required and all necessary application data is backed up.
summary :Sets or cancels automatic release time for a pay-as-you-go dedicated host.
request
- ModifyDedicatedHostAutoReleaseTimeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDedicatedHostAutoReleaseTimeResponse modifyDedicatedHostAutoReleaseTime(ModifyDedicatedHostAutoReleaseTimeRequest request) throws Exception
A pay-as-you-go dedicated host can be automatically released at the specified time. Before you release a pay-as-you-go dedicated host, make sure that the host is no longer required and all necessary application data is backed up.
summary :Sets or cancels automatic release time for a pay-as-you-go dedicated host.
request
- ModifyDedicatedHostAutoReleaseTimeRequestException
public ModifyDedicatedHostAutoRenewAttributeResponse modifyDedicatedHostAutoRenewAttributeWithOptions(ModifyDedicatedHostAutoRenewAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If you enable auto-renewal for your subscription dedicated host, the system attempts to deduct the renewal payment at 08:00:00 (UTC+8) nine days before the dedicated host expires to renew the dedicated host. If this deduction attempt fails, the system attempt to deduct the payment at the same point in time the next day. The system attempts to deduct the payment once every day until the dedicated host expires or until the payment is deducted. Make sure that your account balance is sufficient.
Enables or disables auto-renewal for one or more subscription dedicated hosts.
request
- ModifyDedicatedHostAutoRenewAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDedicatedHostAutoRenewAttributeResponse modifyDedicatedHostAutoRenewAttribute(ModifyDedicatedHostAutoRenewAttributeRequest request) throws Exception
If you enable auto-renewal for your subscription dedicated host, the system attempts to deduct the renewal payment at 08:00:00 (UTC+8) nine days before the dedicated host expires to renew the dedicated host. If this deduction attempt fails, the system attempt to deduct the payment at the same point in time the next day. The system attempts to deduct the payment once every day until the dedicated host expires or until the payment is deducted. Make sure that your account balance is sufficient.
Enables or disables auto-renewal for one or more subscription dedicated hosts.
request
- ModifyDedicatedHostAutoRenewAttributeRequestException
public ModifyDedicatedHostClusterAttributeResponse modifyDedicatedHostClusterAttributeWithOptions(ModifyDedicatedHostClusterAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the attributes of a dedicated host cluster, such as its name and description.
request
- ModifyDedicatedHostClusterAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDedicatedHostClusterAttributeResponse modifyDedicatedHostClusterAttribute(ModifyDedicatedHostClusterAttributeRequest request) throws Exception
Modifies the attributes of a dedicated host cluster, such as its name and description.
request
- ModifyDedicatedHostClusterAttributeRequestException
public ModifyDedicatedHostsChargeTypeResponse modifyDedicatedHostsChargeTypeWithOptions(ModifyDedicatedHostsChargeTypeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Changes the billing method of dedicated hosts.
request
- ModifyDedicatedHostsChargeTypeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDedicatedHostsChargeTypeResponse modifyDedicatedHostsChargeType(ModifyDedicatedHostsChargeTypeRequest request) throws Exception
Changes the billing method of dedicated hosts.
request
- ModifyDedicatedHostsChargeTypeRequestException
@Deprecated public ModifyDemandResponse modifyDemandWithOptions(ModifyDemandRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call this operation to modify the demand information of instance types. Alibaba Cloud provides the requested resources based on your demand. You can file demands only for I/O optimized instance types and instances of the virtual private cloud (VPC) type. Parameters except DemandName
and DemandDescription
can be modified only for demands that are in the Rejected state.
summary :This operation is in invitational preview and is not publicly available.
Modifies the demand information of Elastic Compute Service (ECS) resources.
request
- ModifyDemandRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyDemandResponse modifyDemand(ModifyDemandRequest request) throws Exception
You can call this operation to modify the demand information of instance types. Alibaba Cloud provides the requested resources based on your demand. You can file demands only for I/O optimized instance types and instances of the virtual private cloud (VPC) type. Parameters except DemandName
and DemandDescription
can be modified only for demands that are in the Rejected state.
summary :This operation is in invitational preview and is not publicly available.
Modifies the demand information of Elastic Compute Service (ECS) resources.
request
- ModifyDemandRequestException
public ModifyDeploymentSetAttributeResponse modifyDeploymentSetAttributeWithOptions(ModifyDeploymentSetAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the name and description of a deployment set. When you call this operation, you can specify parameters, such as DeploymentSetId and DeploymentSetName, in the request.
request
- ModifyDeploymentSetAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDeploymentSetAttributeResponse modifyDeploymentSetAttribute(ModifyDeploymentSetAttributeRequest request) throws Exception
Modifies the name and description of a deployment set. When you call this operation, you can specify parameters, such as DeploymentSetId and DeploymentSetName, in the request.
request
- ModifyDeploymentSetAttributeRequestException
public ModifyDiagnosticMetricSetResponse modifyDiagnosticMetricSetWithOptions(ModifyDiagnosticMetricSetRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies a diagnostic metric set.
request
- ModifyDiagnosticMetricSetRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDiagnosticMetricSetResponse modifyDiagnosticMetricSet(ModifyDiagnosticMetricSetRequest request) throws Exception
Modifies a diagnostic metric set.
request
- ModifyDiagnosticMetricSetRequestException
public ModifyDiskAttributeResponse modifyDiskAttributeWithOptions(ModifyDiskAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
"LockReason" : "security"
is displayed in the response when you query the information about an instance, the instance is locked for security reasons.DiskIds.N
to specify multiple block storage devices and batch modify the attributes of the devices, including the names and descriptions of the devices and whether to release the devices together with the associated instances.Modifies the attributes of block storage devices, including the names and descriptions of the devices and whether to release the devices together with the associated instances.
request
- ModifyDiskAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDiskAttributeResponse modifyDiskAttribute(ModifyDiskAttributeRequest request) throws Exception
"LockReason" : "security"
is displayed in the response when you query the information about an instance, the instance is locked for security reasons.DiskIds.N
to specify multiple block storage devices and batch modify the attributes of the devices, including the names and descriptions of the devices and whether to release the devices together with the associated instances.Modifies the attributes of block storage devices, including the names and descriptions of the devices and whether to release the devices together with the associated instances.
request
- ModifyDiskAttributeRequestException
public ModifyDiskChargeTypeResponse modifyDiskChargeTypeWithOptions(ModifyDiskChargeTypeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
After you change the billing method, the payment (if any) is automatically completed. Maintain sufficient balance in your account. Otherwise, your order becomes invalid and must be canceled. If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, log on to the Expenses and Costs console, go to the Orders page, and pay for the order. Take note of the following items:
Changes the billing method of data disks that are attached to a subscription Elastic Compute Service (ECS) instance.
request
- ModifyDiskChargeTypeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDiskChargeTypeResponse modifyDiskChargeType(ModifyDiskChargeTypeRequest request) throws Exception
After you change the billing method, the payment (if any) is automatically completed. Maintain sufficient balance in your account. Otherwise, your order becomes invalid and must be canceled. If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, log on to the Expenses and Costs console, go to the Orders page, and pay for the order. Take note of the following items:
Changes the billing method of data disks that are attached to a subscription Elastic Compute Service (ECS) instance.
request
- ModifyDiskChargeTypeRequestException
public ModifyDiskDefaultKMSKeyIdResponse modifyDiskDefaultKMSKeyIdWithOptions(ModifyDiskDefaultKMSKeyIdRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Only Alibaba Cloud accounts can call this operation.
AliyunECSDiskEncryptDefaultRole
role to grant Elastic Compute Service (ECS) access to KMS resources. For more information, see Grant access to KMS keys through RAM roles.Changes the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
request
- ModifyDiskDefaultKMSKeyIdRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDiskDefaultKMSKeyIdResponse modifyDiskDefaultKMSKeyId(ModifyDiskDefaultKMSKeyIdRequest request) throws Exception
Only Alibaba Cloud accounts can call this operation.
AliyunECSDiskEncryptDefaultRole
role to grant Elastic Compute Service (ECS) access to KMS resources. For more information, see Grant access to KMS keys through RAM roles.Changes the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
request
- ModifyDiskDefaultKMSKeyIdRequestException
public ModifyDiskDeploymentResponse modifyDiskDeploymentWithOptions(ModifyDiskDeploymentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The Dedicated Block Storage Cluster feature is available in the following regions: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Ulanqab), China (Shenzhen), China (Heyuan), Indonesia (Jakarta), Germany (Frankfurt), and China South 1 Finance. Before you call the ModifyDiskDeployment operation, make sure that you fully understand the billing methods and prices of disks and dedicated block storage clusters. In addition, make sure that the dedicated block storage clusters are unexpired and your account has no overdue payments. For more information, see Dedicated block storage cluster and Block storage devices. Take note of the following items:
After you migrate a disk to a destination cluster by calling the ModifyDiskDeployment operation, the billing method, disk specifications, and capabilities of the destination cluster take effect immediately on the disk. Alibaba Cloud charges the disk based on the disk category and performance level. For more information, see Dedicated block storage cluster and Block storage devices.
Migrates disks to or from a dedicated block storage cluster, or migrates disks between different dedicated block storage clusters.
request
- ModifyDiskDeploymentRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDiskDeploymentResponse modifyDiskDeployment(ModifyDiskDeploymentRequest request) throws Exception
The Dedicated Block Storage Cluster feature is available in the following regions: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Ulanqab), China (Shenzhen), China (Heyuan), Indonesia (Jakarta), Germany (Frankfurt), and China South 1 Finance. Before you call the ModifyDiskDeployment operation, make sure that you fully understand the billing methods and prices of disks and dedicated block storage clusters. In addition, make sure that the dedicated block storage clusters are unexpired and your account has no overdue payments. For more information, see Dedicated block storage cluster and Block storage devices. Take note of the following items:
After you migrate a disk to a destination cluster by calling the ModifyDiskDeployment operation, the billing method, disk specifications, and capabilities of the destination cluster take effect immediately on the disk. Alibaba Cloud charges the disk based on the disk category and performance level. For more information, see Dedicated block storage cluster and Block storage devices.
Migrates disks to or from a dedicated block storage cluster, or migrates disks between different dedicated block storage clusters.
request
- ModifyDiskDeploymentRequestException
public ModifyDiskSpecResponse modifyDiskSpecWithOptions(ModifyDiskSpecRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
You can call this operation to change the category of a disk or modify the performance level of an enhanced SSD (ESSD).
request
- ModifyDiskSpecRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyDiskSpecResponse modifyDiskSpec(ModifyDiskSpecRequest request) throws Exception
Take note of the following items:
You can call this operation to change the category of a disk or modify the performance level of an enhanced SSD (ESSD).
request
- ModifyDiskSpecRequestException
@Deprecated public ModifyEipAddressAttributeResponse modifyEipAddressAttributeWithOptions(ModifyEipAddressAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyEipAddressAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyEipAddressAttributeResponse modifyEipAddressAttribute(ModifyEipAddressAttributeRequest request) throws Exception
request
- ModifyEipAddressAttributeRequestException
public ModifyElasticityAssuranceResponse modifyElasticityAssuranceWithOptions(ModifyElasticityAssuranceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can call this operation to modify the name and description of an elasticity assurance.
request
- ModifyElasticityAssuranceRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyElasticityAssuranceResponse modifyElasticityAssurance(ModifyElasticityAssuranceRequest request) throws Exception
You can call this operation to modify the name and description of an elasticity assurance.
request
- ModifyElasticityAssuranceRequestException
@Deprecated public ModifyForwardEntryResponse modifyForwardEntryWithOptions(ModifyForwardEntryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyForwardEntryRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyForwardEntryResponse modifyForwardEntry(ModifyForwardEntryRequest request) throws Exception
request
- ModifyForwardEntryRequestException
@Deprecated public ModifyHaVipAttributeResponse modifyHaVipAttributeWithOptions(ModifyHaVipAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyHaVipAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyHaVipAttributeResponse modifyHaVipAttribute(ModifyHaVipAttributeRequest request) throws Exception
request
- ModifyHaVipAttributeRequestException
public ModifyHpcClusterAttributeResponse modifyHpcClusterAttributeWithOptions(ModifyHpcClusterAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyHpcClusterAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyHpcClusterAttributeResponse modifyHpcClusterAttribute(ModifyHpcClusterAttributeRequest request) throws Exception
request
- ModifyHpcClusterAttributeRequestException
public ModifyImageAttributeResponse modifyImageAttributeWithOptions(ModifyImageAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the attributes of a custom image, such as the image family, name, boot mode, and status and whether the image supports the Non-Volatile Memory Express (NVMe) protocol. When you call this operation, you can specify parameters, such as ImageId and ImageFamily, in the request.
request
- ModifyImageAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyImageAttributeResponse modifyImageAttribute(ModifyImageAttributeRequest request) throws Exception
Modifies the attributes of a custom image, such as the image family, name, boot mode, and status and whether the image supports the Non-Volatile Memory Express (NVMe) protocol. When you call this operation, you can specify parameters, such as ImageId and ImageFamily, in the request.
request
- ModifyImageAttributeRequestException
@Deprecated public ModifyImageShareGroupPermissionResponse modifyImageShareGroupPermissionWithOptions(ModifyImageShareGroupPermissionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyImageShareGroupPermissionRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyImageShareGroupPermissionResponse modifyImageShareGroupPermission(ModifyImageShareGroupPermissionRequest request) throws Exception
request
- ModifyImageShareGroupPermissionRequestException
public ModifyImageSharePermissionResponse modifyImageSharePermissionWithOptions(ModifyImageSharePermissionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Manages the share permissions on a custom image. You can share your custom images to other Alibaba Cloud accounts or publish the images as community images.
request
- ModifyImageSharePermissionRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyImageSharePermissionResponse modifyImageSharePermission(ModifyImageSharePermissionRequest request) throws Exception
Take note of the following items:
Manages the share permissions on a custom image. You can share your custom images to other Alibaba Cloud accounts or publish the images as community images.
request
- ModifyImageSharePermissionRequestException
public ModifyInstanceAttachmentAttributesResponse modifyInstanceAttachmentAttributesWithOptions(ModifyInstanceAttachmentAttributesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the resources in the private pool. When you create ECS instances, you can configure the instances to use private pool resources, matching them to active elasticity assurances or capacity reservations.
Open
.Modifies the attributes of the private pool of an instance.
request
- ModifyInstanceAttachmentAttributesRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceAttachmentAttributesResponse modifyInstanceAttachmentAttributes(ModifyInstanceAttachmentAttributesRequest request) throws Exception
A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the resources in the private pool. When you create ECS instances, you can configure the instances to use private pool resources, matching them to active elasticity assurances or capacity reservations.
Open
.Modifies the attributes of the private pool of an instance.
request
- ModifyInstanceAttachmentAttributesRequestException
public ModifyInstanceAttributeResponse modifyInstanceAttributeWithOptions(ModifyInstanceAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If the response contains {"OperationLocks": {"LockReason" : "security"}}
when you query the information of the instance, the instance is locked for security reasons and no operations are allowed on the instance.
Take note of the following items:
HostName
), restart the instance in the ECS console or by calling the RebootInstance operation for the new hostname to take effect. For information about how to restart an instance in the ECS console, see Restart an instance. The new hostname may not take effect if you restart the instance from within the operating system.Password
), take note of the following items:Starting
) state.UserData
), take note of the following items: The instance must meet the limits for user data. For more information, see Instance user data.
**
Note After you restart the instance, the new user data is displayed but not run as scripts.SecurityGroupIds.N
), take note of the following items:SecurityGroupIds.N
.NetworkInterfaceQueueNumber
), take note of the following items:Stopped
) state.MaximumQueueNumberPerEni
and TotalEniQueueQuantity
response parameters.PrimaryEniQueueNumber
response parameter.EnableJumboFrame
), take note of the following items. For more information, see MTUs.Running
) or Stopped (Stopped
) state.Modifies the attributes of an Elastic Compute Service (ECS) instance, such as the password, name, description, hostname, security groups, maximum transmission unit (MTU), and user data. If the instance is a burstable instance, you can also change the performance mode of the instance.
request
- ModifyInstanceAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceAttributeResponse modifyInstanceAttribute(ModifyInstanceAttributeRequest request) throws Exception
If the response contains {"OperationLocks": {"LockReason" : "security"}}
when you query the information of the instance, the instance is locked for security reasons and no operations are allowed on the instance.
Take note of the following items:
HostName
), restart the instance in the ECS console or by calling the RebootInstance operation for the new hostname to take effect. For information about how to restart an instance in the ECS console, see Restart an instance. The new hostname may not take effect if you restart the instance from within the operating system.Password
), take note of the following items:Starting
) state.UserData
), take note of the following items: The instance must meet the limits for user data. For more information, see Instance user data.
**
Note After you restart the instance, the new user data is displayed but not run as scripts.SecurityGroupIds.N
), take note of the following items:SecurityGroupIds.N
.NetworkInterfaceQueueNumber
), take note of the following items:Stopped
) state.MaximumQueueNumberPerEni
and TotalEniQueueQuantity
response parameters.PrimaryEniQueueNumber
response parameter.EnableJumboFrame
), take note of the following items. For more information, see MTUs.Running
) or Stopped (Stopped
) state.Modifies the attributes of an Elastic Compute Service (ECS) instance, such as the password, name, description, hostname, security groups, maximum transmission unit (MTU), and user data. If the instance is a burstable instance, you can also change the performance mode of the instance.
request
- ModifyInstanceAttributeRequestException
public ModifyInstanceAutoReleaseTimeResponse modifyInstanceAutoReleaseTimeWithOptions(ModifyInstanceAutoReleaseTimeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Sets or cancels automatic release time for a pay-as-you-go Elastic Compute Service (ECS) instance. If you set the automatic release time for an instance, the instance is automatically released at the specified time. Proceed with caution when you perform this operation.
request
- ModifyInstanceAutoReleaseTimeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceAutoReleaseTimeResponse modifyInstanceAutoReleaseTime(ModifyInstanceAutoReleaseTimeRequest request) throws Exception
Sets or cancels automatic release time for a pay-as-you-go Elastic Compute Service (ECS) instance. If you set the automatic release time for an instance, the instance is automatically released at the specified time. Proceed with caution when you perform this operation.
request
- ModifyInstanceAutoReleaseTimeRequestException
public ModifyInstanceAutoRenewAttributeResponse modifyInstanceAutoRenewAttributeWithOptions(ModifyInstanceAutoRenewAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS). For more information, see the Elastic Compute Service product page.
Configures auto-renewal for one or more subscription instances. To reduce the maintenance workloads when instances expire, you can configure auto-renewal for subscription instances.
request
- ModifyInstanceAutoRenewAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceAutoRenewAttributeResponse modifyInstanceAutoRenewAttribute(ModifyInstanceAutoRenewAttributeRequest request) throws Exception
Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS). For more information, see the Elastic Compute Service product page.
Configures auto-renewal for one or more subscription instances. To reduce the maintenance workloads when instances expire, you can configure auto-renewal for subscription instances.
request
- ModifyInstanceAutoRenewAttributeRequestException
public ModifyInstanceChargeTypeResponse modifyInstanceChargeTypeWithOptions(ModifyInstanceChargeTypeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS). For more information, see the Elastic Compute Service product page. Take note of the following items:
Running
) or Stopped (Stopped
) state, and you cannot have overdue payments for them.AutoPay
to false
to generate an unpaid order. Then, you can log on to the ECS console to pay for the order.Changes the billing method of one or more Elastic Compute Service (ECS) instances. You can change the billing methods of ECS instances between pay-as-you-go and subscription or change the billing method of all disks that are attached to an ECS instance from pay-as-you-go to subscription.
request
- ModifyInstanceChargeTypeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceChargeTypeResponse modifyInstanceChargeType(ModifyInstanceChargeTypeRequest request) throws Exception
Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS). For more information, see the Elastic Compute Service product page. Take note of the following items:
Running
) or Stopped (Stopped
) state, and you cannot have overdue payments for them.AutoPay
to false
to generate an unpaid order. Then, you can log on to the ECS console to pay for the order.Changes the billing method of one or more Elastic Compute Service (ECS) instances. You can change the billing methods of ECS instances between pay-as-you-go and subscription or change the billing method of all disks that are attached to an ECS instance from pay-as-you-go to subscription.
request
- ModifyInstanceChargeTypeRequestException
public ModifyInstanceDeploymentResponse modifyInstanceDeploymentWithOptions(ModifyInstanceDeploymentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Changes the deployment set of an Elastic Compute Service (ECS) instance or migrates an ECS instance to a dedicated host. You can change the instance type of an instance when you migrate the instance.
request
- ModifyInstanceDeploymentRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceDeploymentResponse modifyInstanceDeployment(ModifyInstanceDeploymentRequest request) throws Exception
Take note of the following items:
Changes the deployment set of an Elastic Compute Service (ECS) instance or migrates an ECS instance to a dedicated host. You can change the instance type of an instance when you migrate the instance.
request
- ModifyInstanceDeploymentRequestException
public ModifyInstanceMaintenanceAttributesResponse modifyInstanceMaintenanceAttributesWithOptions(ModifyInstanceMaintenanceAttributesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
This operation is used to modify the maintenance policy of an instance. The maintenance policy consists of the following maintenance attributes:
Modifies the maintenance attributes of an instance.
request
- ModifyInstanceMaintenanceAttributesRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceMaintenanceAttributesResponse modifyInstanceMaintenanceAttributes(ModifyInstanceMaintenanceAttributesRequest request) throws Exception
This operation is used to modify the maintenance policy of an instance. The maintenance policy consists of the following maintenance attributes:
Modifies the maintenance attributes of an instance.
request
- ModifyInstanceMaintenanceAttributesRequestException
public ModifyInstanceMetadataOptionsResponse modifyInstanceMetadataOptionsWithOptions(ModifyInstanceMetadataOptionsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the metadata of an Elastic Compute Service (ECS) instance. When you call this operation, you can specify parameters, such as InstanceID and HttpEndpoint, in the request.
request
- ModifyInstanceMetadataOptionsRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceMetadataOptionsResponse modifyInstanceMetadataOptions(ModifyInstanceMetadataOptionsRequest request) throws Exception
Modifies the metadata of an Elastic Compute Service (ECS) instance. When you call this operation, you can specify parameters, such as InstanceID and HttpEndpoint, in the request.
request
- ModifyInstanceMetadataOptionsRequestException
public ModifyInstanceNetworkSpecResponse modifyInstanceNetworkSpecWithOptions(ModifyInstanceNetworkSpecRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
AllocatePublicIp
to true or call the AllocatePublicIpAddress operation to assign a public IP address to the instance.Modifies the bandwidth configurations of an Elastic Compute Service (ECS) instance. You can modify the bandwidth configurations of an instance to improve network performance.
request
- ModifyInstanceNetworkSpecRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceNetworkSpecResponse modifyInstanceNetworkSpec(ModifyInstanceNetworkSpecRequest request) throws Exception
Take note of the following items:
AllocatePublicIp
to true or call the AllocatePublicIpAddress operation to assign a public IP address to the instance.Modifies the bandwidth configurations of an Elastic Compute Service (ECS) instance. You can modify the bandwidth configurations of an instance to improve network performance.
request
- ModifyInstanceNetworkSpecRequestException
public ModifyInstanceSpecResponse modifyInstanceSpecWithOptions(ModifyInstanceSpecRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
For information about how to use ECS SDK for Python to change resource configurations, see Query available resources for configuration changes. Take note of the following items:
Running
) or Stopped (Stopped
) state.Stopped
) state.Changes the instance type and public bandwidth of a pay-as-you-go Elastic Compute Service (ECS) instance.
request
- ModifyInstanceSpecRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceSpecResponse modifyInstanceSpec(ModifyInstanceSpecRequest request) throws Exception
For information about how to use ECS SDK for Python to change resource configurations, see Query available resources for configuration changes. Take note of the following items:
Running
) or Stopped (Stopped
) state.Stopped
) state.Changes the instance type and public bandwidth of a pay-as-you-go Elastic Compute Service (ECS) instance.
request
- ModifyInstanceSpecRequestException
public ModifyInstanceVncPasswdResponse modifyInstanceVncPasswdWithOptions(ModifyInstanceVncPasswdRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The password must be six characters in length and can contain only uppercase letters, lowercase letters, and digits.
Changes the VNC password of an Elastic Compute Service (ECS) instance.
request
- ModifyInstanceVncPasswdRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceVncPasswdResponse modifyInstanceVncPasswd(ModifyInstanceVncPasswdRequest request) throws Exception
The password must be six characters in length and can contain only uppercase letters, lowercase letters, and digits.
Changes the VNC password of an Elastic Compute Service (ECS) instance.
request
- ModifyInstanceVncPasswdRequestException
public ModifyInstanceVpcAttributeResponse modifyInstanceVpcAttributeWithOptions(ModifyInstanceVpcAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The instance that you want to manage must be in the Stopped (Stopped
) state.
Changes the virtual private cloud (VPC), private IP address, or vSwitch of an Elastic Compute Service (ECS) instance that resides in a VPC.
request
- ModifyInstanceVpcAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInstanceVpcAttributeResponse modifyInstanceVpcAttribute(ModifyInstanceVpcAttributeRequest request) throws Exception
The instance that you want to manage must be in the Stopped (Stopped
) state.
Changes the virtual private cloud (VPC), private IP address, or vSwitch of an Elastic Compute Service (ECS) instance that resides in a VPC.
request
- ModifyInstanceVpcAttributeRequestException
public ModifyInvocationAttributeResponse modifyInvocationAttributeWithOptions(ModifyInvocationAttributeRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
You can modify the execution information of a task that runs a command in one of the following modes. To query the execution mode of a command, you can call the DescribeInvocations operation and check the RepeatMode
value in the response.
* Period: The task runs the command on a schedule.
* NextRebootOnly: The task runs the command the next time the associated instances start.
* EveryReboot: The task runs the command every time the associated instances start.
InvocationStatus
value.InvalidOperation.CloudAssistantVersionUnsupported
error code is returned in the response, update Cloud Assistant Agent to the latest version.CommandContent
for a common Cloud Assistant command.CommandContent
value of a command and set KeepCommand
to true
when you call the InvokeCommand or RunCommand operation to run the command, a new command is added and retained. The new command consumes the quota for Cloud Assistant commands. You can retain up to 500 to 50,000 Cloud Assistant commands in each region. You can apply for a quota increase. For information about how to query and increase quotas, see Manage quotas.Modifies the execution information of a Cloud Assistant scheduled command task, including modifying the content and execution frequency of the command and adding Elastic Compute Service (ECS) instances or Alibaba Cloud managed instances to the command task.
tmpReq
- ModifyInvocationAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyInvocationAttributeResponse modifyInvocationAttribute(ModifyInvocationAttributeRequest request) throws Exception
You can modify the execution information of a task that runs a command in one of the following modes. To query the execution mode of a command, you can call the DescribeInvocations operation and check the RepeatMode
value in the response.
* Period: The task runs the command on a schedule.
* NextRebootOnly: The task runs the command the next time the associated instances start.
* EveryReboot: The task runs the command every time the associated instances start.
InvocationStatus
value.InvalidOperation.CloudAssistantVersionUnsupported
error code is returned in the response, update Cloud Assistant Agent to the latest version.CommandContent
for a common Cloud Assistant command.CommandContent
value of a command and set KeepCommand
to true
when you call the InvokeCommand or RunCommand operation to run the command, a new command is added and retained. The new command consumes the quota for Cloud Assistant commands. You can retain up to 500 to 50,000 Cloud Assistant commands in each region. You can apply for a quota increase. For information about how to query and increase quotas, see Manage quotas.Modifies the execution information of a Cloud Assistant scheduled command task, including modifying the content and execution frequency of the command and adding Elastic Compute Service (ECS) instances or Alibaba Cloud managed instances to the command task.
request
- ModifyInvocationAttributeRequestException
public ModifyLaunchTemplateDefaultVersionResponse modifyLaunchTemplateDefaultVersionWithOptions(ModifyLaunchTemplateDefaultVersionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Changes the default version of a launch template. When you call this operation, you can specify DefaultVersionNumber in the request. If you do not specify a version when you create Elastic Compute Service (ECS) instances based on a launch template, the default version of the launch template is used.
request
- ModifyLaunchTemplateDefaultVersionRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyLaunchTemplateDefaultVersionResponse modifyLaunchTemplateDefaultVersion(ModifyLaunchTemplateDefaultVersionRequest request) throws Exception
Changes the default version of a launch template. When you call this operation, you can specify DefaultVersionNumber in the request. If you do not specify a version when you create Elastic Compute Service (ECS) instances based on a launch template, the default version of the launch template is used.
request
- ModifyLaunchTemplateDefaultVersionRequestException
public ModifyManagedInstanceResponse modifyManagedInstanceWithOptions(ModifyManagedInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong). You can call the DescribeRegions operation to query the most recent region list.
summary :You can call the ModifyManagedInstance operation to change only the name of a managed instance.
request
- ModifyManagedInstanceRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyManagedInstanceResponse modifyManagedInstance(ModifyManagedInstanceRequest request) throws Exception
The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong). You can call the DescribeRegions operation to query the most recent region list.
summary :You can call the ModifyManagedInstance operation to change only the name of a managed instance.
request
- ModifyManagedInstanceRequestException
public ModifyNetworkInterfaceAttributeResponse modifyNetworkInterfaceAttributeWithOptions(ModifyNetworkInterfaceAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the attributes, such as the name, description, and security groups, of an elastic network interface (ENI). When you call this operation, you can specify parameters, such as NetworkInterfaceId and SecurityGroupId, in the request.
request
- ModifyNetworkInterfaceAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyNetworkInterfaceAttributeResponse modifyNetworkInterfaceAttribute(ModifyNetworkInterfaceAttributeRequest request) throws Exception
Modifies the attributes, such as the name, description, and security groups, of an elastic network interface (ENI). When you call this operation, you can specify parameters, such as NetworkInterfaceId and SecurityGroupId, in the request.
request
- ModifyNetworkInterfaceAttributeRequestException
@Deprecated public ModifyPhysicalConnectionAttributeResponse modifyPhysicalConnectionAttributeWithOptions(ModifyPhysicalConnectionAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyPhysicalConnectionAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyPhysicalConnectionAttributeResponse modifyPhysicalConnectionAttribute(ModifyPhysicalConnectionAttributeRequest request) throws Exception
request
- ModifyPhysicalConnectionAttributeRequestException
public ModifyPrefixListResponse modifyPrefixListWithOptions(ModifyPrefixListRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
AddEntry.N.Cidr
) and new description (AddEntry.N.Description
) for the entry.Modifies the name, description, or entries of a specific prefix list.
request
- ModifyPrefixListRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyPrefixListResponse modifyPrefixList(ModifyPrefixListRequest request) throws Exception
AddEntry.N.Cidr
) and new description (AddEntry.N.Description
) for the entry.Modifies the name, description, or entries of a specific prefix list.
request
- ModifyPrefixListRequestException
public ModifyPrepayInstanceSpecResponse modifyPrepayInstanceSpecWithOptions(ModifyPrepayInstanceSpecRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation, we recommend that you familiarize yourself with the billing methods, pricing schedule, and refund rules of ECS. For information about the refund rules, see Rules for unsubscribing from resources. Before you change the instance type of a subscription instance, call the DescribeResourcesModification operation to query the instance types to which you can change the instance. You can use ECS SDK for Python. For more information, see Query available resources for configuration changes. Take note of the following items:
Stopped
) state.RebootWhenFinished
is set to true for the instance, you do not need to restart the instance.Upgrades or downgrades the instance type of a subscription Elastic Compute Service (ECS) instance. The new instance type takes effect for the remaining lifecycle of the instance.
request
- ModifyPrepayInstanceSpecRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyPrepayInstanceSpecResponse modifyPrepayInstanceSpec(ModifyPrepayInstanceSpecRequest request) throws Exception
Before you call this operation, we recommend that you familiarize yourself with the billing methods, pricing schedule, and refund rules of ECS. For information about the refund rules, see Rules for unsubscribing from resources. Before you change the instance type of a subscription instance, call the DescribeResourcesModification operation to query the instance types to which you can change the instance. You can use ECS SDK for Python. For more information, see Query available resources for configuration changes. Take note of the following items:
Stopped
) state.RebootWhenFinished
is set to true for the instance, you do not need to restart the instance.Upgrades or downgrades the instance type of a subscription Elastic Compute Service (ECS) instance. The new instance type takes effect for the remaining lifecycle of the instance.
request
- ModifyPrepayInstanceSpecRequestException
public ModifyReservedInstanceAttributeResponse modifyReservedInstanceAttributeWithOptions(ModifyReservedInstanceAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the attributes of a reserved instance, such as its name and description.
request
- ModifyReservedInstanceAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyReservedInstanceAttributeResponse modifyReservedInstanceAttribute(ModifyReservedInstanceAttributeRequest request) throws Exception
Modifies the attributes of a reserved instance, such as its name and description.
request
- ModifyReservedInstanceAttributeRequestException
public ModifyReservedInstanceAutoRenewAttributeResponse modifyReservedInstanceAutoRenewAttributeWithOptions(ModifyReservedInstanceAutoRenewAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Enables or disables auto-renewal for one or more reserved instances.
request
- ModifyReservedInstanceAutoRenewAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyReservedInstanceAutoRenewAttributeResponse modifyReservedInstanceAutoRenewAttribute(ModifyReservedInstanceAutoRenewAttributeRequest request) throws Exception
Enables or disables auto-renewal for one or more reserved instances.
request
- ModifyReservedInstanceAutoRenewAttributeRequestException
public ModifyReservedInstancesResponse modifyReservedInstancesWithOptions(ModifyReservedInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The region ID of the reserved instance. You can call the DescribeRegions operation to query the most recent list of regions.
summary :Splits, merges, or modifies reserved instances. When you call this operation, you can specify parameters, such as ReservedInstanceId, ZoneId, InstanceType, and InstanceAmount, in the request.
request
- ModifyReservedInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyReservedInstancesResponse modifyReservedInstances(ModifyReservedInstancesRequest request) throws Exception
The region ID of the reserved instance. You can call the DescribeRegions operation to query the most recent list of regions.
summary :Splits, merges, or modifies reserved instances. When you call this operation, you can specify parameters, such as ReservedInstanceId, ZoneId, InstanceType, and InstanceAmount, in the request.
request
- ModifyReservedInstancesRequestException
@Deprecated public ModifyRouterInterfaceAttributeResponse modifyRouterInterfaceAttributeWithOptions(ModifyRouterInterfaceAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyRouterInterfaceAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyRouterInterfaceAttributeResponse modifyRouterInterfaceAttribute(ModifyRouterInterfaceAttributeRequest request) throws Exception
request
- ModifyRouterInterfaceAttributeRequestException
@Deprecated public ModifyRouterInterfaceSpecResponse modifyRouterInterfaceSpecWithOptions(ModifyRouterInterfaceSpecRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyRouterInterfaceSpecRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyRouterInterfaceSpecResponse modifyRouterInterfaceSpec(ModifyRouterInterfaceSpecRequest request) throws Exception
request
- ModifyRouterInterfaceSpecRequestException
public ModifySecurityGroupAttributeResponse modifySecurityGroupAttributeWithOptions(ModifySecurityGroupAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the name or description of a security group. When you call this operation, you can specify parameters, such as SecurityGroupId, SecurityGroupName, and Description, in the request.
request
- ModifySecurityGroupAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifySecurityGroupAttributeResponse modifySecurityGroupAttribute(ModifySecurityGroupAttributeRequest request) throws Exception
Modifies the name or description of a security group. When you call this operation, you can specify parameters, such as SecurityGroupId, SecurityGroupName, and Description, in the request.
request
- ModifySecurityGroupAttributeRequestException
public ModifySecurityGroupEgressRuleResponse modifySecurityGroupEgressRuleWithOptions(ModifySecurityGroupEgressRuleRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
In security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device. Take note of the following items:
Modifies outbound rules in a security group.
request
- ModifySecurityGroupEgressRuleRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifySecurityGroupEgressRuleResponse modifySecurityGroupEgressRule(ModifySecurityGroupEgressRuleRequest request) throws Exception
In security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device. Take note of the following items:
Modifies outbound rules in a security group.
request
- ModifySecurityGroupEgressRuleRequestException
public ModifySecurityGroupPolicyResponse modifySecurityGroupPolicyWithOptions(ModifySecurityGroupPolicyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Modifies the internal access control policy of instances in a basic security group. The internal access control policy of instances in an advanced security group cannot be modified.
request
- ModifySecurityGroupPolicyRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifySecurityGroupPolicyResponse modifySecurityGroupPolicy(ModifySecurityGroupPolicyRequest request) throws Exception
Take note of the following items:
Modifies the internal access control policy of instances in a basic security group. The internal access control policy of instances in an advanced security group cannot be modified.
request
- ModifySecurityGroupPolicyRequestException
public ModifySecurityGroupRuleResponse modifySecurityGroupRuleWithOptions(ModifySecurityGroupRuleRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
In security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device. Take note of the following items:
Modifies an inbound rule in a security group.
request
- ModifySecurityGroupRuleRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifySecurityGroupRuleResponse modifySecurityGroupRule(ModifySecurityGroupRuleRequest request) throws Exception
In security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device. Take note of the following items:
Modifies an inbound rule in a security group.
request
- ModifySecurityGroupRuleRequestException
public ModifySnapshotAttributeResponse modifySnapshotAttributeWithOptions(ModifySnapshotAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the name, description, or retention period of a snapshot.
request
- ModifySnapshotAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifySnapshotAttributeResponse modifySnapshotAttribute(ModifySnapshotAttributeRequest request) throws Exception
Modifies the name, description, or retention period of a snapshot.
request
- ModifySnapshotAttributeRequestException
public ModifySnapshotGroupResponse modifySnapshotGroupWithOptions(ModifySnapshotGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
修改快照分组
request
- ModifySnapshotGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifySnapshotGroupResponse modifySnapshotGroup(ModifySnapshotGroupRequest request) throws Exception
修改快照分组
request
- ModifySnapshotGroupRequestException
public ModifyStorageCapacityUnitAttributeResponse modifyStorageCapacityUnitAttributeWithOptions(ModifyStorageCapacityUnitAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Changes the name or modifies the description of a storage capacity unit (SCU).
request
- ModifyStorageCapacityUnitAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyStorageCapacityUnitAttributeResponse modifyStorageCapacityUnitAttribute(ModifyStorageCapacityUnitAttributeRequest request) throws Exception
Changes the name or modifies the description of a storage capacity unit (SCU).
request
- ModifyStorageCapacityUnitAttributeRequestException
public ModifyStorageSetAttributeResponse modifyStorageSetAttributeWithOptions(ModifyStorageSetAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Modifies the name or description of a storage set.
request
- ModifyStorageSetAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
public ModifyStorageSetAttributeResponse modifyStorageSetAttribute(ModifyStorageSetAttributeRequest request) throws Exception
Modifies the name or description of a storage set.
request
- ModifyStorageSetAttributeRequestException
@Deprecated public ModifyUserBusinessBehaviorResponse modifyUserBusinessBehaviorWithOptions(ModifyUserBusinessBehaviorRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyUserBusinessBehaviorRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyUserBusinessBehaviorResponse modifyUserBusinessBehavior(ModifyUserBusinessBehaviorRequest request) throws Exception
request
- ModifyUserBusinessBehaviorRequestException
@Deprecated public ModifyVRouterAttributeResponse modifyVRouterAttributeWithOptions(ModifyVRouterAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyVRouterAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyVRouterAttributeResponse modifyVRouterAttribute(ModifyVRouterAttributeRequest request) throws Exception
request
- ModifyVRouterAttributeRequestException
@Deprecated public ModifyVSwitchAttributeResponse modifyVSwitchAttributeWithOptions(ModifyVSwitchAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyVSwitchAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyVSwitchAttributeResponse modifyVSwitchAttribute(ModifyVSwitchAttributeRequest request) throws Exception
request
- ModifyVSwitchAttributeRequestException
@Deprecated public ModifyVirtualBorderRouterAttributeResponse modifyVirtualBorderRouterAttributeWithOptions(ModifyVirtualBorderRouterAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyVirtualBorderRouterAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyVirtualBorderRouterAttributeResponse modifyVirtualBorderRouterAttribute(ModifyVirtualBorderRouterAttributeRequest request) throws Exception
request
- ModifyVirtualBorderRouterAttributeRequestException
@Deprecated public ModifyVpcAttributeResponse modifyVpcAttributeWithOptions(ModifyVpcAttributeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ModifyVpcAttributeRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ModifyVpcAttributeResponse modifyVpcAttribute(ModifyVpcAttributeRequest request) throws Exception
request
- ModifyVpcAttributeRequestException
public PurchaseElasticityAssuranceResponse purchaseElasticityAssuranceWithOptions(PurchaseElasticityAssuranceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation, familiarize yourself with the billing rules and pricing of elasticity assurances. Before you purchase an elasticity assurance, you can call the DescribeElasticityAssurances operation to query the elasticity assurances that you can purchase.
summary :Purchases an elasticity assurance that is not in the Active state and for which resources are prepared.
request
- PurchaseElasticityAssuranceRequestruntime
- runtime options for this request RuntimeOptionsException
public PurchaseElasticityAssuranceResponse purchaseElasticityAssurance(PurchaseElasticityAssuranceRequest request) throws Exception
Before you call this operation, familiarize yourself with the billing rules and pricing of elasticity assurances. Before you purchase an elasticity assurance, you can call the DescribeElasticityAssurances operation to query the elasticity assurances that you can purchase.
summary :Purchases an elasticity assurance that is not in the Active state and for which resources are prepared.
request
- PurchaseElasticityAssuranceRequestException
public PurchaseReservedInstancesOfferingResponse purchaseReservedInstancesOfferingWithOptions(PurchaseReservedInstancesOfferingRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Purchases a reserved instance. When you call this operation, you can specify parameters, such as InstanceType and Scope, in the request. Reserved instances can be applied to automatically offset fees for pay-as-you-go Elastic Compute Service (ECS) instances.
request
- PurchaseReservedInstancesOfferingRequestruntime
- runtime options for this request RuntimeOptionsException
public PurchaseReservedInstancesOfferingResponse purchaseReservedInstancesOffering(PurchaseReservedInstancesOfferingRequest request) throws Exception
Purchases a reserved instance. When you call this operation, you can specify parameters, such as InstanceType and Scope, in the request. Reserved instances can be applied to automatically offset fees for pay-as-you-go Elastic Compute Service (ECS) instances.
request
- PurchaseReservedInstancesOfferingRequestException
public PurchaseStorageCapacityUnitResponse purchaseStorageCapacityUnitWithOptions(PurchaseStorageCapacityUnitRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation, make sure that you are familiar with the billing and pricing of SCUs. For more information, see Storage capacity units.
summary :Purchases one or more storage capacity units (SCUs).
request
- PurchaseStorageCapacityUnitRequestruntime
- runtime options for this request RuntimeOptionsException
public PurchaseStorageCapacityUnitResponse purchaseStorageCapacityUnit(PurchaseStorageCapacityUnitRequest request) throws Exception
Before you call this operation, make sure that you are familiar with the billing and pricing of SCUs. For more information, see Storage capacity units.
summary :Purchases one or more storage capacity units (SCUs).
request
- PurchaseStorageCapacityUnitRequestException
public ReActivateInstancesResponse reActivateInstancesWithOptions(ReActivateInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, take note of the following items:
Stopped
state.****Starting
state.****OperationLocks
in the response returned for the DescribeInstances operation contains LockReason: security
, the instance is locked for security reasons. For more information, see API behavior when an instance is locked for security reasons.Reactivates a pay-as-you-go Elastic Compute Service (ECS) instance that has expired or has been recycled due to overdue payments.
request
- ReActivateInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public ReActivateInstancesResponse reActivateInstances(ReActivateInstancesRequest request) throws Exception
When you call this operation, take note of the following items:
Stopped
state.****Starting
state.****OperationLocks
in the response returned for the DescribeInstances operation contains LockReason: security
, the instance is locked for security reasons. For more information, see API behavior when an instance is locked for security reasons.Reactivates a pay-as-you-go Elastic Compute Service (ECS) instance that has expired or has been recycled due to overdue payments.
request
- ReActivateInstancesRequestException
public ReInitDiskResponse reInitDiskWithOptions(ReInitDiskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
If the source snapshot is deleted, the disk cannot be re-initialized and an error is returned.
Re-initializes a disk to the state that it was in when it was created.
request
- ReInitDiskRequestruntime
- runtime options for this request RuntimeOptionsException
public ReInitDiskResponse reInitDisk(ReInitDiskRequest request) throws Exception
Take note of the following items:
If the source snapshot is deleted, the disk cannot be re-initialized and an error is returned.
Re-initializes a disk to the state that it was in when it was created.
request
- ReInitDiskRequestException
public RebootInstanceResponse rebootInstanceWithOptions(RebootInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Only instances that are in the Running
state can be restarted.****
Starting
.****ForceStop
) is equivalent to performing a hard restart. This operation can cause data loss if data in the instance is not written to the disk.OperationLocks
in the response contains "LockReason": "security", the instance is locked for security reasons and cannot be restarted. For more information, see API behavior when an instance is locked for security reasons.Restarts an Elastic Compute Service (ECS) instance that is in the Running state.
request
- RebootInstanceRequestruntime
- runtime options for this request RuntimeOptionsException
public RebootInstanceResponse rebootInstance(RebootInstanceRequest request) throws Exception
Only instances that are in the Running
state can be restarted.****
Starting
.****ForceStop
) is equivalent to performing a hard restart. This operation can cause data loss if data in the instance is not written to the disk.OperationLocks
in the response contains "LockReason": "security", the instance is locked for security reasons and cannot be restarted. For more information, see API behavior when an instance is locked for security reasons.Restarts an Elastic Compute Service (ECS) instance that is in the Running state.
request
- RebootInstanceRequestException
public RebootInstancesResponse rebootInstancesWithOptions(RebootInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Running
) state.BatchOptimization
to specify the batch operation mode and restart multiple instances at a time.ForceReboot
) is equivalent to powering off a traditional server and then starting the server. If data in the instance operating system is not written to block storage devices when the operation is called, the data is lost.{"OperationLocks": {"LockReason" : "security"}}
when you query the information of the instance, the instance is locked for security reasons and all operations are prohibited on it.Restarts Elastic Compute Service (ECS) instances that are in the Running state. After you call this API operation, the instances enter the Stopping state and then the Running state.
request
- RebootInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public RebootInstancesResponse rebootInstances(RebootInstancesRequest request) throws Exception
Running
) state.BatchOptimization
to specify the batch operation mode and restart multiple instances at a time.ForceReboot
) is equivalent to powering off a traditional server and then starting the server. If data in the instance operating system is not written to block storage devices when the operation is called, the data is lost.{"OperationLocks": {"LockReason" : "security"}}
when you query the information of the instance, the instance is locked for security reasons and all operations are prohibited on it.Restarts Elastic Compute Service (ECS) instances that are in the Running state. After you call this API operation, the instances enter the Stopping state and then the Running state.
request
- RebootInstancesRequestException
@Deprecated public RecoverVirtualBorderRouterResponse recoverVirtualBorderRouterWithOptions(RecoverVirtualBorderRouterRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- RecoverVirtualBorderRouterRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public RecoverVirtualBorderRouterResponse recoverVirtualBorderRouter(RecoverVirtualBorderRouterRequest request) throws Exception
request
- RecoverVirtualBorderRouterRequestException
public RedeployDedicatedHostResponse redeployDedicatedHostWithOptions(RedeployDedicatedHostRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If a dedicated host is in the UnderAssessment state, we recommend that you call this operation to migrate ECS instances away from the dedicated host to prevent permanent failures. You can call the DescribeDedicatedHosts operation to query the status of a dedicated host.
summary :Migrates Elastic Compute Service (ECS) instances away from a failed dedicated host.
request
- RedeployDedicatedHostRequestruntime
- runtime options for this request RuntimeOptionsException
public RedeployDedicatedHostResponse redeployDedicatedHost(RedeployDedicatedHostRequest request) throws Exception
If a dedicated host is in the UnderAssessment state, we recommend that you call this operation to migrate ECS instances away from the dedicated host to prevent permanent failures. You can call the DescribeDedicatedHosts operation to query the status of a dedicated host.
summary :Migrates Elastic Compute Service (ECS) instances away from a failed dedicated host.
request
- RedeployDedicatedHostRequestException
public RedeployInstanceResponse redeployInstanceWithOptions(RedeployInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the Running
state. If the instance fails to be redeployed, the instance returns to the original physical server and the state before redeployment.
Take note of the following items:
Running
state before redeployment, the instance enters the Stopping
state.Stopped
state before redeployment, the instance enters the Starting
state.OperationLocks
parameter in the response of the DescribeInstances operation contains "LockReason" : "security"
for an instance, the instance is locked for security reasons and cannot be redeployed.System event | Event status |
---|---|
Instance restart due to system maintenance (SystemMaintenance.Reboot) | Inquiring and Scheduled |
Instance redeployment due to system maintenance (SystemMaintenance.Redeploy) | Inquiring and Scheduled |
Instance restart and replacement of damaged disks due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk) | Inquiring |
Instance restart and re-initialization of damaged disks due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk) | Inquiring |
Instance redeployment due to system errors (SystemFailure.Redeploy) | Inquiring and Scheduled |
For ECS instances that use only local disks: instance restart due to a system error (SystemFailure.Reboot) | Executing |
Isolation of damaged disks due to system maintenance (SystemMaintenance.IsolateErrorDisk) | Inquiring |
Re-initialization of damaged disks due to system maintenance (SystemMaintenance.ReInitErrorDisk) | Inquiring |
NoteWhen instances that use local disks are redeployed, the local disks are re-initialized and data on the local disks is cleared. |
Redeploys an instance when the instance receives a system event notification.
request
- RedeployInstanceRequestruntime
- runtime options for this request RuntimeOptionsException
public RedeployInstanceResponse redeployInstance(RedeployInstanceRequest request) throws Exception
RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the Running
state. If the instance fails to be redeployed, the instance returns to the original physical server and the state before redeployment.
Take note of the following items:
Running
state before redeployment, the instance enters the Stopping
state.Stopped
state before redeployment, the instance enters the Starting
state.OperationLocks
parameter in the response of the DescribeInstances operation contains "LockReason" : "security"
for an instance, the instance is locked for security reasons and cannot be redeployed.System event | Event status |
---|---|
Instance restart due to system maintenance (SystemMaintenance.Reboot) | Inquiring and Scheduled |
Instance redeployment due to system maintenance (SystemMaintenance.Redeploy) | Inquiring and Scheduled |
Instance restart and replacement of damaged disks due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk) | Inquiring |
Instance restart and re-initialization of damaged disks due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk) | Inquiring |
Instance redeployment due to system errors (SystemFailure.Redeploy) | Inquiring and Scheduled |
For ECS instances that use only local disks: instance restart due to a system error (SystemFailure.Reboot) | Executing |
Isolation of damaged disks due to system maintenance (SystemMaintenance.IsolateErrorDisk) | Inquiring |
Re-initialization of damaged disks due to system maintenance (SystemMaintenance.ReInitErrorDisk) | Inquiring |
NoteWhen instances that use local disks are redeployed, the local disks are re-initialized and data on the local disks is cleared. |
Redeploys an instance when the instance receives a system event notification.
request
- RedeployInstanceRequestException
public ReleaseCapacityReservationResponse releaseCapacityReservationWithOptions(ReleaseCapacityReservationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If the release mode of a capacity reservation that takes effect immediately is set to manual release, you can call this operation to release the capacity reservation.
summary :Releases a capacity reservation.
request
- ReleaseCapacityReservationRequestruntime
- runtime options for this request RuntimeOptionsException
public ReleaseCapacityReservationResponse releaseCapacityReservation(ReleaseCapacityReservationRequest request) throws Exception
If the release mode of a capacity reservation that takes effect immediately is set to manual release, you can call this operation to release the capacity reservation.
summary :Releases a capacity reservation.
request
- ReleaseCapacityReservationRequestException
public ReleaseDedicatedHostResponse releaseDedicatedHostWithOptions(ReleaseDedicatedHostRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
summary :Releases a pay-as-you-go dedicated host.
request
- ReleaseDedicatedHostRequestruntime
- runtime options for this request RuntimeOptionsException
public ReleaseDedicatedHostResponse releaseDedicatedHost(ReleaseDedicatedHostRequest request) throws Exception
Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
summary :Releases a pay-as-you-go dedicated host.
request
- ReleaseDedicatedHostRequestException
@Deprecated public ReleaseEipAddressResponse releaseEipAddressWithOptions(ReleaseEipAddressRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- ReleaseEipAddressRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public ReleaseEipAddressResponse releaseEipAddress(ReleaseEipAddressRequest request) throws Exception
request
- ReleaseEipAddressRequestException
public ReleasePublicIpAddressResponse releasePublicIpAddressWithOptions(ReleasePublicIpAddressRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
释放公网IP
request
- ReleasePublicIpAddressRequestruntime
- runtime options for this request RuntimeOptionsException
public ReleasePublicIpAddressResponse releasePublicIpAddress(ReleasePublicIpAddressRequest request) throws Exception
释放公网IP
request
- ReleasePublicIpAddressRequestException
@Deprecated public RemoveBandwidthPackageIpsResponse removeBandwidthPackageIpsWithOptions(RemoveBandwidthPackageIpsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- RemoveBandwidthPackageIpsRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public RemoveBandwidthPackageIpsResponse removeBandwidthPackageIps(RemoveBandwidthPackageIpsRequest request) throws Exception
request
- RemoveBandwidthPackageIpsRequestException
public RemoveTagsResponse removeTagsWithOptions(RemoveTagsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Removes one or more tags from a resource such as an instance, disk, snapshot, image, or security group.
request
- RemoveTagsRequestruntime
- runtime options for this request RuntimeOptionsException
public RemoveTagsResponse removeTags(RemoveTagsRequest request) throws Exception
Removes one or more tags from a resource such as an instance, disk, snapshot, image, or security group.
request
- RemoveTagsRequestException
public RenewDedicatedHostsResponse renewDedicatedHostsWithOptions(RenewDedicatedHostsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you renew subscription dedicated hosts, vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
summary :Renews one or more subscription dedicated hosts.
request
- RenewDedicatedHostsRequestruntime
- runtime options for this request RuntimeOptionsException
public RenewDedicatedHostsResponse renewDedicatedHosts(RenewDedicatedHostsRequest request) throws Exception
When you renew subscription dedicated hosts, vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
summary :Renews one or more subscription dedicated hosts.
request
- RenewDedicatedHostsRequestException
public RenewElasticityAssurancesResponse renewElasticityAssurancesWithOptions(RenewElasticityAssurancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Renews one or more elasticity assurances that you purchased. When you call this operation, you can specify parameters, such as PrivatePoolOptionsId and Period, in the request.
request
- RenewElasticityAssurancesRequestruntime
- runtime options for this request RuntimeOptionsException
public RenewElasticityAssurancesResponse renewElasticityAssurances(RenewElasticityAssurancesRequest request) throws Exception
Renews one or more elasticity assurances that you purchased. When you call this operation, you can specify parameters, such as PrivatePoolOptionsId and Period, in the request.
request
- RenewElasticityAssurancesRequestException
public RenewInstanceResponse renewInstanceWithOptions(RenewInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the Elastic Compute Service product page.
Period
and PeriodUnit
) that is related to the renewal period and ExpectedRenewDay
are mutually exclusive.Renews a subscription Elastic Compute Service (ECS) instance. When you call this operation, you can specify parameters, such as InstanceId, Period, and ExpectedRenewDay, in the request.
request
- RenewInstanceRequestruntime
- runtime options for this request RuntimeOptionsException
public RenewInstanceResponse renewInstance(RenewInstanceRequest request) throws Exception
Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the Elastic Compute Service product page.
Period
and PeriodUnit
) that is related to the renewal period and ExpectedRenewDay
are mutually exclusive.Renews a subscription Elastic Compute Service (ECS) instance. When you call this operation, you can specify parameters, such as InstanceId, Period, and ExpectedRenewDay, in the request.
request
- RenewInstanceRequestException
public RenewReservedInstancesResponse renewReservedInstancesWithOptions(RenewReservedInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
The IDs of the reserved instances.
summary :Before you call this operation, make sure that you are familiar with the billing method of reserved instances. For more information, see Reserved instances.
request
- RenewReservedInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public RenewReservedInstancesResponse renewReservedInstances(RenewReservedInstancesRequest request) throws Exception
The IDs of the reserved instances.
summary :Before you call this operation, make sure that you are familiar with the billing method of reserved instances. For more information, see Reserved instances.
request
- RenewReservedInstancesRequestException
public ReplaceSystemDiskResponse replaceSystemDiskWithOptions(ReplaceSystemDiskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Stopped
state.
**
Note The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and economical mode is enabled by default for the instance, you must disable economical mode and enable standard mode when you stop the instance. This prevents the instance from being unable to restart due to insufficient ECS resources after the system disk is replaced. For more information, see StopInstance.OperationLocks
in the DescribeInstances response contains "LockReason": "security"
for an instance, the instance is locked for security reasons. For more information, see API behavior when an instance is locked for security reasons.SystemDisk.Size
to specify the capacity of the new system disk.
After you call the ReplaceSystemDisk operation, you can use one of the following methods to check whether the system disk is replaced:OperationLocks
parameter is empty, the system disk is replaced.Replaces the operating system of an Elastic Compute Service (ECS) instance. After you perform an operating system replacement operation, the original disk is released and a new system disk is created. This causes the ID of the system disk to change.
request
- ReplaceSystemDiskRequestruntime
- runtime options for this request RuntimeOptionsException
public ReplaceSystemDiskResponse replaceSystemDisk(ReplaceSystemDiskRequest request) throws Exception
Take note of the following items:
Stopped
state.
**
Note The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and economical mode is enabled by default for the instance, you must disable economical mode and enable standard mode when you stop the instance. This prevents the instance from being unable to restart due to insufficient ECS resources after the system disk is replaced. For more information, see StopInstance.OperationLocks
in the DescribeInstances response contains "LockReason": "security"
for an instance, the instance is locked for security reasons. For more information, see API behavior when an instance is locked for security reasons.SystemDisk.Size
to specify the capacity of the new system disk.
After you call the ReplaceSystemDisk operation, you can use one of the following methods to check whether the system disk is replaced:OperationLocks
parameter is empty, the system disk is replaced.Replaces the operating system of an Elastic Compute Service (ECS) instance. After you perform an operating system replacement operation, the original disk is released and a new system disk is created. This causes the ID of the system disk to change.
request
- ReplaceSystemDiskRequestException
public ReportInstancesStatusResponse reportInstancesStatusWithOptions(ReportInstancesStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Reports an exception on Elastic Compute Service (ECS) instances. You can report the same exception on multiple ECS instances or on multiple disks of an ECS instance.
request
- ReportInstancesStatusRequestruntime
- runtime options for this request RuntimeOptionsException
public ReportInstancesStatusResponse reportInstancesStatus(ReportInstancesStatusRequest request) throws Exception
Reports an exception on Elastic Compute Service (ECS) instances. You can report the same exception on multiple ECS instances or on multiple disks of an ECS instance.
request
- ReportInstancesStatusRequestException
public ResetDiskResponse resetDiskWithOptions(ResetDiskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, take note of the following items:
{"OperationLocks": {"LockReason" : "security"}}
, then this indicates that the instance is locked for security reasons and no operations can be performed on the instance.Rolls back a disk to the state at a specific point in time based on a snapshot of the disk.
request
- ResetDiskRequestruntime
- runtime options for this request RuntimeOptionsException
public ResetDiskResponse resetDisk(ResetDiskRequest request) throws Exception
When you call this operation, take note of the following items:
{"OperationLocks": {"LockReason" : "security"}}
, then this indicates that the instance is locked for security reasons and no operations can be performed on the instance.Rolls back a disk to the state at a specific point in time based on a snapshot of the disk.
request
- ResetDiskRequestException
public ResetDiskDefaultKMSKeyIdResponse resetDiskDefaultKMSKeyIdWithOptions(ResetDiskDefaultKMSKeyIdRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Only Alibaba Cloud accounts can call this operation.
Resets the Key Management Service (KMS) key used by Account-level Elastic Block Storage (EBS) Default Encryption in a region to the service key.
request
- ResetDiskDefaultKMSKeyIdRequestruntime
- runtime options for this request RuntimeOptionsException
public ResetDiskDefaultKMSKeyIdResponse resetDiskDefaultKMSKeyId(ResetDiskDefaultKMSKeyIdRequest request) throws Exception
Only Alibaba Cloud accounts can call this operation.
Resets the Key Management Service (KMS) key used by Account-level Elastic Block Storage (EBS) Default Encryption in a region to the service key.
request
- ResetDiskDefaultKMSKeyIdRequestException
public ResetDisksResponse resetDisksWithOptions(ResetDisksRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
This operation will be removed in the future. We recommend that you call the ResetDisk operation to roll back a disk.
summary :Rolls back one or more disks by using an instance snapshot.
request
- ResetDisksRequestruntime
- runtime options for this request RuntimeOptionsException
public ResetDisksResponse resetDisks(ResetDisksRequest request) throws Exception
This operation will be removed in the future. We recommend that you call the ResetDisk operation to roll back a disk.
summary :Rolls back one or more disks by using an instance snapshot.
request
- ResetDisksRequestException
public ResizeDiskResponse resizeDiskWithOptions(ResizeDiskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation to resize a disk, you must check the partition format of the disk. A master boot record (MBR) disk cannot be resized to a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend that you perform the following steps: Create another data disk that is larger than 2 TiB in size, partition and format the new data disk to GUID partition table (GPT), and then copy data from the MBR disk to the new GPT data disk. For more information, see Step 1: Resize a disk to extend its capacity.
cloud
), ultra disks (cloud_efficiency
), standard SSDs (cloud_ssd
), Enterprise SSDs (ESSDs) (cloud_essd
), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), and premium elastic ephemeral disks (elastic_ephemeral_disk_premium).Running
) or Stopped (Stopped
) state.Stopped
) state.Resizes a system disk or data disk.
request
- ResizeDiskRequestruntime
- runtime options for this request RuntimeOptionsException
public ResizeDiskResponse resizeDisk(ResizeDiskRequest request) throws Exception
Before you call this operation to resize a disk, you must check the partition format of the disk. A master boot record (MBR) disk cannot be resized to a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend that you perform the following steps: Create another data disk that is larger than 2 TiB in size, partition and format the new data disk to GUID partition table (GPT), and then copy data from the MBR disk to the new GPT data disk. For more information, see Step 1: Resize a disk to extend its capacity.
cloud
), ultra disks (cloud_efficiency
), standard SSDs (cloud_ssd
), Enterprise SSDs (ESSDs) (cloud_essd
), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), and premium elastic ephemeral disks (elastic_ephemeral_disk_premium).Running
) or Stopped (Stopped
) state.Stopped
) state.Resizes a system disk or data disk.
request
- ResizeDiskRequestException
public RevokeSecurityGroupResponse revokeSecurityGroupWithOptions(RevokeSecurityGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
In the security group-related API documents, inbound traffic refers to the traffic sent by the source and received by the destination. When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
Deletes one or more inbound security group rules.
request
- RevokeSecurityGroupRequestruntime
- runtime options for this request RuntimeOptionsException
public RevokeSecurityGroupResponse revokeSecurityGroup(RevokeSecurityGroupRequest request) throws Exception
In the security group-related API documents, inbound traffic refers to the traffic sent by the source and received by the destination. When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
Deletes one or more inbound security group rules.
request
- RevokeSecurityGroupRequestException
public RevokeSecurityGroupEgressResponse revokeSecurityGroupEgressWithOptions(RevokeSecurityGroupEgressRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
In the security group-related API documents, outbound traffic refers to the traffic sent by the source and received by the destination. When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
Deletes outbound security group rules.
request
- RevokeSecurityGroupEgressRequestruntime
- runtime options for this request RuntimeOptionsException
public RevokeSecurityGroupEgressResponse revokeSecurityGroupEgress(RevokeSecurityGroupEgressRequest request) throws Exception
In the security group-related API documents, outbound traffic refers to the traffic sent by the source and received by the destination. When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
Deletes outbound security group rules.
request
- RevokeSecurityGroupEgressRequestException
public RunCommandResponse runCommandWithOptions(RunCommandRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Unlike the CreateCommand and InvokeCommand operations, the RunCommand operation can be used to create and run a command in a single request. Take note of the following items:
Running
) state. You can call the DescribeInstances operation to query the status of instances.Timeout
to specify the timeout period for executions of the command on ECS instances. If an execution times out, Cloud Assistant Agent forcefully terminates the command process.ClientNeedUpgrade
error code is returned, you must update Cloud Assistant Agent to the latest version. For more information, see Upgrade or disable upgrades of Cloud Assistant Agent.EnableParameter
to true, the custom parameter feature is enabled. When you configure CommandContent
, you can define custom parameters in the {{parameter}}
format. Then, when the command is run, the key-value pairs of the custom parameters are passed in.Runs a shell, PowerShell, or batch command on one or more Elastic Compute Service (ECS) instances. When you call this operation, you can specify parameters, such as Type and CommandContent, in the request.
tmpReq
- RunCommandRequestruntime
- runtime options for this request RuntimeOptionsException
public RunCommandResponse runCommand(RunCommandRequest request) throws Exception
Unlike the CreateCommand and InvokeCommand operations, the RunCommand operation can be used to create and run a command in a single request. Take note of the following items:
Running
) state. You can call the DescribeInstances operation to query the status of instances.Timeout
to specify the timeout period for executions of the command on ECS instances. If an execution times out, Cloud Assistant Agent forcefully terminates the command process.ClientNeedUpgrade
error code is returned, you must update Cloud Assistant Agent to the latest version. For more information, see Upgrade or disable upgrades of Cloud Assistant Agent.EnableParameter
to true, the custom parameter feature is enabled. When you configure CommandContent
, you can define custom parameters in the {{parameter}}
format. Then, when the command is run, the key-value pairs of the custom parameters are passed in.Runs a shell, PowerShell, or batch command on one or more Elastic Compute Service (ECS) instances. When you call this operation, you can specify parameters, such as Type and CommandContent, in the request.
request
- RunCommandRequestException
public RunInstancesResponse runInstancesWithOptions(RunInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you call this operation, familiarize yourself with the billing rules and pricing of ECS resources.
This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the DescribeInstanceStatus operation to query the status of the instances. When the status of an instance is Running
in the DescribeInstanceStatus response, the instance is created and started.
InternetMaxBandwidthOut
to a value greater than 0, public IP addresses are automatically assigned to the ECS instances to be created.Starting November 27, 2020, when you create ECS instances or change ECS instance configurations, the maximum bandwidth value that you can specify is subject to the throttling policy of your account. To increase the maximum bandwidth value, submit a ticket. The throttling policy imposes the following constraints: In a single region, the total maximum bandwidth value of all instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s and the total bandwidth value of all instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
DryRun
to true to perform a dry run without performing the actual request.AutoReleaseTime
to configure an automatic release time for ECS instances in the request to RunInstances or call the DeleteInstances operation to release the instances.Tag.N.Key
and Tag.N.Value
and append incremental suffixes by specifying UniqueSuffix
to the hostname specified by HostName
and the instance name specified by InstanceName
.RunInstances
, you can specify LaunchTemplateId
and LaunchTemplateVersion
to use the launch template.CpuOptions.ThreadsPerCore
to 1 to disable Hyper-Threading (HT) and increase the memory-to-vCPU ratio.NetworkOptions.EnableJumboFrame
to true to enable the Jumbo Frames
feature when you create ECS instances. For more information, see MTUs.Use a specific image to create ECS instances of a specific instance type in the China (Hangzhou) region. The instances use disks with a specific capacity as the system disk and data disks and are automatically assigned public IP addresses. The instances have user-defined names and logon passwords. The instances are assigned to a specific security group and connected to a specific vSwitch. Request parameters: RegionId: Set RegionId to cn-hangzhou, which indicates the China (Hangzhou) region. ImageId: Specify the ID of an image. Example: aliyun_3_x64_20G_alibase_20221102.vhd. InstanceType: Specify an instance type. Example: ecs.g7.large. SecurityGroupId: Specify a security group ID. Example: sg-bp150uqocpf9jj70****. VSwitchId: Specify a vSwitch ID. Example: vsw-bp1qo7s91cbch5i4l****. SystemDisk.Size: Specify the size of the system disk. Example: 40. DataDisk.Size: Specify the size of a data disk. Example: 100. DataDisk.Category: Specify the category of a data disk. Example: cloud_essd. SystemDisk.Category: Specify the category of the system disk. Example: cloud_essd. HostName: Specify a hostname for the instance. Example: ECS-test. Password: Specify the logon password of the instance. Example: ECS@test1234. InternetMaxBandwidthOut: Specify the outbound public bandwidth. Example: 10. Examples on how to create instances of different types based on the preceding parameters: Example 1: Create five subscription ECS instances for which auto-renewal is enabled Amount: "5". InstanceChargeType: "PrePaid", which specifies the subscription billing method. Period: "1". PeriodUnit: "Month". AutoRenew: "true", which specifies that auto-renewal is enabled. AutoRenewPeriod: "1", which specifies a subscription period of one month. Example 2: Create 10 pay-as-you-go instances Amount: "10".InstanceChargeType: "PostPaid". SpotStrategy: "NoSpot", which specifies that the instance is created as a pay-as-you-go instance. Example 3: Create 20 preemptible instances that have a specified bidding policy and a protection period Amount: "20". InstanceChargeType: "PostPaid". SpotStrategy: Specify the bidding policy for the instance. Example: SpotAsPriceGo, which specifies that the instance is created as a preemptible instance for which the market price at the time of purchase is automatically used as the bid price. SpotDuration: "1", which specifies a 1-hour protection period.
summary :Creates pay-as-you-go or subscription Elastic Compute Service (ECS) instances. This operation provides a wide array of features and functions and helps simplify the procedure to create and manage ECS instances. When you call this operation, you can choose to create multiple ECS instances at a time, automatically start the instances, and assign public IP addresses to them. You can also use the features provided by the operation, such as configuring an automatic release time for instances, using a launch template, and configuring custom CPU options, to customize instance configurations for better management of instances.
request
- RunInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public RunInstancesResponse runInstances(RunInstancesRequest request) throws Exception
Before you call this operation, familiarize yourself with the billing rules and pricing of ECS resources.
This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the DescribeInstanceStatus operation to query the status of the instances. When the status of an instance is Running
in the DescribeInstanceStatus response, the instance is created and started.
InternetMaxBandwidthOut
to a value greater than 0, public IP addresses are automatically assigned to the ECS instances to be created.Starting November 27, 2020, when you create ECS instances or change ECS instance configurations, the maximum bandwidth value that you can specify is subject to the throttling policy of your account. To increase the maximum bandwidth value, submit a ticket. The throttling policy imposes the following constraints: In a single region, the total maximum bandwidth value of all instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s and the total bandwidth value of all instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
DryRun
to true to perform a dry run without performing the actual request.AutoReleaseTime
to configure an automatic release time for ECS instances in the request to RunInstances or call the DeleteInstances operation to release the instances.Tag.N.Key
and Tag.N.Value
and append incremental suffixes by specifying UniqueSuffix
to the hostname specified by HostName
and the instance name specified by InstanceName
.RunInstances
, you can specify LaunchTemplateId
and LaunchTemplateVersion
to use the launch template.CpuOptions.ThreadsPerCore
to 1 to disable Hyper-Threading (HT) and increase the memory-to-vCPU ratio.NetworkOptions.EnableJumboFrame
to true to enable the Jumbo Frames
feature when you create ECS instances. For more information, see MTUs.Use a specific image to create ECS instances of a specific instance type in the China (Hangzhou) region. The instances use disks with a specific capacity as the system disk and data disks and are automatically assigned public IP addresses. The instances have user-defined names and logon passwords. The instances are assigned to a specific security group and connected to a specific vSwitch. Request parameters: RegionId: Set RegionId to cn-hangzhou, which indicates the China (Hangzhou) region. ImageId: Specify the ID of an image. Example: aliyun_3_x64_20G_alibase_20221102.vhd. InstanceType: Specify an instance type. Example: ecs.g7.large. SecurityGroupId: Specify a security group ID. Example: sg-bp150uqocpf9jj70****. VSwitchId: Specify a vSwitch ID. Example: vsw-bp1qo7s91cbch5i4l****. SystemDisk.Size: Specify the size of the system disk. Example: 40. DataDisk.Size: Specify the size of a data disk. Example: 100. DataDisk.Category: Specify the category of a data disk. Example: cloud_essd. SystemDisk.Category: Specify the category of the system disk. Example: cloud_essd. HostName: Specify a hostname for the instance. Example: ECS-test. Password: Specify the logon password of the instance. Example: ECS@test1234. InternetMaxBandwidthOut: Specify the outbound public bandwidth. Example: 10. Examples on how to create instances of different types based on the preceding parameters: Example 1: Create five subscription ECS instances for which auto-renewal is enabled Amount: "5". InstanceChargeType: "PrePaid", which specifies the subscription billing method. Period: "1". PeriodUnit: "Month". AutoRenew: "true", which specifies that auto-renewal is enabled. AutoRenewPeriod: "1", which specifies a subscription period of one month. Example 2: Create 10 pay-as-you-go instances Amount: "10".InstanceChargeType: "PostPaid". SpotStrategy: "NoSpot", which specifies that the instance is created as a pay-as-you-go instance. Example 3: Create 20 preemptible instances that have a specified bidding policy and a protection period Amount: "20". InstanceChargeType: "PostPaid". SpotStrategy: Specify the bidding policy for the instance. Example: SpotAsPriceGo, which specifies that the instance is created as a preemptible instance for which the market price at the time of purchase is automatically used as the bid price. SpotDuration: "1", which specifies a 1-hour protection period.
summary :Creates pay-as-you-go or subscription Elastic Compute Service (ECS) instances. This operation provides a wide array of features and functions and helps simplify the procedure to create and manage ECS instances. When you call this operation, you can choose to create multiple ECS instances at a time, automatically start the instances, and assign public IP addresses to them. You can also use the features provided by the operation, such as configuring an automatic release time for instances, using a launch template, and configuring custom CPU options, to customize instance configurations for better management of instances.
request
- RunInstancesRequestException
public SendFileResponse sendFileWithOptions(SendFileRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Running
) state.ClientNeedUpgrade
error code is returned, update Cloud Assistant Agent to the latest version.Sends a file to one or more Elastic Compute Service (ECS) instances.
request
- SendFileRequestruntime
- runtime options for this request RuntimeOptionsException
public SendFileResponse sendFile(SendFileRequest request) throws Exception
Running
) state.ClientNeedUpgrade
error code is returned, update Cloud Assistant Agent to the latest version.Sends a file to one or more Elastic Compute Service (ECS) instances.
request
- SendFileRequestException
public StartImagePipelineExecutionResponse startImagePipelineExecutionWithOptions(StartImagePipelineExecutionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
After you create an image template, you can call the StartImagePipelineExecution operation to create a pipeline task. The system creates, copies, and shares images based on the parameters configured in the image template.
Executes a pipeline task by using an image template.
request
- StartImagePipelineExecutionRequestruntime
- runtime options for this request RuntimeOptionsException
public StartImagePipelineExecutionResponse startImagePipelineExecution(StartImagePipelineExecutionRequest request) throws Exception
After you create an image template, you can call the StartImagePipelineExecution operation to create a pipeline task. The system creates, copies, and shares images based on the parameters configured in the image template.
Executes a pipeline task by using an image template.
request
- StartImagePipelineExecutionRequestException
public StartInstanceResponse startInstanceWithOptions(StartInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Stopped
state.OperationLocks
in the response of the DescribeInstances operation contains "LockReason" : "security"
for an instance, the instance is locked for security reasons and cannot be started.Starts an Elastic Compute Service (ECS) instance. After the operation is called, the instance enters the Starting state.
request
- StartInstanceRequestruntime
- runtime options for this request RuntimeOptionsException
public StartInstanceResponse startInstance(StartInstanceRequest request) throws Exception
Take note of the following items:
Stopped
state.OperationLocks
in the response of the DescribeInstances operation contains "LockReason" : "security"
for an instance, the instance is locked for security reasons and cannot be started.Starts an Elastic Compute Service (ECS) instance. After the operation is called, the instance enters the Starting state.
request
- StartInstanceRequestException
public StartInstancesResponse startInstancesWithOptions(StartInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you call this operation, take note of the following items:
{"OperationLocks": {"LockReason" : "security"}}
, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.BatchOptimization
parameter to specify the batch operation mode.Starts Elastic Compute Service (ECS) instances that are in the Stopped state.
request
- StartInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public StartInstancesResponse startInstances(StartInstancesRequest request) throws Exception
When you call this operation, take note of the following items:
{"OperationLocks": {"LockReason" : "security"}}
, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.BatchOptimization
parameter to specify the batch operation mode.Starts Elastic Compute Service (ECS) instances that are in the Stopped state.
request
- StartInstancesRequestException
public StartTerminalSessionResponse startTerminalSessionWithOptions(StartTerminalSessionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
When you use custom code to connect to an ECS instance that serves as a client, you can call this operation to obtain the WebSocket URL that is used to connect to the instance. Take note of the following items:
Creates a session by using the session management feature. When you call this operation, you can include the ID of an Elastic Compute Service (ECS) instance in the request to create a WebSocket session for the instance. The URL of the WebSocket session returned by the operation can be used to connect to the instance.
request
- StartTerminalSessionRequestruntime
- runtime options for this request RuntimeOptionsException
public StartTerminalSessionResponse startTerminalSession(StartTerminalSessionRequest request) throws Exception
When you use custom code to connect to an ECS instance that serves as a client, you can call this operation to obtain the WebSocket URL that is used to connect to the instance. Take note of the following items:
Creates a session by using the session management feature. When you call this operation, you can include the ID of an Elastic Compute Service (ECS) instance in the request to create a WebSocket session for the instance. The URL of the WebSocket session returned by the operation can be used to connect to the instance.
request
- StartTerminalSessionRequestException
public StopInstanceResponse stopInstanceWithOptions(StopInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
If you call the DescribeInstances operation to query the details of an instance and OperationLocks
in the response contains "LockReason": "security"
, the instance is locked for security reasons and cannot be stopped. For more information, see API behavior when an instance is locked for security reasons.
StoppedMode
to KeepCharging to switch to the standard mode. This allows an instance that is stopped in standard mode to retain its instance type resources and public IP address. However, you continue to be charged for the instance.Stops an Elastic Compute Service (ECS) instance in the Running state. After you call this operation, the state of the instance changes to Stopping and then to Stopped.
request
- StopInstanceRequestruntime
- runtime options for this request RuntimeOptionsException
public StopInstanceResponse stopInstance(StopInstanceRequest request) throws Exception
If you call the DescribeInstances operation to query the details of an instance and OperationLocks
in the response contains "LockReason": "security"
, the instance is locked for security reasons and cannot be stopped. For more information, see API behavior when an instance is locked for security reasons.
StoppedMode
to KeepCharging to switch to the standard mode. This allows an instance that is stopped in standard mode to retain its instance type resources and public IP address. However, you continue to be charged for the instance.Stops an Elastic Compute Service (ECS) instance in the Running state. After you call this operation, the state of the instance changes to Stopping and then to Stopped.
request
- StopInstanceRequestException
public StopInstancesResponse stopInstancesWithOptions(StopInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
{"OperationLocks": {"LockReason" : "security"}}
when you query the information of an instance, the instance is locked for security reasons. No operations are allowed on the instance.StoppedMode
to KeepCharging. This way, the pay-as-you-go instance continues to be billed after the instance is stopped. The instance type resources and public IP address of the instance are retained.BatchOptimization
to specify the batch operation mode.Stops one or more Elastic Compute Service (ECS) instances that are in the Running state. After the operation is called, the state of the instances changes to Stopping and then to Stopped.
request
- StopInstancesRequestruntime
- runtime options for this request RuntimeOptionsException
public StopInstancesResponse stopInstances(StopInstancesRequest request) throws Exception
{"OperationLocks": {"LockReason" : "security"}}
when you query the information of an instance, the instance is locked for security reasons. No operations are allowed on the instance.StoppedMode
to KeepCharging. This way, the pay-as-you-go instance continues to be billed after the instance is stopped. The instance type resources and public IP address of the instance are retained.BatchOptimization
to specify the batch operation mode.Stops one or more Elastic Compute Service (ECS) instances that are in the Running state. After the operation is called, the state of the instances changes to Stopping and then to Stopped.
request
- StopInstancesRequestException
public StopInvocationResponse stopInvocationWithOptions(StopInvocationRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
\* If you stop the process of a command that runs only once, the executions that have started are not interrupted. The executions that have not started are canceled. \* If you stop the process of a scheduled invocation command, the executions that have started are not interrupted. However, the execution does not start in the next period.
request
- StopInvocationRequestruntime
- runtime options for this request RuntimeOptionsException
public StopInvocationResponse stopInvocation(StopInvocationRequest request) throws Exception
\* If you stop the process of a command that runs only once, the executions that have started are not interrupted. The executions that have not started are canceled. \* If you stop the process of a scheduled invocation command, the executions that have started are not interrupted. However, the execution does not start in the next period.
request
- StopInvocationRequestException
public TagResourcesResponse tagResourcesWithOptions(TagResourcesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number of tags is reached, an error message is returned. For more information, see the "Tag limits" section in Limits.
summary :Creates and adds tags to specified Elastic Compute Service (ECS) resources.
request
- TagResourcesRequestruntime
- runtime options for this request RuntimeOptionsException
public TagResourcesResponse tagResources(TagResourcesRequest request) throws Exception
Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number of tags is reached, an error message is returned. For more information, see the "Tag limits" section in Limits.
summary :Creates and adds tags to specified Elastic Compute Service (ECS) resources.
request
- TagResourcesRequestException
@Deprecated public TerminatePhysicalConnectionResponse terminatePhysicalConnectionWithOptions(TerminatePhysicalConnectionRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- TerminatePhysicalConnectionRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public TerminatePhysicalConnectionResponse terminatePhysicalConnection(TerminatePhysicalConnectionRequest request) throws Exception
request
- TerminatePhysicalConnectionRequestException
@Deprecated public TerminateVirtualBorderRouterResponse terminateVirtualBorderRouterWithOptions(TerminateVirtualBorderRouterRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- TerminateVirtualBorderRouterRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public TerminateVirtualBorderRouterResponse terminateVirtualBorderRouter(TerminateVirtualBorderRouterRequest request) throws Exception
request
- TerminateVirtualBorderRouterRequestException
public UnassignIpv6AddressesResponse unassignIpv6AddressesWithOptions(UnassignIpv6AddressesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Take note of the following items:
Unassigns IPv6 addresses from an elastic network interface (ENI).
request
- UnassignIpv6AddressesRequestruntime
- runtime options for this request RuntimeOptionsException
public UnassignIpv6AddressesResponse unassignIpv6Addresses(UnassignIpv6AddressesRequest request) throws Exception
Take note of the following items:
Unassigns IPv6 addresses from an elastic network interface (ENI).
request
- UnassignIpv6AddressesRequestException
public UnassignPrivateIpAddressesResponse unassignPrivateIpAddressesWithOptions(UnassignPrivateIpAddressesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Unassigns secondary private IP addresses from an elastic network interface (ENI).
request
- UnassignPrivateIpAddressesRequestruntime
- runtime options for this request RuntimeOptionsException
public UnassignPrivateIpAddressesResponse unassignPrivateIpAddresses(UnassignPrivateIpAddressesRequest request) throws Exception
Unassigns secondary private IP addresses from an elastic network interface (ENI).
request
- UnassignPrivateIpAddressesRequestException
@Deprecated public UnassociateEipAddressResponse unassociateEipAddressWithOptions(UnassociateEipAddressRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- UnassociateEipAddressRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public UnassociateEipAddressResponse unassociateEipAddress(UnassociateEipAddressRequest request) throws Exception
request
- UnassociateEipAddressRequestException
@Deprecated public UnassociateHaVipResponse unassociateHaVipWithOptions(UnassociateHaVipRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- UnassociateHaVipRequestruntime
- runtime options for this request RuntimeOptionsException
@Deprecated public UnassociateHaVipResponse unassociateHaVip(UnassociateHaVipRequest request) throws Exception
request
- UnassociateHaVipRequestException
public UntagResourcesResponse untagResourcesWithOptions(UntagResourcesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Removes tags from Elastic Compute Service (ECS) resources. After a tag is removed from a resource, the tag is automatically deleted if it is not added to other resources.
request
- UntagResourcesRequestruntime
- runtime options for this request RuntimeOptionsException
public UntagResourcesResponse untagResources(UntagResourcesRequest request) throws Exception
Removes tags from Elastic Compute Service (ECS) resources. After a tag is removed from a resource, the tag is automatically deleted if it is not added to other resources.
request
- UntagResourcesRequestException
Copyright © 2024. All rights reserved.