@alicloud/ecs20140526 7.8.6 → 7.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +843 -846
- package/dist/client.js +872 -842
- package/dist/client.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventRequest.d.ts +3 -3
- package/dist/models/AssignIpv6addressesRequest.d.ts +7 -7
- package/dist/models/AssignIpv6addressesResponseBody.d.ts +1 -1
- package/dist/models/AssignPrivateIpAddressesRequest.d.ts +13 -16
- package/dist/models/AssignPrivateIpAddressesRequest.js.map +1 -1
- package/dist/models/AssignPrivateIpAddressesResponseBody.d.ts +2 -2
- package/dist/models/AttachNetworkInterfaceRequest.d.ts +6 -7
- package/dist/models/AttachNetworkInterfaceRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupEgressRequest.d.ts +73 -100
- package/dist/models/AuthorizeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupRequest.d.ts +70 -91
- package/dist/models/AuthorizeSecurityGroupRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupResponseBody.d.ts +1 -1
- package/dist/models/CancelImagePipelineExecutionRequest.d.ts +2 -2
- package/dist/models/CreateActivationRequest.d.ts +17 -16
- package/dist/models/CreateActivationRequest.js.map +1 -1
- package/dist/models/CreateActivationResponseBody.d.ts +3 -3
- package/dist/models/CreateCommandRequest.d.ts +52 -73
- package/dist/models/CreateCommandRequest.js.map +1 -1
- package/dist/models/CreateCommandResponseBody.d.ts +2 -2
- package/dist/models/CreateDiskRequest.d.ts +57 -59
- package/dist/models/CreateDiskRequest.js.map +1 -1
- package/dist/models/CreateDiskResponseBody.d.ts +3 -3
- package/dist/models/CreateHpcClusterRequest.d.ts +5 -5
- package/dist/models/CreateHpcClusterResponseBody.d.ts +2 -2
- package/dist/models/CreateImageComponentRequest.d.ts +7 -7
- package/dist/models/CreateImageComponentResponseBody.d.ts +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +184 -274
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreateInstanceResponseBody.d.ts +2 -2
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +215 -244
- package/dist/models/CreateLaunchTemplateVersionRequest.js.map +1 -1
- package/dist/models/CreateLaunchTemplateVersionResponseBody.d.ts +2 -2
- package/dist/models/CreateSecurityGroupRequest.d.ts +13 -16
- package/dist/models/CreateSecurityGroupRequest.js.map +1 -1
- package/dist/models/CreateSecurityGroupResponseBody.d.ts +1 -1
- package/dist/models/DeleteHpcClusterRequest.d.ts +2 -2
- package/dist/models/DeleteImagePipelineRequest.d.ts +1 -1
- package/dist/models/DescribeAutoProvisioningGroupInstancesRequest.d.ts +5 -5
- package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBody.d.ts +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyExRequest.d.ts +11 -11
- package/dist/models/DescribeAutoSnapshotPolicyExResponseBody.d.ts +3 -3
- package/dist/models/DescribeAvailableResourceRequest.d.ts +50 -84
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +0 -4
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +40 -40
- package/dist/models/DescribeDisksResponseBody.d.ts +3 -3
- package/dist/models/DescribeImageComponentsRequest.d.ts +3 -3
- package/dist/models/DescribeImageComponentsResponseBody.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +64 -96
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsRequest.d.ts +50 -85
- package/dist/models/DescribeInstanceHistoryEventsRequest.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +16 -18
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js +2 -0
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceTopologyResponseBody.d.ts +14 -0
- package/dist/models/DescribeInstanceTopologyResponseBody.js +28 -1
- package/dist/models/DescribeInstanceTopologyResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesRequest.d.ts +54 -68
- package/dist/models/DescribeInstancesRequest.js.map +1 -1
- package/dist/models/DescribeInstancesResponseBody.d.ts +5 -5
- package/dist/models/DescribeInvocationResultsRequest.d.ts +52 -69
- package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +6 -52
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +49 -76
- package/dist/models/DescribeInvocationsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +5 -5
- package/dist/models/DescribeLaunchTemplateVersionsRequest.d.ts +14 -14
- package/dist/models/DescribeLaunchTemplateVersionsResponseBody.d.ts +3 -3
- package/dist/models/DescribeNetworkInterfacePermissionsRequest.d.ts +4 -4
- package/dist/models/DescribePriceRequest.d.ts +158 -242
- package/dist/models/DescribePriceRequest.js.map +1 -1
- package/dist/models/DescribePriceResponseBody.d.ts +15 -15
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +45 -57
- package/dist/models/DescribeRecommendInstanceTypeRequest.js.map +1 -1
- package/dist/models/DescribeResourcesModificationRequest.d.ts +26 -37
- package/dist/models/DescribeResourcesModificationRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeRequest.d.ts +17 -28
- package/dist/models/DescribeSecurityGroupAttributeRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.d.ts +10 -9
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityGroupsRequest.d.ts +20 -20
- package/dist/models/DescribeSecurityGroupsResponseBody.d.ts +4 -4
- package/dist/models/DescribeSendFileResultsRequest.d.ts +21 -25
- package/dist/models/DescribeSendFileResultsRequest.js.map +1 -1
- package/dist/models/DescribeSendFileResultsResponseBody.d.ts +3 -3
- package/dist/models/DescribeSnapshotsRequest.d.ts +44 -59
- package/dist/models/DescribeSnapshotsRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +4 -8
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +22 -28
- package/dist/models/DescribeSpotPriceHistoryRequest.js.map +1 -1
- package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +7 -3
- package/dist/models/DescribeSpotPriceHistoryResponseBody.js.map +1 -1
- package/dist/models/DescribeTerminalSessionsRequest.d.ts +3 -3
- package/dist/models/DescribeTerminalSessionsResponseBody.d.ts +1 -1
- package/dist/models/DescribeZonesRequest.d.ts +18 -28
- package/dist/models/DescribeZonesRequest.js.map +1 -1
- package/dist/models/DescribeZonesResponseBody.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputRequest.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputResponseBody.d.ts +2 -2
- package/dist/models/ModifyHpcClusterAttributeRequest.d.ts +1 -1
- package/dist/models/ModifyInstanceAttributeRequest.d.ts +78 -106
- package/dist/models/ModifyInstanceAttributeRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkSpecRequest.d.ts +14 -14
- package/dist/models/ModifyInstanceNetworkSpecResponseBody.d.ts +1 -1
- package/dist/models/ModifyInstanceSpecRequest.d.ts +16 -16
- package/dist/models/ModifyPlanMaintenanceWindowRequest.d.ts +4 -4
- package/dist/models/ModifyPrepayInstanceSpecRequest.d.ts +28 -46
- package/dist/models/ModifyPrepayInstanceSpecRequest.js.map +1 -1
- package/dist/models/ModifyPrepayInstanceSpecResponseBody.d.ts +2 -2
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +47 -46
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +27 -24
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/ModifySystemEventAttributeRequest.d.ts +45 -0
- package/dist/models/ModifySystemEventAttributeRequest.js +64 -0
- package/dist/models/ModifySystemEventAttributeRequest.js.map +1 -0
- package/dist/models/ModifySystemEventAttributeResponse.d.ts +19 -0
- package/dist/models/ModifySystemEventAttributeResponse.js +69 -0
- package/dist/models/ModifySystemEventAttributeResponse.js.map +1 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.d.ts +18 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.js +58 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.js.map +1 -0
- package/dist/models/RenewElasticityAssurancesRequest.d.ts +28 -24
- package/dist/models/RenewElasticityAssurancesRequest.js.map +1 -1
- package/dist/models/RenewElasticityAssurancesResponseBody.d.ts +1 -1
- package/dist/models/RevokeSecurityGroupEgressRequest.d.ts +35 -37
- package/dist/models/RevokeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/RevokeSecurityGroupRequest.d.ts +71 -89
- package/dist/models/RevokeSecurityGroupRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionRequest.d.ts +24 -32
- package/dist/models/StartTerminalSessionRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionResponseBody.d.ts +2 -2
- package/dist/models/StartTerminalSessionShrinkRequest.d.ts +16 -18
- package/dist/models/StartTerminalSessionShrinkRequest.js.map +1 -1
- package/dist/models/StopInstanceRequest.d.ts +20 -27
- package/dist/models/StopInstanceRequest.js.map +1 -1
- package/dist/models/StopInstancesRequest.d.ts +24 -35
- package/dist/models/StopInstancesRequest.js.map +1 -1
- package/dist/models/UnassignIpv6addressesRequest.d.ts +3 -3
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +45 -37
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +878 -842
- package/src/models/AcceptInquiredSystemEventRequest.ts +3 -3
- package/src/models/AssignIpv6addressesRequest.ts +7 -7
- package/src/models/AssignIpv6addressesResponseBody.ts +1 -1
- package/src/models/AssignPrivateIpAddressesRequest.ts +13 -16
- package/src/models/AssignPrivateIpAddressesResponseBody.ts +2 -2
- package/src/models/AttachNetworkInterfaceRequest.ts +6 -7
- package/src/models/AuthorizeSecurityGroupEgressRequest.ts +79 -106
- package/src/models/AuthorizeSecurityGroupRequest.ts +70 -91
- package/src/models/AuthorizeSecurityGroupResponseBody.ts +1 -1
- package/src/models/CancelImagePipelineExecutionRequest.ts +2 -2
- package/src/models/CreateActivationRequest.ts +17 -16
- package/src/models/CreateActivationResponseBody.ts +3 -3
- package/src/models/CreateCommandRequest.ts +52 -73
- package/src/models/CreateCommandResponseBody.ts +2 -2
- package/src/models/CreateDiskRequest.ts +57 -59
- package/src/models/CreateDiskResponseBody.ts +3 -3
- package/src/models/CreateHpcClusterRequest.ts +5 -5
- package/src/models/CreateHpcClusterResponseBody.ts +2 -2
- package/src/models/CreateImageComponentRequest.ts +7 -7
- package/src/models/CreateImageComponentResponseBody.ts +1 -1
- package/src/models/CreateInstanceRequest.ts +185 -275
- package/src/models/CreateInstanceResponseBody.ts +2 -2
- package/src/models/CreateLaunchTemplateVersionRequest.ts +215 -244
- package/src/models/CreateLaunchTemplateVersionResponseBody.ts +2 -2
- package/src/models/CreateSecurityGroupRequest.ts +13 -16
- package/src/models/CreateSecurityGroupResponseBody.ts +1 -1
- package/src/models/DeleteHpcClusterRequest.ts +2 -2
- package/src/models/DeleteImagePipelineRequest.ts +1 -1
- package/src/models/DescribeAutoProvisioningGroupInstancesRequest.ts +5 -5
- package/src/models/DescribeAutoProvisioningGroupInstancesResponseBody.ts +1 -1
- package/src/models/DescribeAutoSnapshotPolicyExRequest.ts +11 -11
- package/src/models/DescribeAutoSnapshotPolicyExResponseBody.ts +3 -3
- package/src/models/DescribeAvailableResourceRequest.ts +62 -96
- package/src/models/DescribeAvailableResourceResponseBody.ts +0 -4
- package/src/models/DescribeDisksRequest.ts +40 -40
- package/src/models/DescribeDisksResponseBody.ts +3 -3
- package/src/models/DescribeImageComponentsRequest.ts +3 -3
- package/src/models/DescribeImageComponentsResponseBody.ts +1 -1
- package/src/models/DescribeInstanceAttributeRequest.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBody.ts +66 -98
- package/src/models/DescribeInstanceHistoryEventsRequest.ts +50 -85
- package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +18 -18
- package/src/models/DescribeInstanceTopologyResponseBody.ts +32 -0
- package/src/models/DescribeInstancesRequest.ts +57 -71
- package/src/models/DescribeInstancesResponseBody.ts +5 -5
- package/src/models/DescribeInvocationResultsRequest.ts +52 -69
- package/src/models/DescribeInvocationResultsResponseBody.ts +6 -52
- package/src/models/DescribeInvocationsRequest.ts +50 -77
- package/src/models/DescribeInvocationsResponseBody.ts +5 -5
- package/src/models/DescribeLaunchTemplateVersionsRequest.ts +14 -14
- package/src/models/DescribeLaunchTemplateVersionsResponseBody.ts +3 -3
- package/src/models/DescribeNetworkInterfacePermissionsRequest.ts +4 -4
- package/src/models/DescribePriceRequest.ts +160 -244
- package/src/models/DescribePriceResponseBody.ts +15 -15
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +45 -57
- package/src/models/DescribeResourcesModificationRequest.ts +30 -41
- package/src/models/DescribeSecurityGroupAttributeRequest.ts +18 -29
- package/src/models/DescribeSecurityGroupAttributeResponseBody.ts +11 -10
- package/src/models/DescribeSecurityGroupsRequest.ts +21 -21
- package/src/models/DescribeSecurityGroupsResponseBody.ts +4 -4
- package/src/models/DescribeSendFileResultsRequest.ts +21 -25
- package/src/models/DescribeSendFileResultsResponseBody.ts +3 -3
- package/src/models/DescribeSnapshotsRequest.ts +48 -63
- package/src/models/DescribeSnapshotsResponseBody.ts +4 -8
- package/src/models/DescribeSpotPriceHistoryRequest.ts +22 -28
- package/src/models/DescribeSpotPriceHistoryResponseBody.ts +7 -3
- package/src/models/DescribeTerminalSessionsRequest.ts +3 -3
- package/src/models/DescribeTerminalSessionsResponseBody.ts +1 -1
- package/src/models/DescribeZonesRequest.ts +20 -30
- package/src/models/DescribeZonesResponseBody.ts +1 -1
- package/src/models/GetInstanceConsoleOutputRequest.ts +1 -1
- package/src/models/GetInstanceConsoleOutputResponseBody.ts +2 -2
- package/src/models/ModifyHpcClusterAttributeRequest.ts +1 -1
- package/src/models/ModifyInstanceAttributeRequest.ts +80 -108
- package/src/models/ModifyInstanceNetworkSpecRequest.ts +14 -14
- package/src/models/ModifyInstanceNetworkSpecResponseBody.ts +1 -1
- package/src/models/ModifyInstanceSpecRequest.ts +16 -16
- package/src/models/ModifyPlanMaintenanceWindowRequest.ts +4 -4
- package/src/models/ModifyPrepayInstanceSpecRequest.ts +28 -46
- package/src/models/ModifyPrepayInstanceSpecResponseBody.ts +2 -2
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +47 -46
- package/src/models/ModifySecurityGroupRuleRequest.ts +27 -24
- package/src/models/ModifySystemEventAttributeRequest.ts +64 -0
- package/src/models/ModifySystemEventAttributeResponse.ts +40 -0
- package/src/models/ModifySystemEventAttributeResponseBody.ts +31 -0
- package/src/models/RenewElasticityAssurancesRequest.ts +28 -24
- package/src/models/RenewElasticityAssurancesResponseBody.ts +1 -1
- package/src/models/RevokeSecurityGroupEgressRequest.ts +35 -37
- package/src/models/RevokeSecurityGroupRequest.ts +75 -93
- package/src/models/StartTerminalSessionRequest.ts +24 -32
- package/src/models/StartTerminalSessionResponseBody.ts +2 -2
- package/src/models/StartTerminalSessionShrinkRequest.ts +16 -18
- package/src/models/StopInstanceRequest.ts +21 -28
- package/src/models/StopInstancesRequest.ts +25 -36
- package/src/models/UnassignIpv6addressesRequest.ts +3 -3
- package/src/models/model.ts +4 -0
package/src/client.ts
CHANGED
|
@@ -105,7 +105,7 @@ export default class Client extends OpenApi {
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Accepts and authorizes the execution of a system event operation. For system events in the Inquiring state, this operation accepts the default action of the system event and authorizes the system to execute the default action.
|
|
109
109
|
*
|
|
110
110
|
* @param request - AcceptInquiredSystemEventRequest
|
|
111
111
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -164,7 +164,7 @@ export default class Client extends OpenApi {
|
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
167
|
+
* Accepts and authorizes the execution of a system event operation. For system events in the Inquiring state, this operation accepts the default action of the system event and authorizes the system to execute the default action.
|
|
168
168
|
*
|
|
169
169
|
* @param request - AcceptInquiredSystemEventRequest
|
|
170
170
|
* @returns AcceptInquiredSystemEventResponse
|
|
@@ -806,9 +806,9 @@ export default class Client extends OpenApi {
|
|
|
806
806
|
* You can specify IPv6 addresses from the CIDR block of the vSwitch to which the Elastic Network Interface (ENI) belongs, or specify the number of IPv6 addresses for automatic creation. Note the following items:
|
|
807
807
|
* - The vSwitch to which the ENI belongs must have IPv6 enabled. For more information, see [Enable an IPv6 CIDR block for an existing vSwitch](https://help.aliyun.com/document_detail/98923.html).
|
|
808
808
|
* - The ENI must be in the Active (Available) or InUse state.
|
|
809
|
-
* - When you operate
|
|
810
|
-
* - The number of IPv6 addresses that can be allocated to a single
|
|
811
|
-
* - If the ENI is in the Active (Available) state, up to 10 IPv6 addresses
|
|
809
|
+
* - When you operate a primary ENI, the instance to which the network interface controller (NIC) is attached must be in the Running or Stopped state.
|
|
810
|
+
* - The number of IPv6 addresses that can be allocated to a single network interface controller (NIC) depends on the instance type of the instance to which the ENI is attached.
|
|
811
|
+
* - If the ENI is in the Active (Available) state, you can allocate up to 10 IPv6 addresses to it.
|
|
812
812
|
* - If the ENI is attached to an instance, the number of IPv6 addresses that can be allocated is limited by the instance type. For more information, see [Instance family](https://help.aliyun.com/document_detail/25378.html).
|
|
813
813
|
* - After you successfully invoke this operation, you can obtain the allocated IPv6 address information from the response.
|
|
814
814
|
*
|
|
@@ -892,9 +892,9 @@ export default class Client extends OpenApi {
|
|
|
892
892
|
* You can specify IPv6 addresses from the CIDR block of the vSwitch to which the Elastic Network Interface (ENI) belongs, or specify the number of IPv6 addresses for automatic creation. Note the following items:
|
|
893
893
|
* - The vSwitch to which the ENI belongs must have IPv6 enabled. For more information, see [Enable an IPv6 CIDR block for an existing vSwitch](https://help.aliyun.com/document_detail/98923.html).
|
|
894
894
|
* - The ENI must be in the Active (Available) or InUse state.
|
|
895
|
-
* - When you operate
|
|
896
|
-
* - The number of IPv6 addresses that can be allocated to a single
|
|
897
|
-
* - If the ENI is in the Active (Available) state, up to 10 IPv6 addresses
|
|
895
|
+
* - When you operate a primary ENI, the instance to which the network interface controller (NIC) is attached must be in the Running or Stopped state.
|
|
896
|
+
* - The number of IPv6 addresses that can be allocated to a single network interface controller (NIC) depends on the instance type of the instance to which the ENI is attached.
|
|
897
|
+
* - If the ENI is in the Active (Available) state, you can allocate up to 10 IPv6 addresses to it.
|
|
898
898
|
* - If the ENI is attached to an instance, the number of IPv6 addresses that can be allocated is limited by the instance type. For more information, see [Instance family](https://help.aliyun.com/document_detail/25378.html).
|
|
899
899
|
* - After you successfully invoke this operation, you can obtain the allocated IPv6 address information from the response.
|
|
900
900
|
*
|
|
@@ -907,14 +907,14 @@ export default class Client extends OpenApi {
|
|
|
907
907
|
}
|
|
908
908
|
|
|
909
909
|
/**
|
|
910
|
-
*
|
|
910
|
+
* Allocates one or more secondary private IP addresses to an Elastic Network Interface (ENI). You can specify available private IP addresses from the vSwitch to which the ENI belongs, or automatically allocate private IP addresses by specifying the number of private endpoint addresses.
|
|
911
911
|
*
|
|
912
912
|
* @remarks
|
|
913
|
-
* ##
|
|
914
|
-
* -
|
|
915
|
-
* - When you
|
|
916
|
-
* - When an ENI is in the Available state, you can
|
|
917
|
-
* - After
|
|
913
|
+
* ## Operation description
|
|
914
|
+
* - Only ENIs in the Available or InUse state are supported.
|
|
915
|
+
* - When you operate a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
916
|
+
* - When an ENI is in the Available state, you can allocate up to 49 secondary private IP addresses to it. After the ENI is attached to an instance, the number of secondary private IP addresses that can be allocated is limited by the instance type. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
917
|
+
* - After you call this operation, you can obtain the allocated secondary private IP address information from the response.
|
|
918
918
|
*
|
|
919
919
|
* @param request - AssignPrivateIpAddressesRequest
|
|
920
920
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -989,14 +989,14 @@ export default class Client extends OpenApi {
|
|
|
989
989
|
}
|
|
990
990
|
|
|
991
991
|
/**
|
|
992
|
-
*
|
|
992
|
+
* Allocates one or more secondary private IP addresses to an Elastic Network Interface (ENI). You can specify available private IP addresses from the vSwitch to which the ENI belongs, or automatically allocate private IP addresses by specifying the number of private endpoint addresses.
|
|
993
993
|
*
|
|
994
994
|
* @remarks
|
|
995
|
-
* ##
|
|
996
|
-
* -
|
|
997
|
-
* - When you
|
|
998
|
-
* - When an ENI is in the Available state, you can
|
|
999
|
-
* - After
|
|
995
|
+
* ## Operation description
|
|
996
|
+
* - Only ENIs in the Available or InUse state are supported.
|
|
997
|
+
* - When you operate a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
998
|
+
* - When an ENI is in the Available state, you can allocate up to 49 secondary private IP addresses to it. After the ENI is attached to an instance, the number of secondary private IP addresses that can be allocated is limited by the instance type. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
999
|
+
* - After you call this operation, you can obtain the allocated secondary private IP address information from the response.
|
|
1000
1000
|
*
|
|
1001
1001
|
* @param request - AssignPrivateIpAddressesRequest
|
|
1002
1002
|
* @returns AssignPrivateIpAddressesResponse
|
|
@@ -1503,21 +1503,22 @@ export default class Client extends OpenApi {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
|
|
1505
1505
|
/**
|
|
1506
|
-
*
|
|
1506
|
+
* Calls the AttachNetworkInterface operation to attach an Elastic Network Interface (ENI) to a VPC-connected ECS instance. You can specify parameters such as NetworkInterfaceId, InstanceId, and NetworkCardIndex.
|
|
1507
1507
|
*
|
|
1508
1508
|
* @remarks
|
|
1509
|
-
*
|
|
1510
|
-
* - The ENI must be in the **
|
|
1511
|
-
* - The instance must be in the Running or Stopped state.
|
|
1512
|
-
*
|
|
1513
|
-
* -
|
|
1514
|
-
*
|
|
1515
|
-
* -
|
|
1516
|
-
*
|
|
1517
|
-
*
|
|
1518
|
-
*
|
|
1519
|
-
*
|
|
1520
|
-
*
|
|
1509
|
+
* When you call this operation, take note of the following items:
|
|
1510
|
+
* - The Elastic Network Interface (ENI) must be in the **active** (`Available`) state. An ENI can be attached to only one instance that resides in the same zone and VPC as the network interface controller (NIC).
|
|
1511
|
+
* - The ECS instance must be in the Running or Stopped state. Some ECS instance types require the ECS instance to be in the Stopped state when you attach an Elastic Network Interface (ENI). For more information, see the section about ECS instance types that require the ECS instance to be stopped in [Attach an ENI](https://help.aliyun.com/document_detail/58503.html).
|
|
1512
|
+
* > If the instance was last started before April 1, 2018 (including but not limited to starting a newly purchased instance, restarting, or powering on), you must invoke RebootInstance to restart the instance that has been in the Running state. Otherwise, the network interface controller (NIC) cannot be attached.
|
|
1513
|
+
* - Multiple Elastic Network Interfaces (ENIs) can be attached to a single instance at the same time. For more information, see [ENI overview](https://help.aliyun.com/document_detail/58496.html).
|
|
1514
|
+
*
|
|
1515
|
+
* - The vSwitch to which the network interface controller (NIC) belongs must be in the same zone and VPC as the instance.
|
|
1516
|
+
* - This is an asynchronous operation. After a successful invocation, you can check the Elastic Network Interface (ENI) status or listen for network interface controller (NIC) operation events to obtain the result. The ENI state machine is shown in the following figure:
|
|
1517
|
+
* 
|
|
1518
|
+
* - Attaching indicates that the request to attach the ENI was sent successfully and the ENI is being attached to the ECS instance.
|
|
1519
|
+
* - InUse indicates that the ENI has been attached to the ECS instance.
|
|
1520
|
+
* - Available indicates that the ENI failed to be attached to the ECS instance.
|
|
1521
|
+
* **For details, see** [Attach a network interface controller (NIC)](https://help.aliyun.com/document_detail/471550.html).
|
|
1521
1522
|
*
|
|
1522
1523
|
* @param request - AttachNetworkInterfaceRequest
|
|
1523
1524
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1588,21 +1589,22 @@ export default class Client extends OpenApi {
|
|
|
1588
1589
|
}
|
|
1589
1590
|
|
|
1590
1591
|
/**
|
|
1591
|
-
*
|
|
1592
|
+
* Calls the AttachNetworkInterface operation to attach an Elastic Network Interface (ENI) to a VPC-connected ECS instance. You can specify parameters such as NetworkInterfaceId, InstanceId, and NetworkCardIndex.
|
|
1592
1593
|
*
|
|
1593
1594
|
* @remarks
|
|
1594
|
-
*
|
|
1595
|
-
* - The ENI must be in the **
|
|
1596
|
-
* - The instance must be in the Running or Stopped state.
|
|
1597
|
-
*
|
|
1598
|
-
* -
|
|
1599
|
-
*
|
|
1600
|
-
* -
|
|
1601
|
-
*
|
|
1602
|
-
*
|
|
1603
|
-
*
|
|
1604
|
-
*
|
|
1605
|
-
*
|
|
1595
|
+
* When you call this operation, take note of the following items:
|
|
1596
|
+
* - The Elastic Network Interface (ENI) must be in the **active** (`Available`) state. An ENI can be attached to only one instance that resides in the same zone and VPC as the network interface controller (NIC).
|
|
1597
|
+
* - The ECS instance must be in the Running or Stopped state. Some ECS instance types require the ECS instance to be in the Stopped state when you attach an Elastic Network Interface (ENI). For more information, see the section about ECS instance types that require the ECS instance to be stopped in [Attach an ENI](https://help.aliyun.com/document_detail/58503.html).
|
|
1598
|
+
* > If the instance was last started before April 1, 2018 (including but not limited to starting a newly purchased instance, restarting, or powering on), you must invoke RebootInstance to restart the instance that has been in the Running state. Otherwise, the network interface controller (NIC) cannot be attached.
|
|
1599
|
+
* - Multiple Elastic Network Interfaces (ENIs) can be attached to a single instance at the same time. For more information, see [ENI overview](https://help.aliyun.com/document_detail/58496.html).
|
|
1600
|
+
*
|
|
1601
|
+
* - The vSwitch to which the network interface controller (NIC) belongs must be in the same zone and VPC as the instance.
|
|
1602
|
+
* - This is an asynchronous operation. After a successful invocation, you can check the Elastic Network Interface (ENI) status or listen for network interface controller (NIC) operation events to obtain the result. The ENI state machine is shown in the following figure:
|
|
1603
|
+
* 
|
|
1604
|
+
* - Attaching indicates that the request to attach the ENI was sent successfully and the ENI is being attached to the ECS instance.
|
|
1605
|
+
* - InUse indicates that the ENI has been attached to the ECS instance.
|
|
1606
|
+
* - Available indicates that the ENI failed to be attached to the ECS instance.
|
|
1607
|
+
* **For details, see** [Attach a network interface controller (NIC)](https://help.aliyun.com/document_detail/471550.html).
|
|
1606
1608
|
*
|
|
1607
1609
|
* @param request - AttachNetworkInterfaceRequest
|
|
1608
1610
|
* @returns AttachNetworkInterfaceResponse
|
|
@@ -1613,54 +1615,54 @@ export default class Client extends OpenApi {
|
|
|
1613
1615
|
}
|
|
1614
1616
|
|
|
1615
1617
|
/**
|
|
1616
|
-
*
|
|
1618
|
+
* Adds one or more inbound rules to a security group. You can use this operation to specify inbound access permissions for a security group, allowing or denying other devices from sending inbound traffic to instances in the security group, which enables fine-grained network access control.
|
|
1617
1619
|
*
|
|
1618
1620
|
* @remarks
|
|
1619
|
-
* ###
|
|
1620
|
-
* -
|
|
1621
|
-
* -
|
|
1622
|
-
* ###
|
|
1623
|
-
*
|
|
1624
|
-
* ###
|
|
1625
|
-
*
|
|
1626
|
-
* -
|
|
1627
|
-
* -
|
|
1628
|
-
* -
|
|
1629
|
-
* -
|
|
1630
|
-
* >
|
|
1631
|
-
* ###
|
|
1632
|
-
*
|
|
1633
|
-
*
|
|
1634
|
-
*
|
|
1635
|
-
*
|
|
1636
|
-
*
|
|
1637
|
-
*
|
|
1638
|
-
*
|
|
1639
|
-
*
|
|
1640
|
-
*
|
|
1641
|
-
*
|
|
1642
|
-
*
|
|
1643
|
-
*
|
|
1644
|
-
*
|
|
1645
|
-
*
|
|
1646
|
-
*
|
|
1647
|
-
*
|
|
1648
|
-
*
|
|
1649
|
-
*
|
|
1650
|
-
*
|
|
1651
|
-
*
|
|
1652
|
-
*
|
|
1653
|
-
*
|
|
1654
|
-
*
|
|
1655
|
-
*
|
|
1656
|
-
*
|
|
1657
|
-
*
|
|
1658
|
-
*
|
|
1659
|
-
*
|
|
1660
|
-
*
|
|
1661
|
-
*
|
|
1662
|
-
*
|
|
1663
|
-
*
|
|
1621
|
+
* ### Before you begin
|
|
1622
|
+
* - **Quantity limit:** The total number of security group rules (including inbound rules and outbound rules) across all security groups associated with a single network interface controller (NIC) cannot exceed 1,000. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
1623
|
+
* - **Priority settings:** The priority (Priority) of inbound security group rules ranges from 1 to 100. A smaller number indicates a higher priority. If two security group rules have the same priority, the deny (drop) rule takes precedence. Access is denied first.
|
|
1624
|
+
* ### Notes
|
|
1625
|
+
* If the specified security group rule already exists, the call succeeds but no rule is added.
|
|
1626
|
+
* ### How to determine a rule
|
|
1627
|
+
* The following parameters are required to determine an inbound security group rule:
|
|
1628
|
+
* - Source settings: Specify one of the following: SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcePrefixListId (prefix list ID), or SourceGroupId (source security group).
|
|
1629
|
+
* - Destination port range: PortRange.
|
|
1630
|
+
* - Protocol type: IpProtocol.
|
|
1631
|
+
* - Access policy: Policy.
|
|
1632
|
+
* > Advanced security groups do not support authorization for access from other security groups. Basic security groups support a maximum of 20 authorized security groups.
|
|
1633
|
+
* ### Request examples
|
|
1634
|
+
* The following examples show how to add inbound rules with different sources to a security group in the China (Hangzhou) region:
|
|
1635
|
+
* - Add access permissions for a specified IP address range.
|
|
1636
|
+
* ```
|
|
1637
|
+
* "RegionId":"cn-hangzhou", // Specify the region.
|
|
1638
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group.
|
|
1639
|
+
* "Permissions":[
|
|
1640
|
+
* {
|
|
1641
|
+
* "SourceCidrIp":"10.0.0.0/8", // Specify the source IPv4 address.
|
|
1642
|
+
* "PortRange":"22/22", // Specify the port range.
|
|
1643
|
+
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
1644
|
+
* "Policy":"Accept" // Specify the access policy.
|
|
1645
|
+
* }
|
|
1646
|
+
* ]
|
|
1647
|
+
* ```
|
|
1648
|
+
* - Add access permissions for another security group and a prefix list.
|
|
1649
|
+
* ```
|
|
1650
|
+
* "RegionId":"cn-hangzhou",
|
|
1651
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
1652
|
+
* "Permissions":[
|
|
1653
|
+
* {
|
|
1654
|
+
* "SourceGroupId":"sg-bp17vs63txqxbd****", // Specify the source security group.
|
|
1655
|
+
* "PortRange":"22/22",
|
|
1656
|
+
* "IpProtocol":"TCP",
|
|
1657
|
+
* "Policy":"Drop"
|
|
1658
|
+
* },{
|
|
1659
|
+
* "SourcePrefixListId":"pl-x1j1k5ykzqlixdcy****", // Specify the source prefix list.
|
|
1660
|
+
* "PortRange":"22/22",
|
|
1661
|
+
* "IpProtocol":"TCP",
|
|
1662
|
+
* "Policy":"Drop"
|
|
1663
|
+
* }
|
|
1664
|
+
* ]
|
|
1665
|
+
* ```
|
|
1664
1666
|
*
|
|
1665
1667
|
* @param request - AuthorizeSecurityGroupRequest
|
|
1666
1668
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1795,54 +1797,54 @@ export default class Client extends OpenApi {
|
|
|
1795
1797
|
}
|
|
1796
1798
|
|
|
1797
1799
|
/**
|
|
1798
|
-
*
|
|
1800
|
+
* Adds one or more inbound rules to a security group. You can use this operation to specify inbound access permissions for a security group, allowing or denying other devices from sending inbound traffic to instances in the security group, which enables fine-grained network access control.
|
|
1799
1801
|
*
|
|
1800
1802
|
* @remarks
|
|
1801
|
-
* ###
|
|
1802
|
-
* -
|
|
1803
|
-
* -
|
|
1804
|
-
* ###
|
|
1805
|
-
*
|
|
1806
|
-
* ###
|
|
1807
|
-
*
|
|
1808
|
-
* -
|
|
1809
|
-
* -
|
|
1810
|
-
* -
|
|
1811
|
-
* -
|
|
1812
|
-
* >
|
|
1813
|
-
* ###
|
|
1814
|
-
*
|
|
1815
|
-
*
|
|
1816
|
-
*
|
|
1817
|
-
*
|
|
1818
|
-
*
|
|
1819
|
-
*
|
|
1820
|
-
*
|
|
1821
|
-
*
|
|
1822
|
-
*
|
|
1823
|
-
*
|
|
1824
|
-
*
|
|
1825
|
-
*
|
|
1826
|
-
*
|
|
1827
|
-
*
|
|
1828
|
-
*
|
|
1829
|
-
*
|
|
1830
|
-
*
|
|
1831
|
-
*
|
|
1832
|
-
*
|
|
1833
|
-
*
|
|
1834
|
-
*
|
|
1835
|
-
*
|
|
1836
|
-
*
|
|
1837
|
-
*
|
|
1838
|
-
*
|
|
1839
|
-
*
|
|
1840
|
-
*
|
|
1841
|
-
*
|
|
1842
|
-
*
|
|
1843
|
-
*
|
|
1844
|
-
*
|
|
1845
|
-
*
|
|
1803
|
+
* ### Before you begin
|
|
1804
|
+
* - **Quantity limit:** The total number of security group rules (including inbound rules and outbound rules) across all security groups associated with a single network interface controller (NIC) cannot exceed 1,000. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
1805
|
+
* - **Priority settings:** The priority (Priority) of inbound security group rules ranges from 1 to 100. A smaller number indicates a higher priority. If two security group rules have the same priority, the deny (drop) rule takes precedence. Access is denied first.
|
|
1806
|
+
* ### Notes
|
|
1807
|
+
* If the specified security group rule already exists, the call succeeds but no rule is added.
|
|
1808
|
+
* ### How to determine a rule
|
|
1809
|
+
* The following parameters are required to determine an inbound security group rule:
|
|
1810
|
+
* - Source settings: Specify one of the following: SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcePrefixListId (prefix list ID), or SourceGroupId (source security group).
|
|
1811
|
+
* - Destination port range: PortRange.
|
|
1812
|
+
* - Protocol type: IpProtocol.
|
|
1813
|
+
* - Access policy: Policy.
|
|
1814
|
+
* > Advanced security groups do not support authorization for access from other security groups. Basic security groups support a maximum of 20 authorized security groups.
|
|
1815
|
+
* ### Request examples
|
|
1816
|
+
* The following examples show how to add inbound rules with different sources to a security group in the China (Hangzhou) region:
|
|
1817
|
+
* - Add access permissions for a specified IP address range.
|
|
1818
|
+
* ```
|
|
1819
|
+
* "RegionId":"cn-hangzhou", // Specify the region.
|
|
1820
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group.
|
|
1821
|
+
* "Permissions":[
|
|
1822
|
+
* {
|
|
1823
|
+
* "SourceCidrIp":"10.0.0.0/8", // Specify the source IPv4 address.
|
|
1824
|
+
* "PortRange":"22/22", // Specify the port range.
|
|
1825
|
+
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
1826
|
+
* "Policy":"Accept" // Specify the access policy.
|
|
1827
|
+
* }
|
|
1828
|
+
* ]
|
|
1829
|
+
* ```
|
|
1830
|
+
* - Add access permissions for another security group and a prefix list.
|
|
1831
|
+
* ```
|
|
1832
|
+
* "RegionId":"cn-hangzhou",
|
|
1833
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
1834
|
+
* "Permissions":[
|
|
1835
|
+
* {
|
|
1836
|
+
* "SourceGroupId":"sg-bp17vs63txqxbd****", // Specify the source security group.
|
|
1837
|
+
* "PortRange":"22/22",
|
|
1838
|
+
* "IpProtocol":"TCP",
|
|
1839
|
+
* "Policy":"Drop"
|
|
1840
|
+
* },{
|
|
1841
|
+
* "SourcePrefixListId":"pl-x1j1k5ykzqlixdcy****", // Specify the source prefix list.
|
|
1842
|
+
* "PortRange":"22/22",
|
|
1843
|
+
* "IpProtocol":"TCP",
|
|
1844
|
+
* "Policy":"Drop"
|
|
1845
|
+
* }
|
|
1846
|
+
* ]
|
|
1847
|
+
* ```
|
|
1846
1848
|
*
|
|
1847
1849
|
* @param request - AuthorizeSecurityGroupRequest
|
|
1848
1850
|
* @returns AuthorizeSecurityGroupResponse
|
|
@@ -1853,54 +1855,54 @@ export default class Client extends OpenApi {
|
|
|
1853
1855
|
}
|
|
1854
1856
|
|
|
1855
1857
|
/**
|
|
1856
|
-
*
|
|
1858
|
+
* Adds one or more outbound rules to a security group. You can use this operation to specify outbound access permissions for a security group, allowing or denying instances in the security group from sending outbound traffic to other devices, which enables fine-grained network access control.
|
|
1857
1859
|
*
|
|
1858
1860
|
* @remarks
|
|
1859
|
-
* ###
|
|
1860
|
-
* -
|
|
1861
|
-
* -
|
|
1862
|
-
* ###
|
|
1863
|
-
*
|
|
1864
|
-
* ###
|
|
1865
|
-
*
|
|
1866
|
-
* -
|
|
1867
|
-
* -
|
|
1868
|
-
* -
|
|
1869
|
-
* -
|
|
1870
|
-
* >
|
|
1871
|
-
* ###
|
|
1872
|
-
*
|
|
1873
|
-
*
|
|
1874
|
-
*
|
|
1875
|
-
*
|
|
1876
|
-
*
|
|
1877
|
-
*
|
|
1878
|
-
*
|
|
1879
|
-
*
|
|
1880
|
-
*
|
|
1881
|
-
*
|
|
1882
|
-
*
|
|
1883
|
-
*
|
|
1884
|
-
*
|
|
1885
|
-
*
|
|
1886
|
-
*
|
|
1887
|
-
*
|
|
1888
|
-
*
|
|
1889
|
-
*
|
|
1890
|
-
*
|
|
1891
|
-
*
|
|
1892
|
-
*
|
|
1893
|
-
*
|
|
1894
|
-
*
|
|
1895
|
-
*
|
|
1896
|
-
*
|
|
1897
|
-
*
|
|
1898
|
-
*
|
|
1899
|
-
*
|
|
1900
|
-
*
|
|
1901
|
-
*
|
|
1902
|
-
*
|
|
1903
|
-
*
|
|
1861
|
+
* ### Before you begin
|
|
1862
|
+
* - **Quantity limit:** The total number of rules (including both inbound rules and outbound rules) across all security groups associated with a single network interface controller (NIC) cannot exceed 1,000. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
1863
|
+
* - **Priority settings:** The priority (Priority) of outbound security group rules ranges from 1 to 100. A smaller number indicates a higher priority. If two security group rules have the same priority, the deny (drop) rule takes precedence.
|
|
1864
|
+
* ### Notes
|
|
1865
|
+
* If the specified security group rule already exists, the call succeeds but no rule is added.
|
|
1866
|
+
* ### How to determine a rule
|
|
1867
|
+
* The following parameters are required to determine an outbound rule:
|
|
1868
|
+
* - Destination settings: Specify one of the following: DestCidrIp (IPv4 address), Ipv6DestCidrIp (IPv6 address), DestPrefixListId (prefix list ID), or DestGroupId (destination security group).
|
|
1869
|
+
* - Destination port range: PortRange.
|
|
1870
|
+
* - Protocol type: IpProtocol.
|
|
1871
|
+
* - Access policy: Policy.
|
|
1872
|
+
* > Advanced security groups do not support authorization of other security groups for access. Custom security groups support a maximum of 20 authorized security groups.
|
|
1873
|
+
* ### Request examples
|
|
1874
|
+
* The following examples show how to add outbound rules with different destinations to a security group in the China (Hangzhou) region:
|
|
1875
|
+
* - Add access permissions for a specified IP address range.
|
|
1876
|
+
* ```
|
|
1877
|
+
* "RegionId":"ap-southeast-1", // Specify the region.
|
|
1878
|
+
* "SecurityGroupId":"sg-bp17vs63txqxbds9***", // Specify the security group.
|
|
1879
|
+
* "Permissions":[
|
|
1880
|
+
* {
|
|
1881
|
+
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IPv4 address.
|
|
1882
|
+
* "PortRange":"-1/-1", // Specify the port range.
|
|
1883
|
+
* "IpProtocol":"ICMP", // Specify the protocol type.
|
|
1884
|
+
* "Policy":"Accept" // Specify the access policy.
|
|
1885
|
+
* }
|
|
1886
|
+
* ]
|
|
1887
|
+
* ```
|
|
1888
|
+
* - Add access permissions for another security group and a prefix list.
|
|
1889
|
+
* ```
|
|
1890
|
+
* "RegionId":"ap-southeast-1",
|
|
1891
|
+
* "SecurityGroupId":"sg-bp17vs63txqxbds9***",
|
|
1892
|
+
* "Permissions":[
|
|
1893
|
+
* {
|
|
1894
|
+
* "DestGroupId":"sg-bp67acfmxazb4pi***", // Specify the destination security group.
|
|
1895
|
+
* "PortRange":"22/22",
|
|
1896
|
+
* "IpProtocol":"TCP",
|
|
1897
|
+
* "Policy":"Drop"
|
|
1898
|
+
* },{
|
|
1899
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", // Specify the destination prefix list.
|
|
1900
|
+
* "PortRange":"22/22",
|
|
1901
|
+
* "IpProtocol":"TCP",
|
|
1902
|
+
* "Policy":"Drop"
|
|
1903
|
+
* }
|
|
1904
|
+
* ]
|
|
1905
|
+
* ```
|
|
1904
1906
|
*
|
|
1905
1907
|
* @param request - AuthorizeSecurityGroupEgressRequest
|
|
1906
1908
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2035,54 +2037,54 @@ export default class Client extends OpenApi {
|
|
|
2035
2037
|
}
|
|
2036
2038
|
|
|
2037
2039
|
/**
|
|
2038
|
-
*
|
|
2040
|
+
* Adds one or more outbound rules to a security group. You can use this operation to specify outbound access permissions for a security group, allowing or denying instances in the security group from sending outbound traffic to other devices, which enables fine-grained network access control.
|
|
2039
2041
|
*
|
|
2040
2042
|
* @remarks
|
|
2041
|
-
* ###
|
|
2042
|
-
* -
|
|
2043
|
-
* -
|
|
2044
|
-
* ###
|
|
2045
|
-
*
|
|
2046
|
-
* ###
|
|
2047
|
-
*
|
|
2048
|
-
* -
|
|
2049
|
-
* -
|
|
2050
|
-
* -
|
|
2051
|
-
* -
|
|
2052
|
-
* >
|
|
2053
|
-
* ###
|
|
2054
|
-
*
|
|
2055
|
-
*
|
|
2056
|
-
*
|
|
2057
|
-
*
|
|
2058
|
-
*
|
|
2059
|
-
*
|
|
2060
|
-
*
|
|
2061
|
-
*
|
|
2062
|
-
*
|
|
2063
|
-
*
|
|
2064
|
-
*
|
|
2065
|
-
*
|
|
2066
|
-
*
|
|
2067
|
-
*
|
|
2068
|
-
*
|
|
2069
|
-
*
|
|
2070
|
-
*
|
|
2071
|
-
*
|
|
2072
|
-
*
|
|
2073
|
-
*
|
|
2074
|
-
*
|
|
2075
|
-
*
|
|
2076
|
-
*
|
|
2077
|
-
*
|
|
2078
|
-
*
|
|
2079
|
-
*
|
|
2080
|
-
*
|
|
2081
|
-
*
|
|
2082
|
-
*
|
|
2083
|
-
*
|
|
2084
|
-
*
|
|
2085
|
-
*
|
|
2043
|
+
* ### Before you begin
|
|
2044
|
+
* - **Quantity limit:** The total number of rules (including both inbound rules and outbound rules) across all security groups associated with a single network interface controller (NIC) cannot exceed 1,000. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
2045
|
+
* - **Priority settings:** The priority (Priority) of outbound security group rules ranges from 1 to 100. A smaller number indicates a higher priority. If two security group rules have the same priority, the deny (drop) rule takes precedence.
|
|
2046
|
+
* ### Notes
|
|
2047
|
+
* If the specified security group rule already exists, the call succeeds but no rule is added.
|
|
2048
|
+
* ### How to determine a rule
|
|
2049
|
+
* The following parameters are required to determine an outbound rule:
|
|
2050
|
+
* - Destination settings: Specify one of the following: DestCidrIp (IPv4 address), Ipv6DestCidrIp (IPv6 address), DestPrefixListId (prefix list ID), or DestGroupId (destination security group).
|
|
2051
|
+
* - Destination port range: PortRange.
|
|
2052
|
+
* - Protocol type: IpProtocol.
|
|
2053
|
+
* - Access policy: Policy.
|
|
2054
|
+
* > Advanced security groups do not support authorization of other security groups for access. Custom security groups support a maximum of 20 authorized security groups.
|
|
2055
|
+
* ### Request examples
|
|
2056
|
+
* The following examples show how to add outbound rules with different destinations to a security group in the China (Hangzhou) region:
|
|
2057
|
+
* - Add access permissions for a specified IP address range.
|
|
2058
|
+
* ```
|
|
2059
|
+
* "RegionId":"ap-southeast-1", // Specify the region.
|
|
2060
|
+
* "SecurityGroupId":"sg-bp17vs63txqxbds9***", // Specify the security group.
|
|
2061
|
+
* "Permissions":[
|
|
2062
|
+
* {
|
|
2063
|
+
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IPv4 address.
|
|
2064
|
+
* "PortRange":"-1/-1", // Specify the port range.
|
|
2065
|
+
* "IpProtocol":"ICMP", // Specify the protocol type.
|
|
2066
|
+
* "Policy":"Accept" // Specify the access policy.
|
|
2067
|
+
* }
|
|
2068
|
+
* ]
|
|
2069
|
+
* ```
|
|
2070
|
+
* - Add access permissions for another security group and a prefix list.
|
|
2071
|
+
* ```
|
|
2072
|
+
* "RegionId":"ap-southeast-1",
|
|
2073
|
+
* "SecurityGroupId":"sg-bp17vs63txqxbds9***",
|
|
2074
|
+
* "Permissions":[
|
|
2075
|
+
* {
|
|
2076
|
+
* "DestGroupId":"sg-bp67acfmxazb4pi***", // Specify the destination security group.
|
|
2077
|
+
* "PortRange":"22/22",
|
|
2078
|
+
* "IpProtocol":"TCP",
|
|
2079
|
+
* "Policy":"Drop"
|
|
2080
|
+
* },{
|
|
2081
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", // Specify the destination prefix list.
|
|
2082
|
+
* "PortRange":"22/22",
|
|
2083
|
+
* "IpProtocol":"TCP",
|
|
2084
|
+
* "Policy":"Drop"
|
|
2085
|
+
* }
|
|
2086
|
+
* ]
|
|
2087
|
+
* ```
|
|
2086
2088
|
*
|
|
2087
2089
|
* @param request - AuthorizeSecurityGroupEgressRequest
|
|
2088
2090
|
* @returns AuthorizeSecurityGroupEgressResponse
|
|
@@ -2227,10 +2229,10 @@ export default class Client extends OpenApi {
|
|
|
2227
2229
|
}
|
|
2228
2230
|
|
|
2229
2231
|
/**
|
|
2230
|
-
* Cancels an image
|
|
2232
|
+
* Cancels an image build task.
|
|
2231
2233
|
*
|
|
2232
2234
|
* @remarks
|
|
2233
|
-
* Before you call
|
|
2235
|
+
* Before you call this operation, make sure that the image build task you want to cancel is in the PREPARING, REPAIRING, or BUILDING state.
|
|
2234
2236
|
*
|
|
2235
2237
|
* @param request - CancelImagePipelineExecutionRequest
|
|
2236
2238
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2289,10 +2291,10 @@ export default class Client extends OpenApi {
|
|
|
2289
2291
|
}
|
|
2290
2292
|
|
|
2291
2293
|
/**
|
|
2292
|
-
* Cancels an image
|
|
2294
|
+
* Cancels an image build task.
|
|
2293
2295
|
*
|
|
2294
2296
|
* @remarks
|
|
2295
|
-
* Before you call
|
|
2297
|
+
* Before you call this operation, make sure that the image build task you want to cancel is in the PREPARING, REPAIRING, or BUILDING state.
|
|
2296
2298
|
*
|
|
2297
2299
|
* @param request - CancelImagePipelineExecutionRequest
|
|
2298
2300
|
* @returns CancelImagePipelineExecutionResponse
|
|
@@ -3033,12 +3035,12 @@ export default class Client extends OpenApi {
|
|
|
3033
3035
|
}
|
|
3034
3036
|
|
|
3035
3037
|
/**
|
|
3036
|
-
*
|
|
3038
|
+
* Creates an activation code that is used to register non-Alibaba Cloud servers as Alibaba Cloud managed instances.
|
|
3037
3039
|
*
|
|
3038
3040
|
* @remarks
|
|
3039
|
-
* ##
|
|
3040
|
-
* After you register a non-Alibaba Cloud server as an Alibaba Cloud managed instance
|
|
3041
|
-
* The operating system of the non-
|
|
3041
|
+
* ## Operation description
|
|
3042
|
+
* After you use an activation code to register a non-Alibaba Cloud server as an Alibaba Cloud managed instance, you can use various online services provided by Alibaba Cloud in the managed instance, such as Cloud Assistant, CloudOps Orchestration Service, and Alibaba Cloud DevOps.
|
|
3043
|
+
* The operating system of the non-Elastic Compute Service (ECS) server must meet the following version requirements, and the server must have Internet access to be registered as an Alibaba Cloud managed instance.
|
|
3042
3044
|
* - Alibaba Cloud Linux 2/3 and later
|
|
3043
3045
|
* - CentOS 6/7/8 and later
|
|
3044
3046
|
* - Debian 8/9/10 and later
|
|
@@ -3047,9 +3049,9 @@ export default class Client extends OpenApi {
|
|
|
3047
3049
|
* - OpenSUSE
|
|
3048
3050
|
* - RedHat 5/6/7 and later
|
|
3049
3051
|
* - SUSE Linux Enterprise Server 11/12/15 and later
|
|
3050
|
-
* -
|
|
3051
|
-
* In each Alibaba Cloud
|
|
3052
|
-
* >
|
|
3052
|
+
* - Window Server 2012/2016/2019 and later
|
|
3053
|
+
* In each Alibaba Cloud region, you can have up to 10 managed instance activation codes. Each activation code can be used to register up to 10 instances, and each activation code is valid for up to 4 hours.
|
|
3054
|
+
* > On the **ECS Cloud Assistant** page, click the **Managed Instances** tab, and then click **Register New Instance** to view the usage data of activation codes.
|
|
3053
3055
|
*
|
|
3054
3056
|
* @param request - CreateActivationRequest
|
|
3055
3057
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3132,12 +3134,12 @@ export default class Client extends OpenApi {
|
|
|
3132
3134
|
}
|
|
3133
3135
|
|
|
3134
3136
|
/**
|
|
3135
|
-
*
|
|
3137
|
+
* Creates an activation code that is used to register non-Alibaba Cloud servers as Alibaba Cloud managed instances.
|
|
3136
3138
|
*
|
|
3137
3139
|
* @remarks
|
|
3138
|
-
* ##
|
|
3139
|
-
* After you register a non-Alibaba Cloud server as an Alibaba Cloud managed instance
|
|
3140
|
-
* The operating system of the non-
|
|
3140
|
+
* ## Operation description
|
|
3141
|
+
* After you use an activation code to register a non-Alibaba Cloud server as an Alibaba Cloud managed instance, you can use various online services provided by Alibaba Cloud in the managed instance, such as Cloud Assistant, CloudOps Orchestration Service, and Alibaba Cloud DevOps.
|
|
3142
|
+
* The operating system of the non-Elastic Compute Service (ECS) server must meet the following version requirements, and the server must have Internet access to be registered as an Alibaba Cloud managed instance.
|
|
3141
3143
|
* - Alibaba Cloud Linux 2/3 and later
|
|
3142
3144
|
* - CentOS 6/7/8 and later
|
|
3143
3145
|
* - Debian 8/9/10 and later
|
|
@@ -3146,9 +3148,9 @@ export default class Client extends OpenApi {
|
|
|
3146
3148
|
* - OpenSUSE
|
|
3147
3149
|
* - RedHat 5/6/7 and later
|
|
3148
3150
|
* - SUSE Linux Enterprise Server 11/12/15 and later
|
|
3149
|
-
* -
|
|
3150
|
-
* In each Alibaba Cloud
|
|
3151
|
-
* >
|
|
3151
|
+
* - Window Server 2012/2016/2019 and later
|
|
3152
|
+
* In each Alibaba Cloud region, you can have up to 10 managed instance activation codes. Each activation code can be used to register up to 10 instances, and each activation code is valid for up to 4 hours.
|
|
3153
|
+
* > On the **ECS Cloud Assistant** page, click the **Managed Instances** tab, and then click **Register New Instance** to view the usage data of activation codes.
|
|
3152
3154
|
*
|
|
3153
3155
|
* @param request - CreateActivationRequest
|
|
3154
3156
|
* @returns CreateActivationResponse
|
|
@@ -3605,23 +3607,23 @@ export default class Client extends OpenApi {
|
|
|
3605
3607
|
}
|
|
3606
3608
|
|
|
3607
3609
|
/**
|
|
3608
|
-
*
|
|
3610
|
+
* Creates a Cloud Assistant command of the Shell, PowerShell, or Bat script type.
|
|
3609
3611
|
*
|
|
3610
3612
|
* @remarks
|
|
3611
|
-
* ##
|
|
3612
|
-
* - You can create
|
|
3613
|
-
*
|
|
3614
|
-
*
|
|
3615
|
-
*
|
|
3616
|
-
* - You can specify the Timeout parameter to set the maximum timeout
|
|
3617
|
-
*
|
|
3618
|
-
*
|
|
3619
|
-
*
|
|
3620
|
-
*
|
|
3621
|
-
*
|
|
3622
|
-
* -
|
|
3623
|
-
* - You can
|
|
3624
|
-
* - You can enable the
|
|
3613
|
+
* ## Operation description
|
|
3614
|
+
* - You can create the following types of commands:
|
|
3615
|
+
* - Bat scripts for Windows instances (RunBatScript).
|
|
3616
|
+
* - PowerShell scripts for Windows instances (RunPowerShellScript).
|
|
3617
|
+
* - Shell scripts for Linux instances (RunShellScript).
|
|
3618
|
+
* - You can specify the Timeout parameter to set the maximum timeout period for a command to run on an ECS instance. If the command times out, [Cloud Assistant Agent](https://help.aliyun.com/document_detail/64921.html) forcefully terminates the command process by canceling the PID of the command.
|
|
3619
|
+
* - For a one-time execution, after the command times out, the execution status ([InvokeRecordStatus](https://help.aliyun.com/document_detail/64845.html)) of the command on the specified ECS instance changes to Failed.
|
|
3620
|
+
* - For a scheduled execution:
|
|
3621
|
+
* - The timeout period takes effect for each execution record.
|
|
3622
|
+
* - After a specific execution times out, the status ([InvokeRecordStatus](https://help.aliyun.com/document_detail/64845.html)) of that execution record changes to Failed.
|
|
3623
|
+
* - The timeout of a previous execution does not affect the next execution.
|
|
3624
|
+
* - You can retain up to 500 to 50,000 Cloud Assistant commands in a region. You can also request a quota increase. For information about how to query and increase quotas, refer to [Quota management](https://help.aliyun.com/document_detail/184116.html).
|
|
3625
|
+
* - You can specify the WorkingDir parameter to set the execution path of a command. For Linux instances, the default path is the home directory of the root user, which is `/root`. For Windows instances, the default path is the directory where the Cloud Assistant Agent process is located, such as `C:\\Windows\\System32`.
|
|
3626
|
+
* - You can set EnableParameter to true to enable the custom parameter feature. When you set CommandContent, you can define custom parameters in the {{parameter}} format and pass in custom parameter key-value pairs when you run the command by calling [InvokeCommand](https://help.aliyun.com/document_detail/64841.html). For example, if you create the command `echo {{name}}` and pass in the key-value pair `<name, Jack>` through the Parameters parameter when you call InvokeCommand, the custom parameter is automatically replaced. The resulting command `echo Jack` is then run on the instance.
|
|
3625
3627
|
*
|
|
3626
3628
|
* @param request - CreateCommandRequest
|
|
3627
3629
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3720,23 +3722,23 @@ export default class Client extends OpenApi {
|
|
|
3720
3722
|
}
|
|
3721
3723
|
|
|
3722
3724
|
/**
|
|
3723
|
-
*
|
|
3725
|
+
* Creates a Cloud Assistant command of the Shell, PowerShell, or Bat script type.
|
|
3724
3726
|
*
|
|
3725
3727
|
* @remarks
|
|
3726
|
-
* ##
|
|
3727
|
-
* - You can create
|
|
3728
|
-
*
|
|
3729
|
-
*
|
|
3730
|
-
*
|
|
3731
|
-
* - You can specify the Timeout parameter to set the maximum timeout
|
|
3732
|
-
*
|
|
3733
|
-
*
|
|
3734
|
-
*
|
|
3735
|
-
*
|
|
3736
|
-
*
|
|
3737
|
-
* -
|
|
3738
|
-
* - You can
|
|
3739
|
-
* - You can enable the
|
|
3728
|
+
* ## Operation description
|
|
3729
|
+
* - You can create the following types of commands:
|
|
3730
|
+
* - Bat scripts for Windows instances (RunBatScript).
|
|
3731
|
+
* - PowerShell scripts for Windows instances (RunPowerShellScript).
|
|
3732
|
+
* - Shell scripts for Linux instances (RunShellScript).
|
|
3733
|
+
* - You can specify the Timeout parameter to set the maximum timeout period for a command to run on an ECS instance. If the command times out, [Cloud Assistant Agent](https://help.aliyun.com/document_detail/64921.html) forcefully terminates the command process by canceling the PID of the command.
|
|
3734
|
+
* - For a one-time execution, after the command times out, the execution status ([InvokeRecordStatus](https://help.aliyun.com/document_detail/64845.html)) of the command on the specified ECS instance changes to Failed.
|
|
3735
|
+
* - For a scheduled execution:
|
|
3736
|
+
* - The timeout period takes effect for each execution record.
|
|
3737
|
+
* - After a specific execution times out, the status ([InvokeRecordStatus](https://help.aliyun.com/document_detail/64845.html)) of that execution record changes to Failed.
|
|
3738
|
+
* - The timeout of a previous execution does not affect the next execution.
|
|
3739
|
+
* - You can retain up to 500 to 50,000 Cloud Assistant commands in a region. You can also request a quota increase. For information about how to query and increase quotas, refer to [Quota management](https://help.aliyun.com/document_detail/184116.html).
|
|
3740
|
+
* - You can specify the WorkingDir parameter to set the execution path of a command. For Linux instances, the default path is the home directory of the root user, which is `/root`. For Windows instances, the default path is the directory where the Cloud Assistant Agent process is located, such as `C:\\Windows\\System32`.
|
|
3741
|
+
* - You can set EnableParameter to true to enable the custom parameter feature. When you set CommandContent, you can define custom parameters in the {{parameter}} format and pass in custom parameter key-value pairs when you run the command by calling [InvokeCommand](https://help.aliyun.com/document_detail/64841.html). For example, if you create the command `echo {{name}}` and pass in the key-value pair `<name, Jack>` through the Parameters parameter when you call InvokeCommand, the custom parameter is automatically replaced. The resulting command `echo Jack` is then run on the instance.
|
|
3740
3742
|
*
|
|
3741
3743
|
* @param request - CreateCommandRequest
|
|
3742
3744
|
* @returns CreateCommandResponse
|
|
@@ -4056,14 +4058,14 @@ export default class Client extends OpenApi {
|
|
|
4056
4058
|
* Creates a pay-as-you-go or subscription data disk.
|
|
4057
4059
|
*
|
|
4058
4060
|
* @remarks
|
|
4059
|
-
* - When
|
|
4060
|
-
* -
|
|
4061
|
-
* -
|
|
4062
|
-
* - Creating a disk
|
|
4063
|
-
* - Default settings when
|
|
4064
|
-
* - Automatic snapshots of the disk are deleted when the disk is deleted
|
|
4065
|
-
* - When
|
|
4066
|
-
* - The billing method is pay-as-you-go,
|
|
4061
|
+
* - When you create a disk, you can enable the multi-attach feature (`MultiAttach`). Learn about this attribute and its limits before you use it. For more information, see [ESSD cloud disks that support NVMe](https://help.aliyun.com/document_detail/256487.html) and [Use the multi-attach feature](https://help.aliyun.com/document_detail/262105.html).
|
|
4062
|
+
* - The following disk types can be created: basic disks, ultra disks, standard SSDs, enterprise SSDs, ESSD Entry disks, regional Enterprise SSDs (ESSDs), ESSD AutoPL disks, elastic ephemeral disks - Standard Edition, and elastic ephemeral disks - Premium Edition.
|
|
4063
|
+
* - To create a disk, complete [real-name registration](https://account.console.aliyun.com/#/auth/home).
|
|
4064
|
+
* - Creating a disk incurs fees. Learn about the billing method of Elastic Compute Service (ECS) in advance. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html).
|
|
4065
|
+
* - Default settings when you create a disk:
|
|
4066
|
+
* - Automatic snapshots of the disk are deleted when the disk is deleted. That is, `DeleteAutoSnapshot` is set to `true`. You can call [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) to query the parameter settings, and call [ModifyDiskAttribute](https://help.aliyun.com/document_detail/25517.html) to modify the property.
|
|
4067
|
+
* - When you create an enterprise SSD, if you do not configure a performance level, the default level is PL1. You can call [ModifyDiskSpec](https://help.aliyun.com/document_detail/123780.html) to change the performance level.
|
|
4068
|
+
* - The billing method is pay-as-you-go, which means the `Portable` property defaults to `true`.
|
|
4067
4069
|
*
|
|
4068
4070
|
* @param request - CreateDiskRequest
|
|
4069
4071
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4201,14 +4203,14 @@ export default class Client extends OpenApi {
|
|
|
4201
4203
|
* Creates a pay-as-you-go or subscription data disk.
|
|
4202
4204
|
*
|
|
4203
4205
|
* @remarks
|
|
4204
|
-
* - When
|
|
4205
|
-
* -
|
|
4206
|
-
* -
|
|
4207
|
-
* - Creating a disk
|
|
4208
|
-
* - Default settings when
|
|
4209
|
-
* - Automatic snapshots of the disk are deleted when the disk is deleted
|
|
4210
|
-
* - When
|
|
4211
|
-
* - The billing method is pay-as-you-go,
|
|
4206
|
+
* - When you create a disk, you can enable the multi-attach feature (`MultiAttach`). Learn about this attribute and its limits before you use it. For more information, see [ESSD cloud disks that support NVMe](https://help.aliyun.com/document_detail/256487.html) and [Use the multi-attach feature](https://help.aliyun.com/document_detail/262105.html).
|
|
4207
|
+
* - The following disk types can be created: basic disks, ultra disks, standard SSDs, enterprise SSDs, ESSD Entry disks, regional Enterprise SSDs (ESSDs), ESSD AutoPL disks, elastic ephemeral disks - Standard Edition, and elastic ephemeral disks - Premium Edition.
|
|
4208
|
+
* - To create a disk, complete [real-name registration](https://account.console.aliyun.com/#/auth/home).
|
|
4209
|
+
* - Creating a disk incurs fees. Learn about the billing method of Elastic Compute Service (ECS) in advance. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html).
|
|
4210
|
+
* - Default settings when you create a disk:
|
|
4211
|
+
* - Automatic snapshots of the disk are deleted when the disk is deleted. That is, `DeleteAutoSnapshot` is set to `true`. You can call [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) to query the parameter settings, and call [ModifyDiskAttribute](https://help.aliyun.com/document_detail/25517.html) to modify the property.
|
|
4212
|
+
* - When you create an enterprise SSD, if you do not configure a performance level, the default level is PL1. You can call [ModifyDiskSpec](https://help.aliyun.com/document_detail/123780.html) to change the performance level.
|
|
4213
|
+
* - The billing method is pay-as-you-go, which means the `Portable` property defaults to `true`.
|
|
4212
4214
|
*
|
|
4213
4215
|
* @param request - CreateDiskRequest
|
|
4214
4216
|
* @returns CreateDiskResponse
|
|
@@ -4519,7 +4521,7 @@ export default class Client extends OpenApi {
|
|
|
4519
4521
|
}
|
|
4520
4522
|
|
|
4521
4523
|
/**
|
|
4522
|
-
* Creates
|
|
4524
|
+
* Creates an HPC cluster by calling CreateHpcCluster.
|
|
4523
4525
|
*
|
|
4524
4526
|
* @param request - CreateHpcClusterRequest
|
|
4525
4527
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4582,7 +4584,7 @@ export default class Client extends OpenApi {
|
|
|
4582
4584
|
}
|
|
4583
4585
|
|
|
4584
4586
|
/**
|
|
4585
|
-
* Creates
|
|
4587
|
+
* Creates an HPC cluster by calling CreateHpcCluster.
|
|
4586
4588
|
*
|
|
4587
4589
|
* @param request - CreateHpcClusterRequest
|
|
4588
4590
|
* @returns CreateHpcClusterResponse
|
|
@@ -4753,13 +4755,13 @@ export default class Client extends OpenApi {
|
|
|
4753
4755
|
}
|
|
4754
4756
|
|
|
4755
4757
|
/**
|
|
4756
|
-
* Creates an image component. Image components store commonly used build template commands for image building.
|
|
4758
|
+
* Creates an image component. Image components are used to store commonly used build template commands for image building.
|
|
4757
4759
|
*
|
|
4758
4760
|
* @remarks
|
|
4759
4761
|
* ## Operation description
|
|
4760
4762
|
* Before you create an image component, take note of the following items:
|
|
4761
|
-
* -
|
|
4762
|
-
* - Component version numbers must be unique for
|
|
4763
|
+
* - Only custom image components can be created.
|
|
4764
|
+
* - Component version numbers must be unique for the same component name. When using a component in a template, you can reference it by name and version number.
|
|
4763
4765
|
* - The content size of an image component cannot exceed 16 KB. For details about supported commands, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
4764
4766
|
* For more information, see [Image Builder overview](https://help.aliyun.com/document_detail/197410.html).
|
|
4765
4767
|
*
|
|
@@ -4852,13 +4854,13 @@ export default class Client extends OpenApi {
|
|
|
4852
4854
|
}
|
|
4853
4855
|
|
|
4854
4856
|
/**
|
|
4855
|
-
* Creates an image component. Image components store commonly used build template commands for image building.
|
|
4857
|
+
* Creates an image component. Image components are used to store commonly used build template commands for image building.
|
|
4856
4858
|
*
|
|
4857
4859
|
* @remarks
|
|
4858
4860
|
* ## Operation description
|
|
4859
4861
|
* Before you create an image component, take note of the following items:
|
|
4860
|
-
* -
|
|
4861
|
-
* - Component version numbers must be unique for
|
|
4862
|
+
* - Only custom image components can be created.
|
|
4863
|
+
* - Component version numbers must be unique for the same component name. When using a component in a template, you can reference it by name and version number.
|
|
4862
4864
|
* - The content size of an image component cannot exceed 16 KB. For details about supported commands, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
4863
4865
|
* For more information, see [Image Builder overview](https://help.aliyun.com/document_detail/197410.html).
|
|
4864
4866
|
*
|
|
@@ -5051,31 +5053,32 @@ export default class Client extends OpenApi {
|
|
|
5051
5053
|
}
|
|
5052
5054
|
|
|
5053
5055
|
/**
|
|
5054
|
-
*
|
|
5056
|
+
* Creates a subscription or pay-as-you-go Elastic Compute Service (ECS) instance with customizable parameters.
|
|
5055
5057
|
*
|
|
5056
5058
|
* @remarks
|
|
5057
|
-
* > This
|
|
5059
|
+
* > This operation is no longer maintained. Use [RunInstances](https://help.aliyun.com/document_detail/2679677.html) instead.
|
|
5058
5060
|
* <props="china">
|
|
5059
|
-
* **Before
|
|
5061
|
+
* **Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of ECS.**
|
|
5060
5062
|
* <props="intl">
|
|
5061
|
-
* **Before
|
|
5062
|
-
*
|
|
5063
|
-
* ###
|
|
5063
|
+
* **Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS.**
|
|
5064
|
+
* This is an asynchronous operation. After a request to create an instance is sent, the instance ID is returned. The instance is not immediately created. Call [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) to query the instance status. When the status is `Stopped`, the instance is created. Then you can call [StartInstance](https://help.aliyun.com/document_detail/2679679.html) to start the instance.
|
|
5065
|
+
* ### Before you begin
|
|
5064
5066
|
* <props="china">
|
|
5065
|
-
* - Make sure that your account has passed real-name
|
|
5066
|
-
* - Creating an instance incurs charges. Make sure that you understand the
|
|
5067
|
-
*
|
|
5068
|
-
* -
|
|
5069
|
-
*
|
|
5070
|
-
*
|
|
5071
|
-
* -
|
|
5072
|
-
* -
|
|
5073
|
-
* -
|
|
5074
|
-
*
|
|
5067
|
+
* - Make sure that your account has passed real-name registration. For more information, see [Real-name registration documentation](https://help.aliyun.com/document_detail/48263.html).
|
|
5068
|
+
* - Creating an instance incurs charges. Make sure that you understand the billable methods of Elastic Computing Service (ECS). For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html).
|
|
5069
|
+
*
|
|
5070
|
+
* - Make sure that the total number of instances or the total number of vCPUs across all instance types does not exceed the quota. For more information, see [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas).
|
|
5071
|
+
* - Before creating a VPC-connected instance, create a VPC in the corresponding region. For more information, see [Create a VPC](https://help.aliyun.com/document_detail/65430.html).
|
|
5072
|
+
* ### Before you begin
|
|
5073
|
+
* - When you invoke this operation, the system does not send notifications (including text messages, emails, or internal messages) about instance creation.
|
|
5074
|
+
* - If the billable methods of the instance is subscription (`PrePaid`), active coupon in your account are used by default during payment.
|
|
5075
|
+
* - If the instance memory is 512 MiB, you cannot use Windows Server images except through the half-year channel. If the instance memory is 4 GiB or more, you cannot use 32-bit operating system images.
|
|
5076
|
+
* - Instances created by invoking this operation are not assigned Internet IP addresses. If the public bandwidth is greater than 0, invoke [AllocatePublicIpAddress](https://help.aliyun.com/document_detail/25544.html) to assign a public IP address. If the public bandwidth is 0, invoke [ModifyInstanceNetworkSpec](https://help.aliyun.com/document_detail/2679879.html) to adjust the bandwidth and then invoke [AllocatePublicIpAddress](https://help.aliyun.com/document_detail/25544.html) to assign a public IP address.
|
|
5077
|
+
* > In a single region, the total peak pay-by-bandwidth Internet bandwidth for a single Alibaba Cloud account is limited. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
5075
5078
|
* ### Recommendations
|
|
5076
|
-
* - **
|
|
5077
|
-
* - **Check
|
|
5078
|
-
* - **User data**: If
|
|
5079
|
+
* - **Instance type selection**: See [Instance family](https://help.aliyun.com/document_detail/25378.html) or invoke [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) to query the performance data of the target instance type. You can also see [Settings for instance type selection](https://help.aliyun.com/document_detail/58291.html) to learn how to select an instance type.
|
|
5080
|
+
* - **Check active resources**: Invoke [DescribeAvailableResource](https://help.aliyun.com/document_detail/66186.html) to query active resources in a specific region or zone.
|
|
5081
|
+
* - **User data**: If the instance meets the requirements for [instance user data](https://help.aliyun.com/document_detail/49121.html), you can pass in UserData. The `UserData` data is not encrypted when the API request is sent. Do not send confidential information such as passwords or private keys in plaintext. If you must pass in such information, encrypt it and use Base64 encoding before passing it in. Then perform decryption inside the instance.
|
|
5079
5082
|
*
|
|
5080
5083
|
* @param request - CreateInstanceRequest
|
|
5081
5084
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5346,31 +5349,32 @@ export default class Client extends OpenApi {
|
|
|
5346
5349
|
}
|
|
5347
5350
|
|
|
5348
5351
|
/**
|
|
5349
|
-
*
|
|
5352
|
+
* Creates a subscription or pay-as-you-go Elastic Compute Service (ECS) instance with customizable parameters.
|
|
5350
5353
|
*
|
|
5351
5354
|
* @remarks
|
|
5352
|
-
* > This
|
|
5355
|
+
* > This operation is no longer maintained. Use [RunInstances](https://help.aliyun.com/document_detail/2679677.html) instead.
|
|
5353
5356
|
* <props="china">
|
|
5354
|
-
* **Before
|
|
5357
|
+
* **Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of ECS.**
|
|
5355
5358
|
* <props="intl">
|
|
5356
|
-
* **Before
|
|
5357
|
-
*
|
|
5358
|
-
* ###
|
|
5359
|
+
* **Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS.**
|
|
5360
|
+
* This is an asynchronous operation. After a request to create an instance is sent, the instance ID is returned. The instance is not immediately created. Call [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) to query the instance status. When the status is `Stopped`, the instance is created. Then you can call [StartInstance](https://help.aliyun.com/document_detail/2679679.html) to start the instance.
|
|
5361
|
+
* ### Before you begin
|
|
5359
5362
|
* <props="china">
|
|
5360
|
-
* - Make sure that your account has passed real-name
|
|
5361
|
-
* - Creating an instance incurs charges. Make sure that you understand the
|
|
5362
|
-
*
|
|
5363
|
-
* -
|
|
5364
|
-
*
|
|
5365
|
-
*
|
|
5366
|
-
* -
|
|
5367
|
-
* -
|
|
5368
|
-
* -
|
|
5369
|
-
*
|
|
5363
|
+
* - Make sure that your account has passed real-name registration. For more information, see [Real-name registration documentation](https://help.aliyun.com/document_detail/48263.html).
|
|
5364
|
+
* - Creating an instance incurs charges. Make sure that you understand the billable methods of Elastic Computing Service (ECS). For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html).
|
|
5365
|
+
*
|
|
5366
|
+
* - Make sure that the total number of instances or the total number of vCPUs across all instance types does not exceed the quota. For more information, see [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas).
|
|
5367
|
+
* - Before creating a VPC-connected instance, create a VPC in the corresponding region. For more information, see [Create a VPC](https://help.aliyun.com/document_detail/65430.html).
|
|
5368
|
+
* ### Before you begin
|
|
5369
|
+
* - When you invoke this operation, the system does not send notifications (including text messages, emails, or internal messages) about instance creation.
|
|
5370
|
+
* - If the billable methods of the instance is subscription (`PrePaid`), active coupon in your account are used by default during payment.
|
|
5371
|
+
* - If the instance memory is 512 MiB, you cannot use Windows Server images except through the half-year channel. If the instance memory is 4 GiB or more, you cannot use 32-bit operating system images.
|
|
5372
|
+
* - Instances created by invoking this operation are not assigned Internet IP addresses. If the public bandwidth is greater than 0, invoke [AllocatePublicIpAddress](https://help.aliyun.com/document_detail/25544.html) to assign a public IP address. If the public bandwidth is 0, invoke [ModifyInstanceNetworkSpec](https://help.aliyun.com/document_detail/2679879.html) to adjust the bandwidth and then invoke [AllocatePublicIpAddress](https://help.aliyun.com/document_detail/25544.html) to assign a public IP address.
|
|
5373
|
+
* > In a single region, the total peak pay-by-bandwidth Internet bandwidth for a single Alibaba Cloud account is limited. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
5370
5374
|
* ### Recommendations
|
|
5371
|
-
* - **
|
|
5372
|
-
* - **Check
|
|
5373
|
-
* - **User data**: If
|
|
5375
|
+
* - **Instance type selection**: See [Instance family](https://help.aliyun.com/document_detail/25378.html) or invoke [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) to query the performance data of the target instance type. You can also see [Settings for instance type selection](https://help.aliyun.com/document_detail/58291.html) to learn how to select an instance type.
|
|
5376
|
+
* - **Check active resources**: Invoke [DescribeAvailableResource](https://help.aliyun.com/document_detail/66186.html) to query active resources in a specific region or zone.
|
|
5377
|
+
* - **User data**: If the instance meets the requirements for [instance user data](https://help.aliyun.com/document_detail/49121.html), you can pass in UserData. The `UserData` data is not encrypted when the API request is sent. Do not send confidential information such as passwords or private keys in plaintext. If you must pass in such information, encrypt it and use Base64 encoding before passing it in. Then perform decryption inside the instance.
|
|
5374
5378
|
*
|
|
5375
5379
|
* @param request - CreateInstanceRequest
|
|
5376
5380
|
* @returns CreateInstanceResponse
|
|
@@ -5733,11 +5737,11 @@ export default class Client extends OpenApi {
|
|
|
5733
5737
|
}
|
|
5734
5738
|
|
|
5735
5739
|
/**
|
|
5736
|
-
*
|
|
5740
|
+
* Creates a new version in a specified ECS launch template for subsequent creation of ECS instances, elastic scaling groups, or auto provisioning groups.
|
|
5737
5741
|
*
|
|
5738
5742
|
* @remarks
|
|
5739
|
-
* ##
|
|
5740
|
-
*
|
|
5743
|
+
* ## Operation description
|
|
5744
|
+
* To modify the parameters of a specific version, create a new template version. Each instance launch template supports a maximum of 30 versions.
|
|
5741
5745
|
*
|
|
5742
5746
|
* @param request - CreateLaunchTemplateVersionRequest
|
|
5743
5747
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5984,11 +5988,11 @@ export default class Client extends OpenApi {
|
|
|
5984
5988
|
}
|
|
5985
5989
|
|
|
5986
5990
|
/**
|
|
5987
|
-
*
|
|
5991
|
+
* Creates a new version in a specified ECS launch template for subsequent creation of ECS instances, elastic scaling groups, or auto provisioning groups.
|
|
5988
5992
|
*
|
|
5989
5993
|
* @remarks
|
|
5990
|
-
* ##
|
|
5991
|
-
*
|
|
5994
|
+
* ## Operation description
|
|
5995
|
+
* To modify the parameters of a specific version, create a new template version. Each instance launch template supports a maximum of 30 versions.
|
|
5992
5996
|
*
|
|
5993
5997
|
* @param request - CreateLaunchTemplateVersionRequest
|
|
5994
5998
|
* @returns CreateLaunchTemplateVersionResponse
|
|
@@ -7116,10 +7120,10 @@ export default class Client extends OpenApi {
|
|
|
7116
7120
|
* Creates a security group.
|
|
7117
7121
|
*
|
|
7118
7122
|
* @remarks
|
|
7119
|
-
* -
|
|
7120
|
-
* -
|
|
7121
|
-
* -
|
|
7122
|
-
* -
|
|
7123
|
+
* - The default internal connectivity policy for a basic security group created by this operation is **intra-group connectivity**. You can modify this policy by calling [ModifySecurityGroupPolicy](https://help.aliyun.com/document_detail/2679846.html).
|
|
7124
|
+
* - The default internal connectivity policy for an advanced security group created by this operation is **internal isolation**, and this policy cannot be modified.
|
|
7125
|
+
* - The number of security groups in a single region is limited. You can create a minimum of 100 security groups. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
7126
|
+
* - To create a security group of the VPC type, you must specify the VpcId parameter.
|
|
7123
7127
|
*
|
|
7124
7128
|
* @param request - CreateSecurityGroupRequest
|
|
7125
7129
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7201,10 +7205,10 @@ export default class Client extends OpenApi {
|
|
|
7201
7205
|
* Creates a security group.
|
|
7202
7206
|
*
|
|
7203
7207
|
* @remarks
|
|
7204
|
-
* -
|
|
7205
|
-
* -
|
|
7206
|
-
* -
|
|
7207
|
-
* -
|
|
7208
|
+
* - The default internal connectivity policy for a basic security group created by this operation is **intra-group connectivity**. You can modify this policy by calling [ModifySecurityGroupPolicy](https://help.aliyun.com/document_detail/2679846.html).
|
|
7209
|
+
* - The default internal connectivity policy for an advanced security group created by this operation is **internal isolation**, and this policy cannot be modified.
|
|
7210
|
+
* - The number of security groups in a single region is limited. You can create a minimum of 100 security groups. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
7211
|
+
* - To create a security group of the VPC type, you must specify the VpcId parameter.
|
|
7208
7212
|
*
|
|
7209
7213
|
* @param request - CreateSecurityGroupRequest
|
|
7210
7214
|
* @returns CreateSecurityGroupResponse
|
|
@@ -8873,7 +8877,7 @@ export default class Client extends OpenApi {
|
|
|
8873
8877
|
}
|
|
8874
8878
|
|
|
8875
8879
|
/**
|
|
8876
|
-
*
|
|
8880
|
+
* Calls DeleteHpcCluster to delete an HPC cluster.
|
|
8877
8881
|
*
|
|
8878
8882
|
* @param request - DeleteHpcClusterRequest
|
|
8879
8883
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8932,7 +8936,7 @@ export default class Client extends OpenApi {
|
|
|
8932
8936
|
}
|
|
8933
8937
|
|
|
8934
8938
|
/**
|
|
8935
|
-
*
|
|
8939
|
+
* Calls DeleteHpcCluster to delete an HPC cluster.
|
|
8936
8940
|
*
|
|
8937
8941
|
* @param request - DeleteHpcClusterRequest
|
|
8938
8942
|
* @returns DeleteHpcClusterResponse
|
|
@@ -9096,7 +9100,7 @@ export default class Client extends OpenApi {
|
|
|
9096
9100
|
* Deletes an image template.
|
|
9097
9101
|
*
|
|
9098
9102
|
* @remarks
|
|
9099
|
-
* If a build task is running, you cannot directly delete the template. Wait until the build task reaches a desired state: SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED. You can call [DescribeImagePipelineExecutions](https://help.aliyun.com/document_detail/25609.html) to query the details of build tasks.
|
|
9103
|
+
* If a build task is currently running, you cannot directly delete the template. Wait until the build task reaches a desired state: SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED. You can call [DescribeImagePipelineExecutions](https://help.aliyun.com/document_detail/25609.html) to query the details of build tasks.
|
|
9100
9104
|
*
|
|
9101
9105
|
* @param request - DeleteImagePipelineRequest
|
|
9102
9106
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9154,7 +9158,7 @@ export default class Client extends OpenApi {
|
|
|
9154
9158
|
* Deletes an image template.
|
|
9155
9159
|
*
|
|
9156
9160
|
* @remarks
|
|
9157
|
-
* If a build task is running, you cannot directly delete the template. Wait until the build task reaches a desired state: SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED. You can call [DescribeImagePipelineExecutions](https://help.aliyun.com/document_detail/25609.html) to query the details of build tasks.
|
|
9161
|
+
* If a build task is currently running, you cannot directly delete the template. Wait until the build task reaches a desired state: SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED. You can call [DescribeImagePipelineExecutions](https://help.aliyun.com/document_detail/25609.html) to query the details of build tasks.
|
|
9158
9162
|
*
|
|
9159
9163
|
* @param request - DeleteImagePipelineRequest
|
|
9160
9164
|
* @returns DeleteImagePipelineResponse
|
|
@@ -10010,10 +10014,10 @@ export default class Client extends OpenApi {
|
|
|
10010
10014
|
}
|
|
10011
10015
|
|
|
10012
10016
|
/**
|
|
10013
|
-
*
|
|
10017
|
+
* Calls DeletePrefixList to delete a specified prefix list and all entries in the prefix list.
|
|
10014
10018
|
*
|
|
10015
10019
|
* @remarks
|
|
10016
|
-
* If a prefix list is associated with other resources, you cannot directly delete it. Dissociate the prefix list from the resources first, and then delete it. You can call [DescribePrefixListAssociations](https://help.aliyun.com/document_detail/204724.html) to query the resources
|
|
10020
|
+
* If a prefix list is associated with other resources, you cannot directly delete it. Dissociate the prefix list from the other resources first, and then delete it. You can call [DescribePrefixListAssociations](https://help.aliyun.com/document_detail/204724.html) to query the resources associated with a specified prefix list.
|
|
10017
10021
|
*
|
|
10018
10022
|
* @param request - DeletePrefixListRequest
|
|
10019
10023
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10068,10 +10072,10 @@ export default class Client extends OpenApi {
|
|
|
10068
10072
|
}
|
|
10069
10073
|
|
|
10070
10074
|
/**
|
|
10071
|
-
*
|
|
10075
|
+
* Calls DeletePrefixList to delete a specified prefix list and all entries in the prefix list.
|
|
10072
10076
|
*
|
|
10073
10077
|
* @remarks
|
|
10074
|
-
* If a prefix list is associated with other resources, you cannot directly delete it. Dissociate the prefix list from the resources first, and then delete it. You can call [DescribePrefixListAssociations](https://help.aliyun.com/document_detail/204724.html) to query the resources
|
|
10078
|
+
* If a prefix list is associated with other resources, you cannot directly delete it. Dissociate the prefix list from the other resources first, and then delete it. You can call [DescribePrefixListAssociations](https://help.aliyun.com/document_detail/204724.html) to query the resources associated with a specified prefix list.
|
|
10075
10079
|
*
|
|
10076
10080
|
* @param request - DeletePrefixListRequest
|
|
10077
10081
|
* @returns DeletePrefixListResponse
|
|
@@ -11208,7 +11212,7 @@ export default class Client extends OpenApi {
|
|
|
11208
11212
|
}
|
|
11209
11213
|
|
|
11210
11214
|
/**
|
|
11211
|
-
* Queries information about
|
|
11215
|
+
* Queries information about instances in an auto provisioning group.
|
|
11212
11216
|
*
|
|
11213
11217
|
* @param request - DescribeAutoProvisioningGroupInstancesRequest
|
|
11214
11218
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11267,7 +11271,7 @@ export default class Client extends OpenApi {
|
|
|
11267
11271
|
}
|
|
11268
11272
|
|
|
11269
11273
|
/**
|
|
11270
|
-
* Queries information about
|
|
11274
|
+
* Queries information about instances in an auto provisioning group.
|
|
11271
11275
|
*
|
|
11272
11276
|
* @param request - DescribeAutoProvisioningGroupInstancesRequest
|
|
11273
11277
|
* @returns DescribeAutoProvisioningGroupInstancesResponse
|
|
@@ -11442,7 +11446,7 @@ export default class Client extends OpenApi {
|
|
|
11442
11446
|
}
|
|
11443
11447
|
|
|
11444
11448
|
/**
|
|
11445
|
-
* Queries the details of automatic snapshot policies that are created in a
|
|
11449
|
+
* Queries the details of automatic snapshot policies that are created in a specified region.
|
|
11446
11450
|
*
|
|
11447
11451
|
* @param request - DescribeAutoSnapshotPolicyExRequest
|
|
11448
11452
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11513,7 +11517,7 @@ export default class Client extends OpenApi {
|
|
|
11513
11517
|
}
|
|
11514
11518
|
|
|
11515
11519
|
/**
|
|
11516
|
-
* Queries the details of automatic snapshot policies that are created in a
|
|
11520
|
+
* Queries the details of automatic snapshot policies that are created in a specified region.
|
|
11517
11521
|
*
|
|
11518
11522
|
* @param request - DescribeAutoSnapshotPolicyExRequest
|
|
11519
11523
|
* @returns DescribeAutoSnapshotPolicyExResponse
|
|
@@ -11524,43 +11528,37 @@ export default class Client extends OpenApi {
|
|
|
11524
11528
|
}
|
|
11525
11529
|
|
|
11526
11530
|
/**
|
|
11527
|
-
*
|
|
11531
|
+
* Queries the inventory status of resources in a specified zone. This operation is primarily used to check whether target resources, such as instance types and system disk types, are available in a specific zone before you create instances (RunInstances) or modify instance specifications (ModifyInstanceSpec).
|
|
11528
11532
|
*
|
|
11529
11533
|
* @remarks
|
|
11530
|
-
* The
|
|
11531
|
-
* - Value
|
|
11534
|
+
* The DestinationResource parameter has different logic and requirements depending on its value. In the following ordered list, a lower-ranked value requires more parameters to be set. You cannot use a lower-ranked value to filter resources of a higher-ranked category.
|
|
11535
|
+
* - Value order: `Zone > IoOptimized > InstanceType = Network = ddh > SystemDisk > DataDisk`
|
|
11532
11536
|
* - Examples:
|
|
11533
|
-
*
|
|
11534
|
-
*
|
|
11535
|
-
*
|
|
11536
|
-
*
|
|
11537
|
-
*
|
|
11538
|
-
*
|
|
11539
|
-
*
|
|
11537
|
+
* - If DestinationResource is set to `DataDisk`:
|
|
11538
|
+
* - If `ResourceType` is set to `disk`, the operation queries data disk types that are not associated with a specific ECS instance type. In this case, the InstanceType parameter is optional.
|
|
11539
|
+
* - If `ResourceType` is set to `instance`, the operation queries data disk types that can be attached to an ECS instance. Because instance types impose restrictions on data disks, you must specify both `InstanceType` and `DataDiskCategory`.
|
|
11540
|
+
* - If DestinationResource is set to `SystemDisk` and `ResourceType` is set to `instance`, you must specify the InstanceType parameter because ECS instance types impose restrictions on system disks.
|
|
11541
|
+
* - If DestinationResource is set to `InstanceType`, specify the IoOptimized and InstanceType parameters.
|
|
11542
|
+
* - Query the inventory of ecs.g5.large across all zones in a specified region: `RegionId=ap-southeast-1 &DestinationResource=InstanceType &IoOptimized=optimized &InstanceType=ecs.g5.large`.
|
|
11543
|
+
* - Query the zones in a specified region where ecs.g5.large is available: `RegionId=ap-southeast-1 &DestinationResource=Zone &IoOptimized=optimized &InstanceType=ecs.g5.large`.
|
|
11540
11544
|
* <details>
|
|
11541
|
-
* <summary>
|
|
11542
|
-
* Query for availability zones in the China (Hangzhou) region that have the `ecs.g5.large` instance type.
|
|
11543
|
-
* </summary>
|
|
11545
|
+
* <summary>Query the zones in the China (Hangzhou) region where the ecs.g5.large instance type is available.</summary>
|
|
11544
11546
|
* ```
|
|
11545
11547
|
* "RegionId": "cn-hangzhou",
|
|
11546
|
-
* "DestinationResource": "Zone"
|
|
11548
|
+
* "DestinationResource": "Zone",
|
|
11547
11549
|
* "InstanceType": "ecs.g5.large"
|
|
11548
11550
|
* ```
|
|
11549
11551
|
* </details>
|
|
11550
11552
|
* <details>
|
|
11551
|
-
* <summary>
|
|
11552
|
-
* Query the inventory of the `ecs.g5.large` instance type across all availability zones in the China (Hangzhou) region.
|
|
11553
|
-
* </summary>
|
|
11553
|
+
* <summary>Query the inventory of the ecs.g5.large instance type across all zones in the China (Hangzhou) region.</summary>
|
|
11554
11554
|
* ```
|
|
11555
11555
|
* "RegionId": "cn-hangzhou",
|
|
11556
|
-
* "DestinationResource": "InstanceType"
|
|
11556
|
+
* "DestinationResource": "InstanceType",
|
|
11557
11557
|
* "InstanceType": "ecs.g5.large"
|
|
11558
11558
|
* ```
|
|
11559
11559
|
* </details>
|
|
11560
11560
|
* <details>
|
|
11561
|
-
* <summary>
|
|
11562
|
-
* Query the inventory of `cloud_efficiency` data disks in availability zone b of the China (Hangzhou) region, independent of any ECS instance type.
|
|
11563
|
-
* </summary>
|
|
11561
|
+
* <summary>[Purchase only a data disk] Query the inventory of the cloud_efficiency data disk type in Zone B of the China (Hangzhou) region.</summary>
|
|
11564
11562
|
* ```
|
|
11565
11563
|
* "RegionId": "cn-hangzhou",
|
|
11566
11564
|
* "ZoneId": "cn-hangzhou-b",
|
|
@@ -11569,9 +11567,7 @@ export default class Client extends OpenApi {
|
|
|
11569
11567
|
* ```
|
|
11570
11568
|
* </details>
|
|
11571
11569
|
* <details>
|
|
11572
|
-
* <summary>
|
|
11573
|
-
* Query the inventory of `cloud_essd` system disks for the `ecs.g7.large` instance type in availability zone b of the China (Hangzhou) region.
|
|
11574
|
-
* </summary>
|
|
11570
|
+
* <summary>[Purchase an ECS instance and a system disk] Query the inventory of the ecs.g7.large instance type with the cloud_essd system disk type in Zone B of the China (Hangzhou) region.</summary>
|
|
11575
11571
|
* ```
|
|
11576
11572
|
* "RegionId": "cn-hangzhou",
|
|
11577
11573
|
* "ZoneId": "cn-hangzhou-b",
|
|
@@ -11687,43 +11683,37 @@ export default class Client extends OpenApi {
|
|
|
11687
11683
|
}
|
|
11688
11684
|
|
|
11689
11685
|
/**
|
|
11690
|
-
*
|
|
11686
|
+
* Queries the inventory status of resources in a specified zone. This operation is primarily used to check whether target resources, such as instance types and system disk types, are available in a specific zone before you create instances (RunInstances) or modify instance specifications (ModifyInstanceSpec).
|
|
11691
11687
|
*
|
|
11692
11688
|
* @remarks
|
|
11693
|
-
* The
|
|
11694
|
-
* - Value
|
|
11689
|
+
* The DestinationResource parameter has different logic and requirements depending on its value. In the following ordered list, a lower-ranked value requires more parameters to be set. You cannot use a lower-ranked value to filter resources of a higher-ranked category.
|
|
11690
|
+
* - Value order: `Zone > IoOptimized > InstanceType = Network = ddh > SystemDisk > DataDisk`
|
|
11695
11691
|
* - Examples:
|
|
11696
|
-
*
|
|
11697
|
-
*
|
|
11698
|
-
*
|
|
11699
|
-
*
|
|
11700
|
-
*
|
|
11701
|
-
*
|
|
11702
|
-
*
|
|
11692
|
+
* - If DestinationResource is set to `DataDisk`:
|
|
11693
|
+
* - If `ResourceType` is set to `disk`, the operation queries data disk types that are not associated with a specific ECS instance type. In this case, the InstanceType parameter is optional.
|
|
11694
|
+
* - If `ResourceType` is set to `instance`, the operation queries data disk types that can be attached to an ECS instance. Because instance types impose restrictions on data disks, you must specify both `InstanceType` and `DataDiskCategory`.
|
|
11695
|
+
* - If DestinationResource is set to `SystemDisk` and `ResourceType` is set to `instance`, you must specify the InstanceType parameter because ECS instance types impose restrictions on system disks.
|
|
11696
|
+
* - If DestinationResource is set to `InstanceType`, specify the IoOptimized and InstanceType parameters.
|
|
11697
|
+
* - Query the inventory of ecs.g5.large across all zones in a specified region: `RegionId=ap-southeast-1 &DestinationResource=InstanceType &IoOptimized=optimized &InstanceType=ecs.g5.large`.
|
|
11698
|
+
* - Query the zones in a specified region where ecs.g5.large is available: `RegionId=ap-southeast-1 &DestinationResource=Zone &IoOptimized=optimized &InstanceType=ecs.g5.large`.
|
|
11703
11699
|
* <details>
|
|
11704
|
-
* <summary>
|
|
11705
|
-
* Query for availability zones in the China (Hangzhou) region that have the `ecs.g5.large` instance type.
|
|
11706
|
-
* </summary>
|
|
11700
|
+
* <summary>Query the zones in the China (Hangzhou) region where the ecs.g5.large instance type is available.</summary>
|
|
11707
11701
|
* ```
|
|
11708
11702
|
* "RegionId": "cn-hangzhou",
|
|
11709
|
-
* "DestinationResource": "Zone"
|
|
11703
|
+
* "DestinationResource": "Zone",
|
|
11710
11704
|
* "InstanceType": "ecs.g5.large"
|
|
11711
11705
|
* ```
|
|
11712
11706
|
* </details>
|
|
11713
11707
|
* <details>
|
|
11714
|
-
* <summary>
|
|
11715
|
-
* Query the inventory of the `ecs.g5.large` instance type across all availability zones in the China (Hangzhou) region.
|
|
11716
|
-
* </summary>
|
|
11708
|
+
* <summary>Query the inventory of the ecs.g5.large instance type across all zones in the China (Hangzhou) region.</summary>
|
|
11717
11709
|
* ```
|
|
11718
11710
|
* "RegionId": "cn-hangzhou",
|
|
11719
|
-
* "DestinationResource": "InstanceType"
|
|
11711
|
+
* "DestinationResource": "InstanceType",
|
|
11720
11712
|
* "InstanceType": "ecs.g5.large"
|
|
11721
11713
|
* ```
|
|
11722
11714
|
* </details>
|
|
11723
11715
|
* <details>
|
|
11724
|
-
* <summary>
|
|
11725
|
-
* Query the inventory of `cloud_efficiency` data disks in availability zone b of the China (Hangzhou) region, independent of any ECS instance type.
|
|
11726
|
-
* </summary>
|
|
11716
|
+
* <summary>[Purchase only a data disk] Query the inventory of the cloud_efficiency data disk type in Zone B of the China (Hangzhou) region.</summary>
|
|
11727
11717
|
* ```
|
|
11728
11718
|
* "RegionId": "cn-hangzhou",
|
|
11729
11719
|
* "ZoneId": "cn-hangzhou-b",
|
|
@@ -11732,9 +11722,7 @@ export default class Client extends OpenApi {
|
|
|
11732
11722
|
* ```
|
|
11733
11723
|
* </details>
|
|
11734
11724
|
* <details>
|
|
11735
|
-
* <summary>
|
|
11736
|
-
* Query the inventory of `cloud_essd` system disks for the `ecs.g7.large` instance type in availability zone b of the China (Hangzhou) region.
|
|
11737
|
-
* </summary>
|
|
11725
|
+
* <summary>[Purchase an ECS instance and a system disk] Query the inventory of the ecs.g7.large instance type with the cloud_essd system disk type in Zone B of the China (Hangzhou) region.</summary>
|
|
11738
11726
|
* ```
|
|
11739
11727
|
* "RegionId": "cn-hangzhou",
|
|
11740
11728
|
* "ZoneId": "cn-hangzhou-b",
|
|
@@ -13459,14 +13447,14 @@ export default class Client extends OpenApi {
|
|
|
13459
13447
|
}
|
|
13460
13448
|
|
|
13461
13449
|
/**
|
|
13462
|
-
* Queries information about one or more created block storage devices, including disks, local disks, and elastic ephemeral disks.
|
|
13450
|
+
* Queries information about one or more created block storage devices, including cloud disks, local disks, and elastic ephemeral disks.
|
|
13463
13451
|
*
|
|
13464
13452
|
* @remarks
|
|
13465
|
-
* - The request parameters RegionId, ZoneId, DiskIds, and InstanceId are filters.
|
|
13466
|
-
* - The DiskIds request parameter is a JSON format array. If
|
|
13467
|
-
* - Token-based paged query is supported. Set NextToken to the NextToken value returned in the previous call of DescribeDisks
|
|
13468
|
-
* - A disk with the multi-attach feature enabled can be attached to multiple instances. You can
|
|
13469
|
-
* When you
|
|
13453
|
+
* - The request parameters RegionId, ZoneId, DiskIds, and InstanceId are filters. These parameters have a logical AND relationship.
|
|
13454
|
+
* - The DiskIds request parameter is a JSON format array. If this parameter is empty, the filter does not take effect. However, if DiskIds is an empty array, the filter is considered valid and an empty result is returned.
|
|
13455
|
+
* - Token-based paged query is supported. Set the NextToken parameter to specify the query token. Its value is the NextToken value returned in the previous call of DescribeDisks. Use MaxResults to settings the maximum number of entries per page.
|
|
13456
|
+
* - A cloud disk with the multi-attach feature enabled can be attached to multiple instances. You can view all attachment information for the disk from the Attachment list in the response.
|
|
13457
|
+
* When you invoke an API operation by using Cloud Assistant CLI, specify request parameters of different data types in the required formats. For more information, see [Parameter format overview](https://help.aliyun.com/document_detail/110340.html).
|
|
13470
13458
|
*
|
|
13471
13459
|
* @param request - DescribeDisksRequest
|
|
13472
13460
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13629,14 +13617,14 @@ export default class Client extends OpenApi {
|
|
|
13629
13617
|
}
|
|
13630
13618
|
|
|
13631
13619
|
/**
|
|
13632
|
-
* Queries information about one or more created block storage devices, including disks, local disks, and elastic ephemeral disks.
|
|
13620
|
+
* Queries information about one or more created block storage devices, including cloud disks, local disks, and elastic ephemeral disks.
|
|
13633
13621
|
*
|
|
13634
13622
|
* @remarks
|
|
13635
|
-
* - The request parameters RegionId, ZoneId, DiskIds, and InstanceId are filters.
|
|
13636
|
-
* - The DiskIds request parameter is a JSON format array. If
|
|
13637
|
-
* - Token-based paged query is supported. Set NextToken to the NextToken value returned in the previous call of DescribeDisks
|
|
13638
|
-
* - A disk with the multi-attach feature enabled can be attached to multiple instances. You can
|
|
13639
|
-
* When you
|
|
13623
|
+
* - The request parameters RegionId, ZoneId, DiskIds, and InstanceId are filters. These parameters have a logical AND relationship.
|
|
13624
|
+
* - The DiskIds request parameter is a JSON format array. If this parameter is empty, the filter does not take effect. However, if DiskIds is an empty array, the filter is considered valid and an empty result is returned.
|
|
13625
|
+
* - Token-based paged query is supported. Set the NextToken parameter to specify the query token. Its value is the NextToken value returned in the previous call of DescribeDisks. Use MaxResults to settings the maximum number of entries per page.
|
|
13626
|
+
* - A cloud disk with the multi-attach feature enabled can be attached to multiple instances. You can view all attachment information for the disk from the Attachment list in the response.
|
|
13627
|
+
* When you invoke an API operation by using Cloud Assistant CLI, specify request parameters of different data types in the required formats. For more information, see [Parameter format overview](https://help.aliyun.com/document_detail/110340.html).
|
|
13640
13628
|
*
|
|
13641
13629
|
* @param request - DescribeDisksRequest
|
|
13642
13630
|
* @returns DescribeDisksResponse
|
|
@@ -14508,7 +14496,7 @@ export default class Client extends OpenApi {
|
|
|
14508
14496
|
* Queries the details of one or more image components.
|
|
14509
14497
|
*
|
|
14510
14498
|
* @remarks
|
|
14511
|
-
* You can set
|
|
14499
|
+
* You can set NextToken to the value of NextToken returned by the previous call to DescribeImageComponents, and set MaxResults to specify the maximum number of entries per page.
|
|
14512
14500
|
*
|
|
14513
14501
|
* @param request - DescribeImageComponentsRequest
|
|
14514
14502
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14606,7 +14594,7 @@ export default class Client extends OpenApi {
|
|
|
14606
14594
|
* Queries the details of one or more image components.
|
|
14607
14595
|
*
|
|
14608
14596
|
* @remarks
|
|
14609
|
-
* You can set
|
|
14597
|
+
* You can set NextToken to the value of NextToken returned by the previous call to DescribeImageComponents, and set MaxResults to specify the maximum number of entries per page.
|
|
14610
14598
|
*
|
|
14611
14599
|
* @param request - DescribeImageComponentsRequest
|
|
14612
14600
|
* @returns DescribeImageComponentsResponse
|
|
@@ -15255,7 +15243,7 @@ export default class Client extends OpenApi {
|
|
|
15255
15243
|
}
|
|
15256
15244
|
|
|
15257
15245
|
/**
|
|
15258
|
-
*
|
|
15246
|
+
* Queries the attribute information of a specified ECS instance.
|
|
15259
15247
|
*
|
|
15260
15248
|
* @param request - DescribeInstanceAttributeRequest
|
|
15261
15249
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15302,7 +15290,7 @@ export default class Client extends OpenApi {
|
|
|
15302
15290
|
}
|
|
15303
15291
|
|
|
15304
15292
|
/**
|
|
15305
|
-
*
|
|
15293
|
+
* Queries the attribute information of a specified ECS instance.
|
|
15306
15294
|
*
|
|
15307
15295
|
* @param request - DescribeInstanceAttributeRequest
|
|
15308
15296
|
* @returns DescribeInstanceAttributeResponse
|
|
@@ -15395,12 +15383,12 @@ export default class Client extends OpenApi {
|
|
|
15395
15383
|
}
|
|
15396
15384
|
|
|
15397
15385
|
/**
|
|
15398
|
-
*
|
|
15386
|
+
* Queries system event information for a specified instance by calling the DescribeInstanceHistoryEvents operation. You can specify parameters such as InstanceId and EventType. By default, this operation queries historical system events in inactive states.
|
|
15399
15387
|
*
|
|
15400
15388
|
* @remarks
|
|
15401
|
-
* - You can query completed historical system events from
|
|
15402
|
-
* -
|
|
15403
|
-
* - By specifying the InstanceEventCycleStatus parameter, you can also query system events in the Scheduled
|
|
15389
|
+
* - You can query completed historical system events from the last 30 days. There is no time limit for querying uncompleted system events.
|
|
15390
|
+
* - If neither EventCycleStatus nor InstanceEventCycleStatus is specified, the query results include only system events in the Avoided, Executed, Canceled, and Failed states by default.
|
|
15391
|
+
* - By specifying the InstanceEventCycleStatus parameter, you can also query system events in the Scheduled, Executing, and Inquiring states.
|
|
15404
15392
|
*
|
|
15405
15393
|
* @param request - DescribeInstanceHistoryEventsRequest
|
|
15406
15394
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15519,12 +15507,12 @@ export default class Client extends OpenApi {
|
|
|
15519
15507
|
}
|
|
15520
15508
|
|
|
15521
15509
|
/**
|
|
15522
|
-
*
|
|
15510
|
+
* Queries system event information for a specified instance by calling the DescribeInstanceHistoryEvents operation. You can specify parameters such as InstanceId and EventType. By default, this operation queries historical system events in inactive states.
|
|
15523
15511
|
*
|
|
15524
15512
|
* @remarks
|
|
15525
|
-
* - You can query completed historical system events from
|
|
15526
|
-
* -
|
|
15527
|
-
* - By specifying the InstanceEventCycleStatus parameter, you can also query system events in the Scheduled
|
|
15513
|
+
* - You can query completed historical system events from the last 30 days. There is no time limit for querying uncompleted system events.
|
|
15514
|
+
* - If neither EventCycleStatus nor InstanceEventCycleStatus is specified, the query results include only system events in the Avoided, Executed, Canceled, and Failed states by default.
|
|
15515
|
+
* - By specifying the InstanceEventCycleStatus parameter, you can also query system events in the Scheduled, Executing, and Inquiring states.
|
|
15528
15516
|
*
|
|
15529
15517
|
* @param request - DescribeInstanceHistoryEventsRequest
|
|
15530
15518
|
* @returns DescribeInstanceHistoryEventsResponse
|
|
@@ -16469,14 +16457,14 @@ export default class Client extends OpenApi {
|
|
|
16469
16457
|
}
|
|
16470
16458
|
|
|
16471
16459
|
/**
|
|
16472
|
-
*
|
|
16460
|
+
* Queries a list of instances based on specified request conditions and returns the associated detailed information of the instances.
|
|
16473
16461
|
*
|
|
16474
16462
|
* @remarks
|
|
16463
|
+
* ### Before you begin
|
|
16464
|
+
* - When you invoke API operations by using Cloud Assistant CLI, make sure that request parameters of different data types are in the required formats. For more information, see [CLI parameter format](https://help.aliyun.com/document_detail/110340.html).
|
|
16475
16465
|
* ### Usage notes
|
|
16476
|
-
* -
|
|
16477
|
-
*
|
|
16478
|
-
* - We recommend that you perform a dry run by setting the DryRun parameter to check parameter validity and authorization status.
|
|
16479
|
-
* - To query the first page of results, set the `MaxResults` parameter to limit the number of entries returned. Use the `NextToken` value in the response to retrieve subsequent pages. For subsequent page queries, set the `NextToken` parameter to the value from the previous response and set `MaxResults` to limit the number of entries returned.
|
|
16466
|
+
* - Send a dry run request by using the DryRun request parameter to check the validity of parameters and authorization.
|
|
16467
|
+
* - When performing a paging query for the first page of results, set only `MaxResults` to limit the number of entries to return. The `NextToken` value in the response is used as the credential for querying subsequent pages. When performing a paging query for subsequent pages, set `NextToken` to the `NextToken` value obtained from the previous response and set `MaxResults` to limit the number of entries to return.
|
|
16480
16468
|
*
|
|
16481
16469
|
* @param request - DescribeInstancesRequest
|
|
16482
16470
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16671,14 +16659,14 @@ export default class Client extends OpenApi {
|
|
|
16671
16659
|
}
|
|
16672
16660
|
|
|
16673
16661
|
/**
|
|
16674
|
-
*
|
|
16662
|
+
* Queries a list of instances based on specified request conditions and returns the associated detailed information of the instances.
|
|
16675
16663
|
*
|
|
16676
16664
|
* @remarks
|
|
16665
|
+
* ### Before you begin
|
|
16666
|
+
* - When you invoke API operations by using Cloud Assistant CLI, make sure that request parameters of different data types are in the required formats. For more information, see [CLI parameter format](https://help.aliyun.com/document_detail/110340.html).
|
|
16677
16667
|
* ### Usage notes
|
|
16678
|
-
* -
|
|
16679
|
-
*
|
|
16680
|
-
* - We recommend that you perform a dry run by setting the DryRun parameter to check parameter validity and authorization status.
|
|
16681
|
-
* - To query the first page of results, set the `MaxResults` parameter to limit the number of entries returned. Use the `NextToken` value in the response to retrieve subsequent pages. For subsequent page queries, set the `NextToken` parameter to the value from the previous response and set `MaxResults` to limit the number of entries returned.
|
|
16668
|
+
* - Send a dry run request by using the DryRun request parameter to check the validity of parameters and authorization.
|
|
16669
|
+
* - When performing a paging query for the first page of results, set only `MaxResults` to limit the number of entries to return. The `NextToken` value in the response is used as the credential for querying subsequent pages. When performing a paging query for subsequent pages, set `NextToken` to the `NextToken` value obtained from the previous response and set `MaxResults` to limit the number of entries to return.
|
|
16682
16670
|
*
|
|
16683
16671
|
* @param request - DescribeInstancesRequest
|
|
16684
16672
|
* @returns DescribeInstancesResponse
|
|
@@ -16801,22 +16789,22 @@ export default class Client extends OpenApi {
|
|
|
16801
16789
|
}
|
|
16802
16790
|
|
|
16803
16791
|
/**
|
|
16804
|
-
*
|
|
16792
|
+
* Queries the execution results of one or more Cloud Assistant commands, which are the actual execution results on ECS instances.
|
|
16805
16793
|
*
|
|
16806
16794
|
* @remarks
|
|
16807
|
-
* ##
|
|
16808
|
-
* - After you
|
|
16809
|
-
* - You can query execution information from the last
|
|
16810
|
-
* - You can
|
|
16811
|
-
* - When
|
|
16795
|
+
* ## Operation description
|
|
16796
|
+
* - After you run a command, the command is not guaranteed to succeed or produce the expected results. Call this operation to view the actual execution results based on the actual output.
|
|
16797
|
+
* - You can query execution information from the last 30 days. A maximum of 10,000 entries of execution information can be retained.
|
|
16798
|
+
* - You can use [Cloud Assistant task status event subscription](https://help.aliyun.com/document_detail/2669130.html) to obtain task results through events, which avoids frequent polling and improves efficiency.
|
|
16799
|
+
* - When paged query the first page, set only MaxResults to limit the number of entries to return. The NextToken value in the response serves as the token for querying subsequent pages. When paged query subsequent pages, set NextToken to the NextToken value obtained from the previous response and set MaxResults to limit the number of entries to return.
|
|
16812
16800
|
* - Differences between `DescribeInvocations` and `DescribeInvocationResults`:
|
|
16813
|
-
*
|
|
16814
|
-
*
|
|
16815
|
-
*
|
|
16816
|
-
*
|
|
16817
|
-
*
|
|
16818
|
-
*
|
|
16819
|
-
*
|
|
16801
|
+
* - When a single `RunCommand`/`InvokeCommand` call specifies multiple instances:
|
|
16802
|
+
* - `DescribeInvocations` returns the execution status on each instance and the aggregated status across all instances.
|
|
16803
|
+
* - `DescribeInvocationResults` returns only the individual execution status on each instance, without the aggregated status across instances.
|
|
16804
|
+
* - When a single `RunCommand`/`InvokeCommand` call specifies one instance:
|
|
16805
|
+
* - `DescribeInvocations` and `DescribeInvocationResults` are largely interchangeable.
|
|
16806
|
+
* - When you want to view the execution history of scheduled (periodic) tasks or tasks that run at each system startup (`RepeatMode=Period, EveryReboot`), only `DescribeInvocationResults` can return historical execution records (you must specify `IncludeHistory=true`). `DescribeInvocations` returns only the latest task status.
|
|
16807
|
+
* - When you want to view the command content and parameters, only `DescribeInvocations` returns `CommandContent`.
|
|
16820
16808
|
*
|
|
16821
16809
|
* @param request - DescribeInvocationResultsRequest
|
|
16822
16810
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16915,22 +16903,22 @@ export default class Client extends OpenApi {
|
|
|
16915
16903
|
}
|
|
16916
16904
|
|
|
16917
16905
|
/**
|
|
16918
|
-
*
|
|
16906
|
+
* Queries the execution results of one or more Cloud Assistant commands, which are the actual execution results on ECS instances.
|
|
16919
16907
|
*
|
|
16920
16908
|
* @remarks
|
|
16921
|
-
* ##
|
|
16922
|
-
* - After you
|
|
16923
|
-
* - You can query execution information from the last
|
|
16924
|
-
* - You can
|
|
16925
|
-
* - When
|
|
16909
|
+
* ## Operation description
|
|
16910
|
+
* - After you run a command, the command is not guaranteed to succeed or produce the expected results. Call this operation to view the actual execution results based on the actual output.
|
|
16911
|
+
* - You can query execution information from the last 30 days. A maximum of 10,000 entries of execution information can be retained.
|
|
16912
|
+
* - You can use [Cloud Assistant task status event subscription](https://help.aliyun.com/document_detail/2669130.html) to obtain task results through events, which avoids frequent polling and improves efficiency.
|
|
16913
|
+
* - When paged query the first page, set only MaxResults to limit the number of entries to return. The NextToken value in the response serves as the token for querying subsequent pages. When paged query subsequent pages, set NextToken to the NextToken value obtained from the previous response and set MaxResults to limit the number of entries to return.
|
|
16926
16914
|
* - Differences between `DescribeInvocations` and `DescribeInvocationResults`:
|
|
16927
|
-
*
|
|
16928
|
-
*
|
|
16929
|
-
*
|
|
16930
|
-
*
|
|
16931
|
-
*
|
|
16932
|
-
*
|
|
16933
|
-
*
|
|
16915
|
+
* - When a single `RunCommand`/`InvokeCommand` call specifies multiple instances:
|
|
16916
|
+
* - `DescribeInvocations` returns the execution status on each instance and the aggregated status across all instances.
|
|
16917
|
+
* - `DescribeInvocationResults` returns only the individual execution status on each instance, without the aggregated status across instances.
|
|
16918
|
+
* - When a single `RunCommand`/`InvokeCommand` call specifies one instance:
|
|
16919
|
+
* - `DescribeInvocations` and `DescribeInvocationResults` are largely interchangeable.
|
|
16920
|
+
* - When you want to view the execution history of scheduled (periodic) tasks or tasks that run at each system startup (`RepeatMode=Period, EveryReboot`), only `DescribeInvocationResults` can return historical execution records (you must specify `IncludeHistory=true`). `DescribeInvocations` returns only the latest task status.
|
|
16921
|
+
* - When you want to view the command content and parameters, only `DescribeInvocations` returns `CommandContent`.
|
|
16934
16922
|
*
|
|
16935
16923
|
* @param request - DescribeInvocationResultsRequest
|
|
16936
16924
|
* @returns DescribeInvocationResultsResponse
|
|
@@ -16941,21 +16929,21 @@ export default class Client extends OpenApi {
|
|
|
16941
16929
|
}
|
|
16942
16930
|
|
|
16943
16931
|
/**
|
|
16944
|
-
*
|
|
16932
|
+
* Queries the execution list and status of Cloud Assistant commands.
|
|
16945
16933
|
*
|
|
16946
16934
|
* @remarks
|
|
16947
|
-
* - After you
|
|
16948
|
-
* - You can query execution information from the
|
|
16949
|
-
* - You can subscribe to [Cloud Assistant task status
|
|
16950
|
-
* - When
|
|
16935
|
+
* - After you run a command, the command does not necessarily run successfully or produce the expected results. You must check the actual execution results based on the return values of this operation. The actual output takes precedence.
|
|
16936
|
+
* - You can query execution information from the last 30 days. A maximum of 10,000 execution records are retained.
|
|
16937
|
+
* - You can subscribe to [Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain task results through events, which avoids frequent polling and improves efficiency.
|
|
16938
|
+
* - When paged query the first page, set only MaxResults to limit the number of entries to return. The NextToken value in the response serves as the token for querying subsequent pages. When paged query subsequent pages, set NextToken to the NextToken value obtained from the previous response and set MaxResults to limit the number of entries to return.
|
|
16951
16939
|
* - Differences between `DescribeInvocations` and `DescribeInvocationResults`:
|
|
16952
|
-
*
|
|
16953
|
-
*
|
|
16954
|
-
*
|
|
16955
|
-
*
|
|
16956
|
-
*
|
|
16957
|
-
*
|
|
16958
|
-
*
|
|
16940
|
+
* - When a single `RunCommand`/`InvokeCommand` call specifies multiple instances:
|
|
16941
|
+
* - `DescribeInvocations` returns the execution status on each instance and the aggregated status across all instances.
|
|
16942
|
+
* - `DescribeInvocationResults` returns only the individual execution status on each instance, without the aggregated status.
|
|
16943
|
+
* - When a single `RunCommand`/`InvokeCommand` call specifies one instance:
|
|
16944
|
+
* - `DescribeInvocations` and `DescribeInvocationResults` are largely interchangeable.
|
|
16945
|
+
* - To view the execution details of each run for scheduled (periodic) or boot-triggered tasks (`RepeatMode=Period, EveryReboot`), only `DescribeInvocationResults` can return historical execution records (with `IncludeHistory=true` specified). `DescribeInvocations` returns only the latest task status.
|
|
16946
|
+
* - To view the command content and parameters, only `DescribeInvocations` returns `CommandContent`.
|
|
16959
16947
|
*
|
|
16960
16948
|
* @param request - DescribeInvocationsRequest
|
|
16961
16949
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17070,21 +17058,21 @@ export default class Client extends OpenApi {
|
|
|
17070
17058
|
}
|
|
17071
17059
|
|
|
17072
17060
|
/**
|
|
17073
|
-
*
|
|
17061
|
+
* Queries the execution list and status of Cloud Assistant commands.
|
|
17074
17062
|
*
|
|
17075
17063
|
* @remarks
|
|
17076
|
-
* - After you
|
|
17077
|
-
* - You can query execution information from the
|
|
17078
|
-
* - You can subscribe to [Cloud Assistant task status
|
|
17079
|
-
* - When
|
|
17064
|
+
* - After you run a command, the command does not necessarily run successfully or produce the expected results. You must check the actual execution results based on the return values of this operation. The actual output takes precedence.
|
|
17065
|
+
* - You can query execution information from the last 30 days. A maximum of 10,000 execution records are retained.
|
|
17066
|
+
* - You can subscribe to [Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain task results through events, which avoids frequent polling and improves efficiency.
|
|
17067
|
+
* - When paged query the first page, set only MaxResults to limit the number of entries to return. The NextToken value in the response serves as the token for querying subsequent pages. When paged query subsequent pages, set NextToken to the NextToken value obtained from the previous response and set MaxResults to limit the number of entries to return.
|
|
17080
17068
|
* - Differences between `DescribeInvocations` and `DescribeInvocationResults`:
|
|
17081
|
-
*
|
|
17082
|
-
*
|
|
17083
|
-
*
|
|
17084
|
-
*
|
|
17085
|
-
*
|
|
17086
|
-
*
|
|
17087
|
-
*
|
|
17069
|
+
* - When a single `RunCommand`/`InvokeCommand` call specifies multiple instances:
|
|
17070
|
+
* - `DescribeInvocations` returns the execution status on each instance and the aggregated status across all instances.
|
|
17071
|
+
* - `DescribeInvocationResults` returns only the individual execution status on each instance, without the aggregated status.
|
|
17072
|
+
* - When a single `RunCommand`/`InvokeCommand` call specifies one instance:
|
|
17073
|
+
* - `DescribeInvocations` and `DescribeInvocationResults` are largely interchangeable.
|
|
17074
|
+
* - To view the execution details of each run for scheduled (periodic) or boot-triggered tasks (`RepeatMode=Period, EveryReboot`), only `DescribeInvocationResults` can return historical execution records (with `IncludeHistory=true` specified). `DescribeInvocations` returns only the latest task status.
|
|
17075
|
+
* - To view the command content and parameters, only `DescribeInvocations` returns `CommandContent`.
|
|
17088
17076
|
*
|
|
17089
17077
|
* @param request - DescribeInvocationsRequest
|
|
17090
17078
|
* @returns DescribeInvocationsResponse
|
|
@@ -17177,7 +17165,7 @@ export default class Client extends OpenApi {
|
|
|
17177
17165
|
}
|
|
17178
17166
|
|
|
17179
17167
|
/**
|
|
17180
|
-
*
|
|
17168
|
+
* Queries information about launch template versions of ECS instances, such as the total number of launch templates, template names, and template version numbers.
|
|
17181
17169
|
*
|
|
17182
17170
|
* @param request - DescribeLaunchTemplateVersionsRequest
|
|
17183
17171
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17260,7 +17248,7 @@ export default class Client extends OpenApi {
|
|
|
17260
17248
|
}
|
|
17261
17249
|
|
|
17262
17250
|
/**
|
|
17263
|
-
*
|
|
17251
|
+
* Queries information about launch template versions of ECS instances, such as the total number of launch templates, template names, and template version numbers.
|
|
17264
17252
|
*
|
|
17265
17253
|
* @param request - DescribeLaunchTemplateVersionsRequest
|
|
17266
17254
|
* @returns DescribeLaunchTemplateVersionsResponse
|
|
@@ -18705,17 +18693,18 @@ export default class Client extends OpenApi {
|
|
|
18705
18693
|
}
|
|
18706
18694
|
|
|
18707
18695
|
/**
|
|
18708
|
-
*
|
|
18696
|
+
* Queries the latest prices of specified resources. You can query the latest prices of ECS instances, disks, dedicated hosts, elasticity assurance services, and capacity reservation services based on resource type. The response includes promotion rules, prices, and discounts.
|
|
18709
18697
|
*
|
|
18710
18698
|
* @remarks
|
|
18711
|
-
*
|
|
18712
|
-
*
|
|
18713
|
-
*
|
|
18714
|
-
*
|
|
18715
|
-
* -
|
|
18716
|
-
*
|
|
18717
|
-
*
|
|
18718
|
-
*
|
|
18699
|
+
* The parameter settings vary based on the resource type:
|
|
18700
|
+
* - When `ResourceType=instance`, you must also specify `InstanceType`.
|
|
18701
|
+
* By default, the price of the pay-as-you-go (`PostPaid`) billing method (`ChargeType`) is queried. You can specify the `PriceUnit` parameter to query Elastic Compute Service (ECS) prices for different billing cycles.
|
|
18702
|
+
* - When `ResourceType=disk`, you must also specify `DataDisk.1.Category` and `DataDisk.1.Size`. When you query the price of `disk` resources, only the pay-as-you-go price of disks is returned. This means that the `PriceUnit` parameter can only be set to `Hour`.
|
|
18703
|
+
* - When `ResourceType=diskperformance`, you must also specify `DataDisk.1.Category` and `DataDisk.1.ProvisionedIops`.
|
|
18704
|
+
* - When `ResourceType=ddh`, you must also specify `DedicatedHostType`.
|
|
18705
|
+
* - When `ResourceType=ElasticityAssurance`, you must also specify `InstanceType`.
|
|
18706
|
+
* - When `ResourceType=CapacityReservation`, you must also specify `InstanceType`.
|
|
18707
|
+
* - When `ResourceType=bandwidth`, only the pay-by-traffic (`PayByTraffic`) price is returned.
|
|
18719
18708
|
*
|
|
18720
18709
|
* @param request - DescribePriceRequest
|
|
18721
18710
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18874,17 +18863,18 @@ export default class Client extends OpenApi {
|
|
|
18874
18863
|
}
|
|
18875
18864
|
|
|
18876
18865
|
/**
|
|
18877
|
-
*
|
|
18866
|
+
* Queries the latest prices of specified resources. You can query the latest prices of ECS instances, disks, dedicated hosts, elasticity assurance services, and capacity reservation services based on resource type. The response includes promotion rules, prices, and discounts.
|
|
18878
18867
|
*
|
|
18879
18868
|
* @remarks
|
|
18880
|
-
*
|
|
18881
|
-
*
|
|
18882
|
-
*
|
|
18883
|
-
*
|
|
18884
|
-
* -
|
|
18885
|
-
*
|
|
18886
|
-
*
|
|
18887
|
-
*
|
|
18869
|
+
* The parameter settings vary based on the resource type:
|
|
18870
|
+
* - When `ResourceType=instance`, you must also specify `InstanceType`.
|
|
18871
|
+
* By default, the price of the pay-as-you-go (`PostPaid`) billing method (`ChargeType`) is queried. You can specify the `PriceUnit` parameter to query Elastic Compute Service (ECS) prices for different billing cycles.
|
|
18872
|
+
* - When `ResourceType=disk`, you must also specify `DataDisk.1.Category` and `DataDisk.1.Size`. When you query the price of `disk` resources, only the pay-as-you-go price of disks is returned. This means that the `PriceUnit` parameter can only be set to `Hour`.
|
|
18873
|
+
* - When `ResourceType=diskperformance`, you must also specify `DataDisk.1.Category` and `DataDisk.1.ProvisionedIops`.
|
|
18874
|
+
* - When `ResourceType=ddh`, you must also specify `DedicatedHostType`.
|
|
18875
|
+
* - When `ResourceType=ElasticityAssurance`, you must also specify `InstanceType`.
|
|
18876
|
+
* - When `ResourceType=CapacityReservation`, you must also specify `InstanceType`.
|
|
18877
|
+
* - When `ResourceType=bandwidth`, only the pay-by-traffic (`PayByTraffic`) price is returned.
|
|
18888
18878
|
*
|
|
18889
18879
|
* @param request - DescribePriceRequest
|
|
18890
18880
|
* @returns DescribePriceResponse
|
|
@@ -18895,7 +18885,7 @@ export default class Client extends OpenApi {
|
|
|
18895
18885
|
}
|
|
18896
18886
|
|
|
18897
18887
|
/**
|
|
18898
|
-
*
|
|
18888
|
+
* (Beta)调用 DescribeRecommendInstanceType 根据一个指定的实例规格,查找一个或多个备选的实例规格。针对已经或者即将停售的实例规格,DescribeRecommendInstanceType会罗列出作为替补的所有实例规格。
|
|
18899
18889
|
*
|
|
18900
18890
|
* @param request - DescribeRecommendInstanceTypeRequest
|
|
18901
18891
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19002,7 +18992,7 @@ export default class Client extends OpenApi {
|
|
|
19002
18992
|
}
|
|
19003
18993
|
|
|
19004
18994
|
/**
|
|
19005
|
-
*
|
|
18995
|
+
* (Beta)调用 DescribeRecommendInstanceType 根据一个指定的实例规格,查找一个或多个备选的实例规格。针对已经或者即将停售的实例规格,DescribeRecommendInstanceType会罗列出作为替补的所有实例规格。
|
|
19006
18996
|
*
|
|
19007
18997
|
* @param request - DescribeRecommendInstanceTypeRequest
|
|
19008
18998
|
* @returns DescribeRecommendInstanceTypeResponse
|
|
@@ -19468,42 +19458,42 @@ export default class Client extends OpenApi {
|
|
|
19468
19458
|
}
|
|
19469
19459
|
|
|
19470
19460
|
/**
|
|
19471
|
-
* Queries
|
|
19461
|
+
* Queries the inventory of instance types or system disk types in a zone before you change the instance type or system disk type of an instance.
|
|
19472
19462
|
*
|
|
19473
19463
|
* @remarks
|
|
19474
|
-
*
|
|
19475
|
-
* ###
|
|
19476
|
-
* Query the instance types to which
|
|
19464
|
+
* The following examples describe common change scenarios:
|
|
19465
|
+
* ### Example 1: Query instance types to which the current instance can be changed
|
|
19466
|
+
* Query the instance types to which instance i-bp67acfmxazb4p**** can be changed, and the inventory of the corresponding instance types in the zone where the instance resides.
|
|
19477
19467
|
* ```
|
|
19478
19468
|
* http(s)://ecs.aliyuncs.com/?Action=DescribeResourcesModification
|
|
19479
|
-
* &RegionId=
|
|
19469
|
+
* &RegionId=ap-southeast-1
|
|
19480
19470
|
* &ResourceId=i-bp67acfmxazb4p****
|
|
19481
19471
|
* &DestinationResource=InstanceType
|
|
19482
19472
|
* &OperationType=Upgrade
|
|
19483
|
-
*
|
|
19473
|
+
* &Common request parameters
|
|
19484
19474
|
* ```
|
|
19485
|
-
* ###
|
|
19486
|
-
* Query the instance types to which
|
|
19475
|
+
* ### Example 2: Query instance types available after changing the disk type of the current instance
|
|
19476
|
+
* Query the instance types to which instance i-bp67acfmxazb4p**** can be changed after the disk type is changed, and the inventory of the corresponding instance types in the zone where the instance resides.
|
|
19487
19477
|
* ```
|
|
19488
19478
|
* http(s)://ecs.aliyuncs.com/?Action=DescribeResourcesModification
|
|
19489
|
-
* &RegionId=
|
|
19479
|
+
* &RegionId=ap-southeast-1
|
|
19490
19480
|
* &ResourceId=i-bp67acfmxazb4p****
|
|
19491
19481
|
* &DestinationResource=InstanceType
|
|
19492
19482
|
* &OperationType=Upgrade
|
|
19493
19483
|
* &Conditions.0=DiskCategory
|
|
19494
|
-
*
|
|
19484
|
+
* &Common request parameters
|
|
19495
19485
|
* ```
|
|
19496
|
-
* ###
|
|
19497
|
-
* Query the
|
|
19498
|
-
* >
|
|
19486
|
+
* ### Example 3: Query the disk type required by the target instance type
|
|
19487
|
+
* Query the disk type required by the target instance type (for example, ecs.g7.large). The current instance i-bp67acfmxazb4p**** must be changed to this disk type before it can be changed to the target instance type. Also query the inventory of the disk type in the zone where the instance resides.
|
|
19488
|
+
* > The target instance type must be obtained by using Example 2.
|
|
19499
19489
|
* ```
|
|
19500
19490
|
* http(s)://ecs.aliyuncs.com/?Action=DescribeResourcesModification
|
|
19501
|
-
* &RegionId=
|
|
19491
|
+
* &RegionId=ap-southeast-1
|
|
19502
19492
|
* &ResourceId=i-bp67acfmxazb4p****
|
|
19503
19493
|
* &DestinationResource=SystemDisk
|
|
19504
19494
|
* &OperationType=Upgrade
|
|
19505
19495
|
* &InstanceType=ecs.g7.large
|
|
19506
|
-
*
|
|
19496
|
+
* &Common request parameters
|
|
19507
19497
|
* ```
|
|
19508
19498
|
*
|
|
19509
19499
|
* @param request - DescribeResourcesModificationRequest
|
|
@@ -19587,42 +19577,42 @@ export default class Client extends OpenApi {
|
|
|
19587
19577
|
}
|
|
19588
19578
|
|
|
19589
19579
|
/**
|
|
19590
|
-
* Queries
|
|
19580
|
+
* Queries the inventory of instance types or system disk types in a zone before you change the instance type or system disk type of an instance.
|
|
19591
19581
|
*
|
|
19592
19582
|
* @remarks
|
|
19593
|
-
*
|
|
19594
|
-
* ###
|
|
19595
|
-
* Query the instance types to which
|
|
19583
|
+
* The following examples describe common change scenarios:
|
|
19584
|
+
* ### Example 1: Query instance types to which the current instance can be changed
|
|
19585
|
+
* Query the instance types to which instance i-bp67acfmxazb4p**** can be changed, and the inventory of the corresponding instance types in the zone where the instance resides.
|
|
19596
19586
|
* ```
|
|
19597
19587
|
* http(s)://ecs.aliyuncs.com/?Action=DescribeResourcesModification
|
|
19598
|
-
* &RegionId=
|
|
19588
|
+
* &RegionId=ap-southeast-1
|
|
19599
19589
|
* &ResourceId=i-bp67acfmxazb4p****
|
|
19600
19590
|
* &DestinationResource=InstanceType
|
|
19601
19591
|
* &OperationType=Upgrade
|
|
19602
|
-
*
|
|
19592
|
+
* &Common request parameters
|
|
19603
19593
|
* ```
|
|
19604
|
-
* ###
|
|
19605
|
-
* Query the instance types to which
|
|
19594
|
+
* ### Example 2: Query instance types available after changing the disk type of the current instance
|
|
19595
|
+
* Query the instance types to which instance i-bp67acfmxazb4p**** can be changed after the disk type is changed, and the inventory of the corresponding instance types in the zone where the instance resides.
|
|
19606
19596
|
* ```
|
|
19607
19597
|
* http(s)://ecs.aliyuncs.com/?Action=DescribeResourcesModification
|
|
19608
|
-
* &RegionId=
|
|
19598
|
+
* &RegionId=ap-southeast-1
|
|
19609
19599
|
* &ResourceId=i-bp67acfmxazb4p****
|
|
19610
19600
|
* &DestinationResource=InstanceType
|
|
19611
19601
|
* &OperationType=Upgrade
|
|
19612
19602
|
* &Conditions.0=DiskCategory
|
|
19613
|
-
*
|
|
19603
|
+
* &Common request parameters
|
|
19614
19604
|
* ```
|
|
19615
|
-
* ###
|
|
19616
|
-
* Query the
|
|
19617
|
-
* >
|
|
19605
|
+
* ### Example 3: Query the disk type required by the target instance type
|
|
19606
|
+
* Query the disk type required by the target instance type (for example, ecs.g7.large). The current instance i-bp67acfmxazb4p**** must be changed to this disk type before it can be changed to the target instance type. Also query the inventory of the disk type in the zone where the instance resides.
|
|
19607
|
+
* > The target instance type must be obtained by using Example 2.
|
|
19618
19608
|
* ```
|
|
19619
19609
|
* http(s)://ecs.aliyuncs.com/?Action=DescribeResourcesModification
|
|
19620
|
-
* &RegionId=
|
|
19610
|
+
* &RegionId=ap-southeast-1
|
|
19621
19611
|
* &ResourceId=i-bp67acfmxazb4p****
|
|
19622
19612
|
* &DestinationResource=SystemDisk
|
|
19623
19613
|
* &OperationType=Upgrade
|
|
19624
19614
|
* &InstanceType=ecs.g7.large
|
|
19625
|
-
*
|
|
19615
|
+
* &Common request parameters
|
|
19626
19616
|
* ```
|
|
19627
19617
|
*
|
|
19628
19618
|
* @param request - DescribeResourcesModificationRequest
|
|
@@ -19940,7 +19930,7 @@ export default class Client extends OpenApi {
|
|
|
19940
19930
|
}
|
|
19941
19931
|
|
|
19942
19932
|
/**
|
|
19943
|
-
* Queries the details of a specified security group
|
|
19933
|
+
* Queries the details of a specified security group, including the list of security group rules.
|
|
19944
19934
|
*
|
|
19945
19935
|
* @param request - DescribeSecurityGroupAttributeRequest
|
|
19946
19936
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20011,7 +20001,7 @@ export default class Client extends OpenApi {
|
|
|
20011
20001
|
}
|
|
20012
20002
|
|
|
20013
20003
|
/**
|
|
20014
|
-
* Queries the details of a specified security group
|
|
20004
|
+
* Queries the details of a specified security group, including the list of security group rules.
|
|
20015
20005
|
*
|
|
20016
20006
|
* @param request - DescribeSecurityGroupAttributeRequest
|
|
20017
20007
|
* @returns DescribeSecurityGroupAttributeResponse
|
|
@@ -20090,14 +20080,14 @@ export default class Client extends OpenApi {
|
|
|
20090
20080
|
}
|
|
20091
20081
|
|
|
20092
20082
|
/**
|
|
20093
|
-
*
|
|
20083
|
+
* Queries the basic information about security groups. You can filter results by region, security group ID, security group type, and other parameters through parameter query.
|
|
20094
20084
|
*
|
|
20095
20085
|
* @remarks
|
|
20096
|
-
* - **
|
|
20097
|
-
* -
|
|
20098
|
-
* -
|
|
20099
|
-
* -
|
|
20100
|
-
* - When
|
|
20086
|
+
* - **Paging query**: Use `MaxResults` and `NextToken` for paging query.
|
|
20087
|
+
* - If `NextToken` is not returned, the current page is the last page.
|
|
20088
|
+
* - For the first page, set only `MaxResults` to limit the number of entries to return. The `NextToken` value in the response is used to query subsequent pages.
|
|
20089
|
+
* - For subsequent pages, set `NextToken` to the `NextToken` value returned in the previous response and set `MaxResults` to limit the number of entries to return.
|
|
20090
|
+
* - When you invoke an API operation by using Cloud Assistant CLI, specify request parameters in the required format. For more information, see [Parameter format of CLI commands](https://help.aliyun.com/document_detail/110340.html).
|
|
20101
20091
|
*
|
|
20102
20092
|
* @param request - DescribeSecurityGroupsRequest
|
|
20103
20093
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20208,14 +20198,14 @@ export default class Client extends OpenApi {
|
|
|
20208
20198
|
}
|
|
20209
20199
|
|
|
20210
20200
|
/**
|
|
20211
|
-
*
|
|
20201
|
+
* Queries the basic information about security groups. You can filter results by region, security group ID, security group type, and other parameters through parameter query.
|
|
20212
20202
|
*
|
|
20213
20203
|
* @remarks
|
|
20214
|
-
* - **
|
|
20215
|
-
* -
|
|
20216
|
-
* -
|
|
20217
|
-
* -
|
|
20218
|
-
* - When
|
|
20204
|
+
* - **Paging query**: Use `MaxResults` and `NextToken` for paging query.
|
|
20205
|
+
* - If `NextToken` is not returned, the current page is the last page.
|
|
20206
|
+
* - For the first page, set only `MaxResults` to limit the number of entries to return. The `NextToken` value in the response is used to query subsequent pages.
|
|
20207
|
+
* - For subsequent pages, set `NextToken` to the `NextToken` value returned in the previous response and set `MaxResults` to limit the number of entries to return.
|
|
20208
|
+
* - When you invoke an API operation by using Cloud Assistant CLI, specify request parameters in the required format. For more information, see [Parameter format of CLI commands](https://help.aliyun.com/document_detail/110340.html).
|
|
20219
20209
|
*
|
|
20220
20210
|
* @param request - DescribeSecurityGroupsRequest
|
|
20221
20211
|
* @returns DescribeSecurityGroupsResponse
|
|
@@ -20226,13 +20216,13 @@ export default class Client extends OpenApi {
|
|
|
20226
20216
|
}
|
|
20227
20217
|
|
|
20228
20218
|
/**
|
|
20229
|
-
* Queries the files sent by Cloud Assistant
|
|
20219
|
+
* Queries the list and status of files sent by Cloud Assistant by calling DescribeSendFileResults.
|
|
20230
20220
|
*
|
|
20231
20221
|
* @remarks
|
|
20232
|
-
* ##
|
|
20233
|
-
* -
|
|
20234
|
-
* - You can
|
|
20235
|
-
* -
|
|
20222
|
+
* ## Operation description:
|
|
20223
|
+
* - After you send a file, the file is not necessarily sent. You must check the actual sending result based on the return value of this operation.
|
|
20224
|
+
* - You can query execution information from the last 30 days. A maximum of 10,000 entries of execution information can be retained.
|
|
20225
|
+
* - When paged query the first page, set only MaxResults to limit the number of entries to return. The NextToken value returned in the result serves as the token for querying subsequent pages. When paged query subsequent pages, set NextToken to the value obtained from the previous response and set MaxResults to limit the number of entries to return.
|
|
20236
20226
|
*
|
|
20237
20227
|
* @param request - DescribeSendFileResultsRequest
|
|
20238
20228
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20323,13 +20313,13 @@ export default class Client extends OpenApi {
|
|
|
20323
20313
|
}
|
|
20324
20314
|
|
|
20325
20315
|
/**
|
|
20326
|
-
* Queries the files sent by Cloud Assistant
|
|
20316
|
+
* Queries the list and status of files sent by Cloud Assistant by calling DescribeSendFileResults.
|
|
20327
20317
|
*
|
|
20328
20318
|
* @remarks
|
|
20329
|
-
* ##
|
|
20330
|
-
* -
|
|
20331
|
-
* - You can
|
|
20332
|
-
* -
|
|
20319
|
+
* ## Operation description:
|
|
20320
|
+
* - After you send a file, the file is not necessarily sent. You must check the actual sending result based on the return value of this operation.
|
|
20321
|
+
* - You can query execution information from the last 30 days. A maximum of 10,000 entries of execution information can be retained.
|
|
20322
|
+
* - When paged query the first page, set only MaxResults to limit the number of entries to return. The NextToken value returned in the result serves as the token for querying subsequent pages. When paged query subsequent pages, set NextToken to the value obtained from the previous response and set MaxResults to limit the number of entries to return.
|
|
20333
20323
|
*
|
|
20334
20324
|
* @param request - DescribeSendFileResultsRequest
|
|
20335
20325
|
* @returns DescribeSendFileResultsResponse
|
|
@@ -20690,47 +20680,39 @@ export default class Client extends OpenApi {
|
|
|
20690
20680
|
}
|
|
20691
20681
|
|
|
20692
20682
|
/**
|
|
20693
|
-
* Queries
|
|
20683
|
+
* Queries the snapshot list of a disk, including snapshot status, remaining time for a snapshot being created, and automatic snapshot retention days.
|
|
20694
20684
|
*
|
|
20695
20685
|
* @remarks
|
|
20696
|
-
*
|
|
20697
|
-
* When you
|
|
20686
|
+
* InstanceId, DiskId, and SnapshotIds are not required request parameters, but you can use them to build filter logic. These parameters are evaluated by using a logical AND.
|
|
20687
|
+
* When you invoke an API operation by using Cloud Assistant CLI, specify request parameter values in the required formats based on their data types. For details, see [CLI parameter format](https://help.aliyun.com/document_detail/110340.html).
|
|
20698
20688
|
* Request examples:
|
|
20699
20689
|
* <details>
|
|
20700
|
-
* <summary>
|
|
20701
|
-
* Query the snapshots of all cloud disks attached to an ECS instance in the China (Hangzhou) region
|
|
20702
|
-
* </summary>
|
|
20690
|
+
* <summary>Query the snapshot list of all disks attached to an ECS instance in the China (Hangzhou) region</summary>
|
|
20703
20691
|
* ```
|
|
20704
|
-
* RegionId: cn-hangzhou, //
|
|
20705
|
-
* InstanceId: i-bp1fh7by6d9mw7zr**** //
|
|
20692
|
+
* RegionId: cn-hangzhou, // Set the region to China (Hangzhou).
|
|
20693
|
+
* InstanceId: i-bp1fh7by6d9mw7zr**** // Set the instance ID to query.
|
|
20706
20694
|
* ```
|
|
20707
20695
|
* </details>
|
|
20708
20696
|
* <details>
|
|
20709
|
-
* <summary>
|
|
20710
|
-
* Query the snapshots of a cloud disk in the China (Hangzhou) region
|
|
20711
|
-
* </summary>
|
|
20697
|
+
* <summary>Query the snapshot information of a specific disk in the China (Hangzhou) region</summary>
|
|
20712
20698
|
* ```
|
|
20713
|
-
* RegionId: cn-hangzhou, //
|
|
20714
|
-
* DiskId: d-bp10e7ej8z743dmu**** //
|
|
20699
|
+
* RegionId: cn-hangzhou, // Set the region to China (Hangzhou).
|
|
20700
|
+
* DiskId: d-bp10e7ej8z743dmu**** // Set the disk ID to query.
|
|
20715
20701
|
* ```
|
|
20716
20702
|
* </details>
|
|
20717
20703
|
* <details>
|
|
20718
|
-
* <summary>
|
|
20719
|
-
* Query two snapshots in the China (Hangzhou) region by snapshot ID
|
|
20720
|
-
* </summary>
|
|
20704
|
+
* <summary>Query the information of two snapshots in the China (Hangzhou) region by snapshot ID</summary>
|
|
20721
20705
|
* ```
|
|
20722
|
-
* RegionId: cn-hangzhou, //
|
|
20723
|
-
* SnapshotIds: ["d-bp10e7ej8z743dmu****", "s-bp19vd1lorzgzt2s****"] //
|
|
20706
|
+
* RegionId: cn-hangzhou, // Set the region to China (Hangzhou).
|
|
20707
|
+
* SnapshotIds: ["d-bp10e7ej8z743dmu****", "s-bp19vd1lorzgzt2s****"] // Set the array of snapshot IDs to query.
|
|
20724
20708
|
* ```
|
|
20725
20709
|
* </details>
|
|
20726
20710
|
* <details>
|
|
20727
|
-
* <summary>
|
|
20728
|
-
* Query snapshots created after a specific time in the China (Hangzhou) region
|
|
20729
|
-
* </summary>
|
|
20711
|
+
* <summary>Query the snapshot information created after a specific point in time in the China (Hangzhou) region</summary>
|
|
20730
20712
|
* ```
|
|
20731
|
-
* RegionId: cn-hangzhou, //
|
|
20732
|
-
* Filter.1.Key: CreationStartTime, //
|
|
20733
|
-
* Filter.1.Value: 2024-11-27T00:00Z
|
|
20713
|
+
* RegionId: cn-hangzhou, // Set the region to China (Hangzhou).
|
|
20714
|
+
* Filter.1.Key: CreationStartTime, // Set the filter key for the creation start time.
|
|
20715
|
+
* Filter.1.Value: 2024-11-27T00:00Z.
|
|
20734
20716
|
* ```
|
|
20735
20717
|
* </details>
|
|
20736
20718
|
*
|
|
@@ -20859,47 +20841,39 @@ export default class Client extends OpenApi {
|
|
|
20859
20841
|
}
|
|
20860
20842
|
|
|
20861
20843
|
/**
|
|
20862
|
-
* Queries
|
|
20844
|
+
* Queries the snapshot list of a disk, including snapshot status, remaining time for a snapshot being created, and automatic snapshot retention days.
|
|
20863
20845
|
*
|
|
20864
20846
|
* @remarks
|
|
20865
|
-
*
|
|
20866
|
-
* When you
|
|
20847
|
+
* InstanceId, DiskId, and SnapshotIds are not required request parameters, but you can use them to build filter logic. These parameters are evaluated by using a logical AND.
|
|
20848
|
+
* When you invoke an API operation by using Cloud Assistant CLI, specify request parameter values in the required formats based on their data types. For details, see [CLI parameter format](https://help.aliyun.com/document_detail/110340.html).
|
|
20867
20849
|
* Request examples:
|
|
20868
20850
|
* <details>
|
|
20869
|
-
* <summary>
|
|
20870
|
-
* Query the snapshots of all cloud disks attached to an ECS instance in the China (Hangzhou) region
|
|
20871
|
-
* </summary>
|
|
20851
|
+
* <summary>Query the snapshot list of all disks attached to an ECS instance in the China (Hangzhou) region</summary>
|
|
20872
20852
|
* ```
|
|
20873
|
-
* RegionId: cn-hangzhou, //
|
|
20874
|
-
* InstanceId: i-bp1fh7by6d9mw7zr**** //
|
|
20853
|
+
* RegionId: cn-hangzhou, // Set the region to China (Hangzhou).
|
|
20854
|
+
* InstanceId: i-bp1fh7by6d9mw7zr**** // Set the instance ID to query.
|
|
20875
20855
|
* ```
|
|
20876
20856
|
* </details>
|
|
20877
20857
|
* <details>
|
|
20878
|
-
* <summary>
|
|
20879
|
-
* Query the snapshots of a cloud disk in the China (Hangzhou) region
|
|
20880
|
-
* </summary>
|
|
20858
|
+
* <summary>Query the snapshot information of a specific disk in the China (Hangzhou) region</summary>
|
|
20881
20859
|
* ```
|
|
20882
|
-
* RegionId: cn-hangzhou, //
|
|
20883
|
-
* DiskId: d-bp10e7ej8z743dmu**** //
|
|
20860
|
+
* RegionId: cn-hangzhou, // Set the region to China (Hangzhou).
|
|
20861
|
+
* DiskId: d-bp10e7ej8z743dmu**** // Set the disk ID to query.
|
|
20884
20862
|
* ```
|
|
20885
20863
|
* </details>
|
|
20886
20864
|
* <details>
|
|
20887
|
-
* <summary>
|
|
20888
|
-
* Query two snapshots in the China (Hangzhou) region by snapshot ID
|
|
20889
|
-
* </summary>
|
|
20865
|
+
* <summary>Query the information of two snapshots in the China (Hangzhou) region by snapshot ID</summary>
|
|
20890
20866
|
* ```
|
|
20891
|
-
* RegionId: cn-hangzhou, //
|
|
20892
|
-
* SnapshotIds: ["d-bp10e7ej8z743dmu****", "s-bp19vd1lorzgzt2s****"] //
|
|
20867
|
+
* RegionId: cn-hangzhou, // Set the region to China (Hangzhou).
|
|
20868
|
+
* SnapshotIds: ["d-bp10e7ej8z743dmu****", "s-bp19vd1lorzgzt2s****"] // Set the array of snapshot IDs to query.
|
|
20893
20869
|
* ```
|
|
20894
20870
|
* </details>
|
|
20895
20871
|
* <details>
|
|
20896
|
-
* <summary>
|
|
20897
|
-
* Query snapshots created after a specific time in the China (Hangzhou) region
|
|
20898
|
-
* </summary>
|
|
20872
|
+
* <summary>Query the snapshot information created after a specific point in time in the China (Hangzhou) region</summary>
|
|
20899
20873
|
* ```
|
|
20900
|
-
* RegionId: cn-hangzhou, //
|
|
20901
|
-
* Filter.1.Key: CreationStartTime, //
|
|
20902
|
-
* Filter.1.Value: 2024-11-27T00:00Z
|
|
20874
|
+
* RegionId: cn-hangzhou, // Set the region to China (Hangzhou).
|
|
20875
|
+
* Filter.1.Key: CreationStartTime, // Set the filter key for the creation start time.
|
|
20876
|
+
* Filter.1.Value: 2024-11-27T00:00Z.
|
|
20903
20877
|
* ```
|
|
20904
20878
|
* </details>
|
|
20905
20879
|
*
|
|
@@ -21092,11 +21066,11 @@ export default class Client extends OpenApi {
|
|
|
21092
21066
|
}
|
|
21093
21067
|
|
|
21094
21068
|
/**
|
|
21095
|
-
* Queries the historical prices of spot instances
|
|
21069
|
+
* Queries the historical prices of spot instances. You can query price data from the last 30 days. The historical price data helps you set a reasonable maximum price for a spot instance.
|
|
21096
21070
|
*
|
|
21097
21071
|
* @remarks
|
|
21098
|
-
* -
|
|
21099
|
-
* - The data returned by
|
|
21072
|
+
* - Only I/O optimized spot instances are supported.
|
|
21073
|
+
* - The data returned by this operation may be paginated. If the response contains the `NextOffset` parameter, set the `Offset` request parameter to the value of `NextOffset` to query the next page of data.
|
|
21100
21074
|
*
|
|
21101
21075
|
* @param request - DescribeSpotPriceHistoryRequest
|
|
21102
21076
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21183,11 +21157,11 @@ export default class Client extends OpenApi {
|
|
|
21183
21157
|
}
|
|
21184
21158
|
|
|
21185
21159
|
/**
|
|
21186
|
-
* Queries the historical prices of spot instances
|
|
21160
|
+
* Queries the historical prices of spot instances. You can query price data from the last 30 days. The historical price data helps you set a reasonable maximum price for a spot instance.
|
|
21187
21161
|
*
|
|
21188
21162
|
* @remarks
|
|
21189
|
-
* -
|
|
21190
|
-
* - The data returned by
|
|
21163
|
+
* - Only I/O optimized spot instances are supported.
|
|
21164
|
+
* - The data returned by this operation may be paginated. If the response contains the `NextOffset` parameter, set the `Offset` request parameter to the value of `NextOffset` to query the next page of data.
|
|
21191
21165
|
*
|
|
21192
21166
|
* @param request - DescribeSpotPriceHistoryRequest
|
|
21193
21167
|
* @returns DescribeSpotPriceHistoryResponse
|
|
@@ -21697,10 +21671,10 @@ export default class Client extends OpenApi {
|
|
|
21697
21671
|
}
|
|
21698
21672
|
|
|
21699
21673
|
/**
|
|
21700
|
-
* Queries the session
|
|
21674
|
+
* Queries the session history of Session Manager.
|
|
21701
21675
|
*
|
|
21702
21676
|
* @remarks
|
|
21703
|
-
* You can query
|
|
21677
|
+
* You can query Session Manager session records created within the last 30 days. A maximum of 1,000 successful records are retained.
|
|
21704
21678
|
*
|
|
21705
21679
|
* @param request - DescribeTerminalSessionsRequest
|
|
21706
21680
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21763,10 +21737,10 @@ export default class Client extends OpenApi {
|
|
|
21763
21737
|
}
|
|
21764
21738
|
|
|
21765
21739
|
/**
|
|
21766
|
-
* Queries the session
|
|
21740
|
+
* Queries the session history of Session Manager.
|
|
21767
21741
|
*
|
|
21768
21742
|
* @remarks
|
|
21769
|
-
* You can query
|
|
21743
|
+
* You can query Session Manager session records created within the last 30 days. A maximum of 1,000 successful records are retained.
|
|
21770
21744
|
*
|
|
21771
21745
|
* @param request - DescribeTerminalSessionsRequest
|
|
21772
21746
|
* @returns DescribeTerminalSessionsResponse
|
|
@@ -22387,11 +22361,10 @@ export default class Client extends OpenApi {
|
|
|
22387
22361
|
}
|
|
22388
22362
|
|
|
22389
22363
|
/**
|
|
22390
|
-
* Queries
|
|
22364
|
+
* Queries the list of active zones based on parameters such as region ID and billing method.
|
|
22391
22365
|
*
|
|
22392
22366
|
* @remarks
|
|
22393
|
-
*
|
|
22394
|
-
* 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](https://help.aliyun.com/document_detail/66186.html) operation.
|
|
22367
|
+
* DescribeZones only queries the list of zones provided by Alibaba Cloud and returns limited inventory information. To query the instance types and disk categories available for purchase in a specific zone, use [DescribeAvailableResource](https://help.aliyun.com/document_detail/66186.html).
|
|
22395
22368
|
*
|
|
22396
22369
|
* @param request - DescribeZonesRequest
|
|
22397
22370
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22454,11 +22427,10 @@ export default class Client extends OpenApi {
|
|
|
22454
22427
|
}
|
|
22455
22428
|
|
|
22456
22429
|
/**
|
|
22457
|
-
* Queries
|
|
22430
|
+
* Queries the list of active zones based on parameters such as region ID and billing method.
|
|
22458
22431
|
*
|
|
22459
22432
|
* @remarks
|
|
22460
|
-
*
|
|
22461
|
-
* 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](https://help.aliyun.com/document_detail/66186.html) operation.
|
|
22433
|
+
* DescribeZones only queries the list of zones provided by Alibaba Cloud and returns limited inventory information. To query the instance types and disk categories available for purchase in a specific zone, use [DescribeAvailableResource](https://help.aliyun.com/document_detail/66186.html).
|
|
22462
22434
|
*
|
|
22463
22435
|
* @param request - DescribeZonesRequest
|
|
22464
22436
|
* @returns DescribeZonesResponse
|
|
@@ -23583,7 +23555,7 @@ export default class Client extends OpenApi {
|
|
|
23583
23555
|
}
|
|
23584
23556
|
|
|
23585
23557
|
/**
|
|
23586
|
-
* Retrieves the system command
|
|
23558
|
+
* Retrieves the system command-line output of an instance. The data is returned in Base64-encoded format.
|
|
23587
23559
|
*
|
|
23588
23560
|
* @remarks
|
|
23589
23561
|
* - Elastic Compute Service (ECS) is a virtualization-based cloud server that cannot be connected to display devices or manually screenshotted. However, Alibaba Cloud caches the system command line output from the last time an instance was started, restarted, or shut down. You can invoke GetInstanceConsoleOutput to retrieve this output.
|
|
@@ -23647,7 +23619,7 @@ export default class Client extends OpenApi {
|
|
|
23647
23619
|
}
|
|
23648
23620
|
|
|
23649
23621
|
/**
|
|
23650
|
-
* Retrieves the system command
|
|
23622
|
+
* Retrieves the system command-line output of an instance. The data is returned in Base64-encoded format.
|
|
23651
23623
|
*
|
|
23652
23624
|
* @remarks
|
|
23653
23625
|
* - Elastic Compute Service (ECS) is a virtualization-based cloud server that cannot be connected to display devices or manually screenshotted. However, Alibaba Cloud caches the system command line output from the last time an instance was started, restarted, or shut down. You can invoke GetInstanceConsoleOutput to retrieve this output.
|
|
@@ -23663,13 +23635,13 @@ export default class Client extends OpenApi {
|
|
|
23663
23635
|
}
|
|
23664
23636
|
|
|
23665
23637
|
/**
|
|
23666
|
-
* Calls GetInstanceScreenshot to
|
|
23638
|
+
* Calls GetInstanceScreenshot to retrieve the screenshot information of an instance.
|
|
23667
23639
|
*
|
|
23668
23640
|
* @remarks
|
|
23669
|
-
* After Elastic Compute Service (ECS) returns the instance screenshot
|
|
23641
|
+
* After Elastic Compute Service (ECS) returns the instance screenshot in Base64-encoded JPG image format, you must decode it yourself. You can call this operation when troubleshooting faults. Note the following items:
|
|
23670
23642
|
* - The instance must be in the Running state.
|
|
23671
|
-
* -
|
|
23672
|
-
* - If you call this operation multiple times on the same instance, the interval between calls must be at least 10 seconds. Otherwise, the
|
|
23643
|
+
* - Screenshots cannot be retrieved for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
23644
|
+
* - If you call this operation multiple times on the same instance, the interval between calls must be at least 10 seconds. Otherwise, the Throttling error code is returned.
|
|
23673
23645
|
*
|
|
23674
23646
|
* @param request - GetInstanceScreenshotRequest
|
|
23675
23647
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23728,13 +23700,13 @@ export default class Client extends OpenApi {
|
|
|
23728
23700
|
}
|
|
23729
23701
|
|
|
23730
23702
|
/**
|
|
23731
|
-
* Calls GetInstanceScreenshot to
|
|
23703
|
+
* Calls GetInstanceScreenshot to retrieve the screenshot information of an instance.
|
|
23732
23704
|
*
|
|
23733
23705
|
* @remarks
|
|
23734
|
-
* After Elastic Compute Service (ECS) returns the instance screenshot
|
|
23706
|
+
* After Elastic Compute Service (ECS) returns the instance screenshot in Base64-encoded JPG image format, you must decode it yourself. You can call this operation when troubleshooting faults. Note the following items:
|
|
23735
23707
|
* - The instance must be in the Running state.
|
|
23736
|
-
* -
|
|
23737
|
-
* - If you call this operation multiple times on the same instance, the interval between calls must be at least 10 seconds. Otherwise, the
|
|
23708
|
+
* - Screenshots cannot be retrieved for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
23709
|
+
* - If you call this operation multiple times on the same instance, the interval between calls must be at least 10 seconds. Otherwise, the Throttling error code is returned.
|
|
23738
23710
|
*
|
|
23739
23711
|
* @param request - GetInstanceScreenshotRequest
|
|
23740
23712
|
* @returns GetInstanceScreenshotResponse
|
|
@@ -26957,7 +26929,7 @@ export default class Client extends OpenApi {
|
|
|
26957
26929
|
}
|
|
26958
26930
|
|
|
26959
26931
|
/**
|
|
26960
|
-
* Modifies the description of an HPC cluster
|
|
26932
|
+
* Modifies the description of an HPC cluster.
|
|
26961
26933
|
*
|
|
26962
26934
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
26963
26935
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27024,7 +26996,7 @@ export default class Client extends OpenApi {
|
|
|
27024
26996
|
}
|
|
27025
26997
|
|
|
27026
26998
|
/**
|
|
27027
|
-
* Modifies the description of an HPC cluster
|
|
26999
|
+
* Modifies the description of an HPC cluster.
|
|
27028
27000
|
*
|
|
27029
27001
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
27030
27002
|
* @returns ModifyHpcClusterAttributeResponse
|
|
@@ -27400,10 +27372,10 @@ export default class Client extends OpenApi {
|
|
|
27400
27372
|
}
|
|
27401
27373
|
|
|
27402
27374
|
/**
|
|
27403
|
-
*
|
|
27375
|
+
* Modifies some properties of an ECS instance, including the password, instance name, hostname, security group membership, MTU, and instance user data.
|
|
27404
27376
|
*
|
|
27405
27377
|
* @remarks
|
|
27406
|
-
*
|
|
27378
|
+
* Instances that are locked for security reasons do not support this operation. For more information, see [Impact of resource security locks on API calls](https://help.aliyun.com/document_detail/25695.html).
|
|
27407
27379
|
*
|
|
27408
27380
|
* @param request - ModifyInstanceAttributeRequest
|
|
27409
27381
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27510,10 +27482,10 @@ export default class Client extends OpenApi {
|
|
|
27510
27482
|
}
|
|
27511
27483
|
|
|
27512
27484
|
/**
|
|
27513
|
-
*
|
|
27485
|
+
* Modifies some properties of an ECS instance, including the password, instance name, hostname, security group membership, MTU, and instance user data.
|
|
27514
27486
|
*
|
|
27515
27487
|
* @remarks
|
|
27516
|
-
*
|
|
27488
|
+
* Instances that are locked for security reasons do not support this operation. For more information, see [Impact of resource security locks on API calls](https://help.aliyun.com/document_detail/25695.html).
|
|
27517
27489
|
*
|
|
27518
27490
|
* @param request - ModifyInstanceAttributeRequest
|
|
27519
27491
|
* @returns ModifyInstanceAttributeResponse
|
|
@@ -28241,15 +28213,14 @@ export default class Client extends OpenApi {
|
|
|
28241
28213
|
* Modifies the bandwidth configuration of an ECS instance, allocates a public IP address, or converts the network billing method. Both upgrades and downgrades are supported.
|
|
28242
28214
|
*
|
|
28243
28215
|
* @remarks
|
|
28244
|
-
* - When
|
|
28245
|
-
* - When
|
|
28246
|
-
*
|
|
28247
|
-
* > Within a single region, there is a limit on the total peak pay-by-bandwidth public bandwidth for a single Alibaba Cloud account. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
28216
|
+
* - When you modify the bandwidth configuration of a subscription (PrePaid) instance, a public IP address is automatically allocated if the outbound public bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbit/s to a non-zero value.
|
|
28217
|
+
* - When you modify the bandwidth configuration of a pay-as-you-go (PostPaid) instance, a public IP address is not automatically allocated if the outbound public bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbit/s to a non-zero value. You need to set the `AllocatePublicIp` parameter to `true` to allocate a public IP address.
|
|
28218
|
+
* > In a single region, the total peak pay-by-bandwidth public bandwidth of a single Alibaba Cloud account is subject to a limit. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
28248
28219
|
*
|
|
28249
28220
|
* - Fees:
|
|
28250
28221
|
*
|
|
28251
|
-
* - After
|
|
28252
|
-
* - After
|
|
28222
|
+
* - After the bandwidth is upgraded, the payment is automatically deducted by default. Make sure that your payment method has sufficient balance. Otherwise, an abnormal order is generated, and you can only cancel the order. If your account balance is insufficient, you can set the AutoPay parameter to false. In this case, a normal unpaid order is generated. You can log on to the ECS console to pay for the order.
|
|
28223
|
+
* - After the bandwidth is downgraded, the price difference is refunded to the original payment method. Vouchers that have been used are not refundable.
|
|
28253
28224
|
*
|
|
28254
28225
|
* @param request - ModifyInstanceNetworkSpecRequest
|
|
28255
28226
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28335,15 +28306,14 @@ export default class Client extends OpenApi {
|
|
|
28335
28306
|
* Modifies the bandwidth configuration of an ECS instance, allocates a public IP address, or converts the network billing method. Both upgrades and downgrades are supported.
|
|
28336
28307
|
*
|
|
28337
28308
|
* @remarks
|
|
28338
|
-
* - When
|
|
28339
|
-
* - When
|
|
28340
|
-
*
|
|
28341
|
-
* > Within a single region, there is a limit on the total peak pay-by-bandwidth public bandwidth for a single Alibaba Cloud account. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
28309
|
+
* - When you modify the bandwidth configuration of a subscription (PrePaid) instance, a public IP address is automatically allocated if the outbound public bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbit/s to a non-zero value.
|
|
28310
|
+
* - When you modify the bandwidth configuration of a pay-as-you-go (PostPaid) instance, a public IP address is not automatically allocated if the outbound public bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbit/s to a non-zero value. You need to set the `AllocatePublicIp` parameter to `true` to allocate a public IP address.
|
|
28311
|
+
* > In a single region, the total peak pay-by-bandwidth public bandwidth of a single Alibaba Cloud account is subject to a limit. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
28342
28312
|
*
|
|
28343
28313
|
* - Fees:
|
|
28344
28314
|
*
|
|
28345
|
-
* - After
|
|
28346
|
-
* - After
|
|
28315
|
+
* - After the bandwidth is upgraded, the payment is automatically deducted by default. Make sure that your payment method has sufficient balance. Otherwise, an abnormal order is generated, and you can only cancel the order. If your account balance is insufficient, you can set the AutoPay parameter to false. In this case, a normal unpaid order is generated. You can log on to the ECS console to pay for the order.
|
|
28316
|
+
* - After the bandwidth is downgraded, the price difference is refunded to the original payment method. Vouchers that have been used are not refundable.
|
|
28347
28317
|
*
|
|
28348
28318
|
* @param request - ModifyInstanceNetworkSpecRequest
|
|
28349
28319
|
* @returns ModifyInstanceNetworkSpecResponse
|
|
@@ -28358,18 +28328,18 @@ export default class Client extends OpenApi {
|
|
|
28358
28328
|
*
|
|
28359
28329
|
* @remarks
|
|
28360
28330
|
* <props="china">.
|
|
28361
|
-
* **Before you
|
|
28331
|
+
* **Before you use this operation, make sure that you fully understand the billing methods and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of ECS.**.
|
|
28362
28332
|
* .
|
|
28363
28333
|
* <props="intl">.
|
|
28364
|
-
* **Before you
|
|
28334
|
+
* **Before you use this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS.**.
|
|
28365
28335
|
* .
|
|
28366
28336
|
* Before you [change the instance type of a pay-as-you-go instance](https://help.aliyun.com/document_detail/60051.html), you can call [DescribeResourcesModification](https://help.aliyun.com/document_detail/66187.html) to query the instance types to which the current instance can be changed.
|
|
28367
28337
|
* **Before you begin**.
|
|
28368
28338
|
* - Your account must not have overdue payments.
|
|
28369
|
-
* - Each call can modify only one configuration. You can
|
|
28339
|
+
* - Each call can modify only one configuration at a time. You can modify only the instance type or adjust only the public bandwidth in a single request.
|
|
28370
28340
|
* - The instance status must be **Running** (`Running`) or **Stopped** (`Stopped`) before you can adjust the public bandwidth. The change takes effect immediately.
|
|
28371
|
-
* - The instance status must be **Stopped** (`Stopped`) before you can
|
|
28372
|
-
* >
|
|
28341
|
+
* - The instance status must be **Stopped** (`Stopped`) before you can modify the instance type. After the modification, you must [start the instance](https://help.aliyun.com/document_detail/25441.html) for the change to take effect.
|
|
28342
|
+
* > In a single region, the total peak pay-by-bandwidth public bandwidth for a single Alibaba Cloud account is limited. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
28373
28343
|
*
|
|
28374
28344
|
* @param request - ModifyInstanceSpecRequest
|
|
28375
28345
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28464,18 +28434,18 @@ export default class Client extends OpenApi {
|
|
|
28464
28434
|
*
|
|
28465
28435
|
* @remarks
|
|
28466
28436
|
* <props="china">.
|
|
28467
|
-
* **Before you
|
|
28437
|
+
* **Before you use this operation, make sure that you fully understand the billing methods and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of ECS.**.
|
|
28468
28438
|
* .
|
|
28469
28439
|
* <props="intl">.
|
|
28470
|
-
* **Before you
|
|
28440
|
+
* **Before you use this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS.**.
|
|
28471
28441
|
* .
|
|
28472
28442
|
* Before you [change the instance type of a pay-as-you-go instance](https://help.aliyun.com/document_detail/60051.html), you can call [DescribeResourcesModification](https://help.aliyun.com/document_detail/66187.html) to query the instance types to which the current instance can be changed.
|
|
28473
28443
|
* **Before you begin**.
|
|
28474
28444
|
* - Your account must not have overdue payments.
|
|
28475
|
-
* - Each call can modify only one configuration. You can
|
|
28445
|
+
* - Each call can modify only one configuration at a time. You can modify only the instance type or adjust only the public bandwidth in a single request.
|
|
28476
28446
|
* - The instance status must be **Running** (`Running`) or **Stopped** (`Stopped`) before you can adjust the public bandwidth. The change takes effect immediately.
|
|
28477
|
-
* - The instance status must be **Stopped** (`Stopped`) before you can
|
|
28478
|
-
* >
|
|
28447
|
+
* - The instance status must be **Stopped** (`Stopped`) before you can modify the instance type. After the modification, you must [start the instance](https://help.aliyun.com/document_detail/25441.html) for the change to take effect.
|
|
28448
|
+
* > In a single region, the total peak pay-by-bandwidth public bandwidth for a single Alibaba Cloud account is limited. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
28479
28449
|
*
|
|
28480
28450
|
* @param request - ModifyInstanceSpecRequest
|
|
28481
28451
|
* @returns ModifyInstanceSpecResponse
|
|
@@ -29190,7 +29160,7 @@ export default class Client extends OpenApi {
|
|
|
29190
29160
|
* Updates an O&M window.
|
|
29191
29161
|
*
|
|
29192
29162
|
* @remarks
|
|
29193
|
-
* Modifies the attributes of an O&M window. When the TargetResource parameter of an O&M window is set to associate ECS instances and
|
|
29163
|
+
* Modifies the attributes of an O&M window. When the TargetResource parameter of an O&M window is set to associate ECS instances and underlying hardware risks are detected that require scheduled O&M to mitigate, the execution time of the scheduled O&M is determined based on the time range specified by the TimePeriod parameter of the O&M window. When the execution time of an O&M event is reached, the platform automatically performs the corresponding O&M operation based on the type of the O&M event.
|
|
29194
29164
|
*
|
|
29195
29165
|
* @param tmpReq - ModifyPlanMaintenanceWindowRequest
|
|
29196
29166
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29262,7 +29232,7 @@ export default class Client extends OpenApi {
|
|
|
29262
29232
|
* Updates an O&M window.
|
|
29263
29233
|
*
|
|
29264
29234
|
* @remarks
|
|
29265
|
-
* Modifies the attributes of an O&M window. When the TargetResource parameter of an O&M window is set to associate ECS instances and
|
|
29235
|
+
* Modifies the attributes of an O&M window. When the TargetResource parameter of an O&M window is set to associate ECS instances and underlying hardware risks are detected that require scheduled O&M to mitigate, the execution time of the scheduled O&M is determined based on the time range specified by the TimePeriod parameter of the O&M window. When the execution time of an O&M event is reached, the platform automatically performs the corresponding O&M operation based on the type of the O&M event.
|
|
29266
29236
|
*
|
|
29267
29237
|
* @param request - ModifyPlanMaintenanceWindowRequest
|
|
29268
29238
|
* @returns ModifyPlanMaintenanceWindowResponse
|
|
@@ -29459,20 +29429,24 @@ export default class Client extends OpenApi {
|
|
|
29459
29429
|
}
|
|
29460
29430
|
|
|
29461
29431
|
/**
|
|
29462
|
-
*
|
|
29432
|
+
* Modifies the instance type of a subscription ECS instance. You can upgrade or downgrade the instance type. The new instance type takes effect for the entire lifecycle of the instance.
|
|
29463
29433
|
*
|
|
29464
29434
|
* @remarks
|
|
29465
|
-
*
|
|
29466
|
-
*
|
|
29467
|
-
*
|
|
29468
|
-
*
|
|
29469
|
-
*
|
|
29470
|
-
*
|
|
29471
|
-
* -
|
|
29472
|
-
* -
|
|
29473
|
-
*
|
|
29474
|
-
*
|
|
29475
|
-
*
|
|
29435
|
+
* <props="china">
|
|
29436
|
+
* **Before you call this operation, make sure that you fully understand the billing methods, [pricing](https://www.aliyun.com/price/product#/ecs/detail), and [downgrade refund rules](https://help.aliyun.com/document_detail/116043.html) of ECS.**
|
|
29437
|
+
* <props="intl">
|
|
29438
|
+
* **Before you call this operation, make sure that you fully understand the billing methods, [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl), and [downgrade refund rules](https://help.aliyun.com/document_detail/476339.html) of ECS.**
|
|
29439
|
+
* This operation is asynchronous. The configuration change takes effect after approximately 5 to 10 seconds. Before you upgrade or downgrade ECS instance type of a subscription ECS instance, you can call [DescribeResourcesModification](https://help.aliyun.com/document_detail/2679954.html) to query ECS instance types to which the current instance can be changed.
|
|
29440
|
+
* **Precautions**
|
|
29441
|
+
* - If the NVMe property of the source and target instance types are different (the `NvmeSupport` field returned by [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html)) and the operating system is Windows (the `OSType` field returned by [DescribeInstances](https://help.aliyun.com/document_detail/2679689.html)), complete the [preventive measures](~~2978777#7de04a1c9fo50~~) before you perform the Upgrade/Downgrade.
|
|
29442
|
+
* - Expired instances cannot be changed to a different instance type. Complete the renewal and try again.
|
|
29443
|
+
* - Downgrade the instance type:
|
|
29444
|
+
* - The instance must be in the **Stopped** (`Stopped`) state.
|
|
29445
|
+
* - The price difference between the original and new instance types is refunded to your original billing method. Used vouchers are not refundable. The payer receives the refund.
|
|
29446
|
+
* - The new instance type takes effect only after you [start the instance](https://help.aliyun.com/document_detail/25441.html) after the Upgrade/Downgrade.
|
|
29447
|
+
* - Upgrade the instance type:
|
|
29448
|
+
* - The instance must be in the **Stopped** (`Stopped`) or **Running** (`Running`) state.
|
|
29449
|
+
* - The new instance type takes effect only after you [start the instance](https://help.aliyun.com/document_detail/25441.html) or [restart the instance](https://help.aliyun.com/document_detail/25440.html).
|
|
29476
29450
|
*
|
|
29477
29451
|
* @param request - ModifyPrepayInstanceSpecRequest
|
|
29478
29452
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29567,20 +29541,24 @@ export default class Client extends OpenApi {
|
|
|
29567
29541
|
}
|
|
29568
29542
|
|
|
29569
29543
|
/**
|
|
29570
|
-
*
|
|
29544
|
+
* Modifies the instance type of a subscription ECS instance. You can upgrade or downgrade the instance type. The new instance type takes effect for the entire lifecycle of the instance.
|
|
29571
29545
|
*
|
|
29572
29546
|
* @remarks
|
|
29573
|
-
*
|
|
29574
|
-
*
|
|
29575
|
-
*
|
|
29576
|
-
*
|
|
29577
|
-
*
|
|
29578
|
-
*
|
|
29579
|
-
* -
|
|
29580
|
-
* -
|
|
29581
|
-
*
|
|
29582
|
-
*
|
|
29583
|
-
*
|
|
29547
|
+
* <props="china">
|
|
29548
|
+
* **Before you call this operation, make sure that you fully understand the billing methods, [pricing](https://www.aliyun.com/price/product#/ecs/detail), and [downgrade refund rules](https://help.aliyun.com/document_detail/116043.html) of ECS.**
|
|
29549
|
+
* <props="intl">
|
|
29550
|
+
* **Before you call this operation, make sure that you fully understand the billing methods, [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl), and [downgrade refund rules](https://help.aliyun.com/document_detail/476339.html) of ECS.**
|
|
29551
|
+
* This operation is asynchronous. The configuration change takes effect after approximately 5 to 10 seconds. Before you upgrade or downgrade ECS instance type of a subscription ECS instance, you can call [DescribeResourcesModification](https://help.aliyun.com/document_detail/2679954.html) to query ECS instance types to which the current instance can be changed.
|
|
29552
|
+
* **Precautions**
|
|
29553
|
+
* - If the NVMe property of the source and target instance types are different (the `NvmeSupport` field returned by [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html)) and the operating system is Windows (the `OSType` field returned by [DescribeInstances](https://help.aliyun.com/document_detail/2679689.html)), complete the [preventive measures](~~2978777#7de04a1c9fo50~~) before you perform the Upgrade/Downgrade.
|
|
29554
|
+
* - Expired instances cannot be changed to a different instance type. Complete the renewal and try again.
|
|
29555
|
+
* - Downgrade the instance type:
|
|
29556
|
+
* - The instance must be in the **Stopped** (`Stopped`) state.
|
|
29557
|
+
* - The price difference between the original and new instance types is refunded to your original billing method. Used vouchers are not refundable. The payer receives the refund.
|
|
29558
|
+
* - The new instance type takes effect only after you [start the instance](https://help.aliyun.com/document_detail/25441.html) after the Upgrade/Downgrade.
|
|
29559
|
+
* - Upgrade the instance type:
|
|
29560
|
+
* - The instance must be in the **Stopped** (`Stopped`) or **Running** (`Running`) state.
|
|
29561
|
+
* - The new instance type takes effect only after you [start the instance](https://help.aliyun.com/document_detail/25441.html) or [restart the instance](https://help.aliyun.com/document_detail/25440.html).
|
|
29584
29562
|
*
|
|
29585
29563
|
* @param request - ModifyPrepayInstanceSpecRequest
|
|
29586
29564
|
* @returns ModifyPrepayInstanceSpecResponse
|
|
@@ -30159,12 +30137,12 @@ export default class Client extends OpenApi {
|
|
|
30159
30137
|
}
|
|
30160
30138
|
|
|
30161
30139
|
/**
|
|
30162
|
-
* Modifies an
|
|
30140
|
+
* Modifies an outbound security group rule.
|
|
30163
30141
|
*
|
|
30164
30142
|
* @remarks
|
|
30165
|
-
* When
|
|
30166
|
-
* -
|
|
30167
|
-
* -
|
|
30143
|
+
* When you modify a security group rule by specifying the security group rule ID, take note of the following limits:
|
|
30144
|
+
* - The authorization object of a security group rule can be an IPv4 Classless Inter-Domain Routing (CIDR) block (or IP address), an IPv6 CIDR block (or IP address), a security group, or a prefix list. You cannot use this operation to change the type of the authorization object of an existing security group rule. For example, if the original authorization object type is an IPv4 CIDR block, you can change it to another IPv4 CIDR block (or IP address), but you cannot change it to an IPv6 CIDR block (or IP address), a security group, or a prefix list.
|
|
30145
|
+
* - You cannot change a field value from a non-empty value to an empty value. To modify security group rules in this case, increase a new rule and then delete the current rule.
|
|
30168
30146
|
*
|
|
30169
30147
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
30170
30148
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30291,12 +30269,12 @@ export default class Client extends OpenApi {
|
|
|
30291
30269
|
}
|
|
30292
30270
|
|
|
30293
30271
|
/**
|
|
30294
|
-
* Modifies an
|
|
30272
|
+
* Modifies an outbound security group rule.
|
|
30295
30273
|
*
|
|
30296
30274
|
* @remarks
|
|
30297
|
-
* When
|
|
30298
|
-
* -
|
|
30299
|
-
* -
|
|
30275
|
+
* When you modify a security group rule by specifying the security group rule ID, take note of the following limits:
|
|
30276
|
+
* - The authorization object of a security group rule can be an IPv4 Classless Inter-Domain Routing (CIDR) block (or IP address), an IPv6 CIDR block (or IP address), a security group, or a prefix list. You cannot use this operation to change the type of the authorization object of an existing security group rule. For example, if the original authorization object type is an IPv4 CIDR block, you can change it to another IPv4 CIDR block (or IP address), but you cannot change it to an IPv6 CIDR block (or IP address), a security group, or a prefix list.
|
|
30277
|
+
* - You cannot change a field value from a non-empty value to an empty value. To modify security group rules in this case, increase a new rule and then delete the current rule.
|
|
30300
30278
|
*
|
|
30301
30279
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
30302
30280
|
* @returns ModifySecurityGroupEgressRuleResponse
|
|
@@ -30394,7 +30372,7 @@ export default class Client extends OpenApi {
|
|
|
30394
30372
|
* @remarks
|
|
30395
30373
|
* When you modify a security group rule by specifying the security group rule ID, take note of the following limits:
|
|
30396
30374
|
* - The authorization object of a security group rule can be an IPv4 Classless Inter-Domain Routing (CIDR) block (or IP address), an IPv6 CIDR block (or IP address), a security group, or a prefix list. You cannot use this operation to change the type of the authorization object of an existing security group rule. For example, if the original authorization object type is an IPv4 CIDR block, you can change it to another IPv4 CIDR block (or IP address), but you cannot change it to an IPv6 CIDR block (or IP address), a security group, or a prefix list.
|
|
30397
|
-
* - You cannot change a field from a non-empty value to an empty value. To modify security group rules in this case, increase a new rule and then delete the current rule.
|
|
30375
|
+
* - You cannot change a field value from a non-empty value to an empty value. To modify security group rules in this case, increase a new rule and then delete the current rule.
|
|
30398
30376
|
*
|
|
30399
30377
|
* @param request - ModifySecurityGroupRuleRequest
|
|
30400
30378
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30526,7 +30504,7 @@ export default class Client extends OpenApi {
|
|
|
30526
30504
|
* @remarks
|
|
30527
30505
|
* When you modify a security group rule by specifying the security group rule ID, take note of the following limits:
|
|
30528
30506
|
* - The authorization object of a security group rule can be an IPv4 Classless Inter-Domain Routing (CIDR) block (or IP address), an IPv6 CIDR block (or IP address), a security group, or a prefix list. You cannot use this operation to change the type of the authorization object of an existing security group rule. For example, if the original authorization object type is an IPv4 CIDR block, you can change it to another IPv4 CIDR block (or IP address), but you cannot change it to an IPv6 CIDR block (or IP address), a security group, or a prefix list.
|
|
30529
|
-
* - You cannot change a field from a non-empty value to an empty value. To modify security group rules in this case, increase a new rule and then delete the current rule.
|
|
30507
|
+
* - You cannot change a field value from a non-empty value to an empty value. To modify security group rules in this case, increase a new rule and then delete the current rule.
|
|
30530
30508
|
*
|
|
30531
30509
|
* @param request - ModifySecurityGroupRuleRequest
|
|
30532
30510
|
* @returns ModifySecurityGroupRuleResponse
|
|
@@ -30904,6 +30882,72 @@ export default class Client extends OpenApi {
|
|
|
30904
30882
|
return await this.modifyStorageSetAttributeWithOptions(request, runtime);
|
|
30905
30883
|
}
|
|
30906
30884
|
|
|
30885
|
+
/**
|
|
30886
|
+
* 修改计划内运维事件属性
|
|
30887
|
+
*
|
|
30888
|
+
* @remarks
|
|
30889
|
+
* ## 接口说明
|
|
30890
|
+
* - 只能修改状态为Scheduled的计划内运维事件。
|
|
30891
|
+
* - 传入的NotBefore不早于当前时间。
|
|
30892
|
+
* - 传入的NotBefore不晚于事件产生时初始的计划执行时间。
|
|
30893
|
+
*
|
|
30894
|
+
* @param request - ModifySystemEventAttributeRequest
|
|
30895
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
30896
|
+
* @returns ModifySystemEventAttributeResponse
|
|
30897
|
+
*/
|
|
30898
|
+
async modifySystemEventAttributeWithOptions(request: $_model.ModifySystemEventAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySystemEventAttributeResponse> {
|
|
30899
|
+
request.validate();
|
|
30900
|
+
let query = { };
|
|
30901
|
+
if (!$dara.isNull(request.eventId)) {
|
|
30902
|
+
query["EventId"] = request.eventId;
|
|
30903
|
+
}
|
|
30904
|
+
|
|
30905
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
30906
|
+
query["InstanceId"] = request.instanceId;
|
|
30907
|
+
}
|
|
30908
|
+
|
|
30909
|
+
if (!$dara.isNull(request.notBefore)) {
|
|
30910
|
+
query["NotBefore"] = request.notBefore;
|
|
30911
|
+
}
|
|
30912
|
+
|
|
30913
|
+
if (!$dara.isNull(request.regionId)) {
|
|
30914
|
+
query["RegionId"] = request.regionId;
|
|
30915
|
+
}
|
|
30916
|
+
|
|
30917
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
30918
|
+
query: OpenApiUtil.query(query),
|
|
30919
|
+
});
|
|
30920
|
+
let params = new $OpenApiUtil.Params({
|
|
30921
|
+
action: "ModifySystemEventAttribute",
|
|
30922
|
+
version: "2014-05-26",
|
|
30923
|
+
protocol: "HTTPS",
|
|
30924
|
+
pathname: "/",
|
|
30925
|
+
method: "POST",
|
|
30926
|
+
authType: "AK",
|
|
30927
|
+
style: "RPC",
|
|
30928
|
+
reqBodyType: "formData",
|
|
30929
|
+
bodyType: "json",
|
|
30930
|
+
});
|
|
30931
|
+
return $dara.cast<$_model.ModifySystemEventAttributeResponse>(await this.callApi(params, req, runtime), new $_model.ModifySystemEventAttributeResponse({}));
|
|
30932
|
+
}
|
|
30933
|
+
|
|
30934
|
+
/**
|
|
30935
|
+
* 修改计划内运维事件属性
|
|
30936
|
+
*
|
|
30937
|
+
* @remarks
|
|
30938
|
+
* ## 接口说明
|
|
30939
|
+
* - 只能修改状态为Scheduled的计划内运维事件。
|
|
30940
|
+
* - 传入的NotBefore不早于当前时间。
|
|
30941
|
+
* - 传入的NotBefore不晚于事件产生时初始的计划执行时间。
|
|
30942
|
+
*
|
|
30943
|
+
* @param request - ModifySystemEventAttributeRequest
|
|
30944
|
+
* @returns ModifySystemEventAttributeResponse
|
|
30945
|
+
*/
|
|
30946
|
+
async modifySystemEventAttribute(request: $_model.ModifySystemEventAttributeRequest): Promise<$_model.ModifySystemEventAttributeResponse> {
|
|
30947
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
30948
|
+
return await this.modifySystemEventAttributeWithOptions(request, runtime);
|
|
30949
|
+
}
|
|
30950
|
+
|
|
30907
30951
|
/**
|
|
30908
30952
|
* Modifies the default user-level attributes.
|
|
30909
30953
|
*
|
|
@@ -32806,7 +32850,7 @@ export default class Client extends OpenApi {
|
|
|
32806
32850
|
}
|
|
32807
32851
|
|
|
32808
32852
|
/**
|
|
32809
|
-
* Renews
|
|
32853
|
+
* Renews one or more purchased elasticity assurance services.
|
|
32810
32854
|
*
|
|
32811
32855
|
* @param request - RenewElasticityAssurancesRequest
|
|
32812
32856
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -32881,7 +32925,7 @@ export default class Client extends OpenApi {
|
|
|
32881
32925
|
}
|
|
32882
32926
|
|
|
32883
32927
|
/**
|
|
32884
|
-
* Renews
|
|
32928
|
+
* Renews one or more purchased elasticity assurance services.
|
|
32885
32929
|
*
|
|
32886
32930
|
* @param request - RenewElasticityAssurancesRequest
|
|
32887
32931
|
* @returns RenewElasticityAssurancesResponse
|
|
@@ -33616,61 +33660,57 @@ export default class Client extends OpenApi {
|
|
|
33616
33660
|
}
|
|
33617
33661
|
|
|
33618
33662
|
/**
|
|
33619
|
-
* Deletes inbound security group rules from a
|
|
33663
|
+
* Deletes one or more inbound security group rules from a specified security group.
|
|
33620
33664
|
*
|
|
33621
33665
|
* @remarks
|
|
33622
|
-
* > Alibaba Cloud
|
|
33623
|
-
* You can use one of the following
|
|
33624
|
-
* -
|
|
33625
|
-
*
|
|
33626
|
-
* -
|
|
33627
|
-
*
|
|
33628
|
-
*
|
|
33629
|
-
*
|
|
33630
|
-
*
|
|
33631
|
-
*
|
|
33632
|
-
*
|
|
33633
|
-
* > You cannot specify
|
|
33634
|
-
* ###
|
|
33635
|
-
* - Delete
|
|
33636
|
-
* <!---->
|
|
33666
|
+
* >Notice: Starting July 8, 2024, Alibaba Cloud adjusted the validation rules for this operation. When you attempt to delete a security group rule that does not exist, the operation now returns the error code "InvalidParam.SecurityGroupRuleId" instead of a success response. Update your error code handling to be compatible accordingly to avoid impact on your production workloads.
|
|
33667
|
+
* You can use one of the following methods to pass parameters to delete rules:
|
|
33668
|
+
* - Specify security group rule IDs to delete rules (recommended).
|
|
33669
|
+
* - If a specified security group rule ID does not exist, the API invocation fails.
|
|
33670
|
+
* - Specify Permissions to delete rules.
|
|
33671
|
+
* - If no matching security group rule exists, the invocation succeeds but no rule is deleted.
|
|
33672
|
+
* - The following parameters are required to identify an inbound rule:
|
|
33673
|
+
* - Source settings: Set one of SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcePrefixListId (prefix list ID), or SourceGroupId (source security group).
|
|
33674
|
+
* - Destination port range: PortRange.
|
|
33675
|
+
* - Protocol type: IpProtocol.
|
|
33676
|
+
* - Access policy: Policy.
|
|
33677
|
+
* > You cannot specify both security group rule IDs and Permissions at the same time.
|
|
33678
|
+
* ### Request examples
|
|
33679
|
+
* - Delete by specifying security group rule IDs.
|
|
33637
33680
|
* ```
|
|
33638
|
-
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //Specify the
|
|
33639
|
-
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] //Specify the
|
|
33681
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group ID.
|
|
33682
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // Specify the security group rule IDs.
|
|
33640
33683
|
* ```
|
|
33641
|
-
* - Delete
|
|
33642
|
-
* <!---->
|
|
33684
|
+
* - Delete by specifying an IP address range.
|
|
33643
33685
|
* ```
|
|
33644
33686
|
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
33645
33687
|
* "Permissions":[
|
|
33646
33688
|
* {
|
|
33647
|
-
* "SourceCidrIp":"10.0.0.0/8", //Specify the source
|
|
33648
|
-
* "IpProtocol":"TCP", //Specify the protocol.
|
|
33649
|
-
* "PortRange":"80/80", //Specify the destination port range.
|
|
33650
|
-
* "Policy":"accept" //Specify the
|
|
33689
|
+
* "SourceCidrIp":"10.0.0.0/8", // Specify the source IP address range.
|
|
33690
|
+
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
33691
|
+
* "PortRange":"80/80", // Specify the destination port range.
|
|
33692
|
+
* "Policy":"accept" // Specify the access policy.
|
|
33651
33693
|
* }
|
|
33652
33694
|
* ]
|
|
33653
33695
|
* ```
|
|
33654
|
-
* - Delete
|
|
33655
|
-
* <!---->
|
|
33696
|
+
* - Delete by specifying another security group.
|
|
33656
33697
|
* ```
|
|
33657
33698
|
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
33658
33699
|
* "Permissions":[
|
|
33659
33700
|
* {
|
|
33660
|
-
* "SourceGroupId":"sg-bp67acfmxa123b****", //Specify the
|
|
33701
|
+
* "SourceGroupId":"sg-bp67acfmxa123b****", // Specify the source security group ID.
|
|
33661
33702
|
* "IpProtocol":"TCP,"
|
|
33662
33703
|
* "PortRange":"80/80",
|
|
33663
33704
|
* "Policy":"accept"
|
|
33664
33705
|
* ]
|
|
33665
33706
|
* }
|
|
33666
33707
|
* ```
|
|
33667
|
-
* - Delete
|
|
33668
|
-
* <!---->
|
|
33708
|
+
* - Delete by specifying a prefix list.
|
|
33669
33709
|
* ```
|
|
33670
33710
|
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
33671
33711
|
* "Permissions":[
|
|
33672
33712
|
* {
|
|
33673
|
-
* "SourcePrefixListId":pl-x1j1k5ykzqlixdcy****", //Specify the
|
|
33713
|
+
* "SourcePrefixListId":pl-x1j1k5ykzqlixdcy****", // Specify the source prefix list ID.
|
|
33674
33714
|
* "IpProtocol":"TCP",
|
|
33675
33715
|
* "PortRange":"80/80",
|
|
33676
33716
|
* "Policy":"accept"
|
|
@@ -33811,61 +33851,57 @@ export default class Client extends OpenApi {
|
|
|
33811
33851
|
}
|
|
33812
33852
|
|
|
33813
33853
|
/**
|
|
33814
|
-
* Deletes inbound security group rules from a
|
|
33854
|
+
* Deletes one or more inbound security group rules from a specified security group.
|
|
33815
33855
|
*
|
|
33816
33856
|
* @remarks
|
|
33817
|
-
* > Alibaba Cloud
|
|
33818
|
-
* You can use one of the following
|
|
33819
|
-
* -
|
|
33820
|
-
*
|
|
33821
|
-
* -
|
|
33822
|
-
*
|
|
33823
|
-
*
|
|
33824
|
-
*
|
|
33825
|
-
*
|
|
33826
|
-
*
|
|
33827
|
-
*
|
|
33828
|
-
* > You cannot specify
|
|
33829
|
-
* ###
|
|
33830
|
-
* - Delete
|
|
33831
|
-
* <!---->
|
|
33857
|
+
* >Notice: Starting July 8, 2024, Alibaba Cloud adjusted the validation rules for this operation. When you attempt to delete a security group rule that does not exist, the operation now returns the error code "InvalidParam.SecurityGroupRuleId" instead of a success response. Update your error code handling to be compatible accordingly to avoid impact on your production workloads.
|
|
33858
|
+
* You can use one of the following methods to pass parameters to delete rules:
|
|
33859
|
+
* - Specify security group rule IDs to delete rules (recommended).
|
|
33860
|
+
* - If a specified security group rule ID does not exist, the API invocation fails.
|
|
33861
|
+
* - Specify Permissions to delete rules.
|
|
33862
|
+
* - If no matching security group rule exists, the invocation succeeds but no rule is deleted.
|
|
33863
|
+
* - The following parameters are required to identify an inbound rule:
|
|
33864
|
+
* - Source settings: Set one of SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcePrefixListId (prefix list ID), or SourceGroupId (source security group).
|
|
33865
|
+
* - Destination port range: PortRange.
|
|
33866
|
+
* - Protocol type: IpProtocol.
|
|
33867
|
+
* - Access policy: Policy.
|
|
33868
|
+
* > You cannot specify both security group rule IDs and Permissions at the same time.
|
|
33869
|
+
* ### Request examples
|
|
33870
|
+
* - Delete by specifying security group rule IDs.
|
|
33832
33871
|
* ```
|
|
33833
|
-
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //Specify the
|
|
33834
|
-
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] //Specify the
|
|
33872
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group ID.
|
|
33873
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // Specify the security group rule IDs.
|
|
33835
33874
|
* ```
|
|
33836
|
-
* - Delete
|
|
33837
|
-
* <!---->
|
|
33875
|
+
* - Delete by specifying an IP address range.
|
|
33838
33876
|
* ```
|
|
33839
33877
|
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
33840
33878
|
* "Permissions":[
|
|
33841
33879
|
* {
|
|
33842
|
-
* "SourceCidrIp":"10.0.0.0/8", //Specify the source
|
|
33843
|
-
* "IpProtocol":"TCP", //Specify the protocol.
|
|
33844
|
-
* "PortRange":"80/80", //Specify the destination port range.
|
|
33845
|
-
* "Policy":"accept" //Specify the
|
|
33880
|
+
* "SourceCidrIp":"10.0.0.0/8", // Specify the source IP address range.
|
|
33881
|
+
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
33882
|
+
* "PortRange":"80/80", // Specify the destination port range.
|
|
33883
|
+
* "Policy":"accept" // Specify the access policy.
|
|
33846
33884
|
* }
|
|
33847
33885
|
* ]
|
|
33848
33886
|
* ```
|
|
33849
|
-
* - Delete
|
|
33850
|
-
* <!---->
|
|
33887
|
+
* - Delete by specifying another security group.
|
|
33851
33888
|
* ```
|
|
33852
33889
|
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
33853
33890
|
* "Permissions":[
|
|
33854
33891
|
* {
|
|
33855
|
-
* "SourceGroupId":"sg-bp67acfmxa123b****", //Specify the
|
|
33892
|
+
* "SourceGroupId":"sg-bp67acfmxa123b****", // Specify the source security group ID.
|
|
33856
33893
|
* "IpProtocol":"TCP,"
|
|
33857
33894
|
* "PortRange":"80/80",
|
|
33858
33895
|
* "Policy":"accept"
|
|
33859
33896
|
* ]
|
|
33860
33897
|
* }
|
|
33861
33898
|
* ```
|
|
33862
|
-
* - Delete
|
|
33863
|
-
* <!---->
|
|
33899
|
+
* - Delete by specifying a prefix list.
|
|
33864
33900
|
* ```
|
|
33865
33901
|
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
33866
33902
|
* "Permissions":[
|
|
33867
33903
|
* {
|
|
33868
|
-
* "SourcePrefixListId":pl-x1j1k5ykzqlixdcy****", //Specify the
|
|
33904
|
+
* "SourcePrefixListId":pl-x1j1k5ykzqlixdcy****", // Specify the source prefix list ID.
|
|
33869
33905
|
* "IpProtocol":"TCP",
|
|
33870
33906
|
* "PortRange":"80/80",
|
|
33871
33907
|
* "Policy":"accept"
|
|
@@ -33885,14 +33921,14 @@ export default class Client extends OpenApi {
|
|
|
33885
33921
|
* Deletes one or more outbound security group rules from a specified security group.
|
|
33886
33922
|
*
|
|
33887
33923
|
* @remarks
|
|
33888
|
-
* >Notice:
|
|
33924
|
+
* >Notice: Alibaba Cloud adjusted the validation rules for this operation on July 8, 2024. When you attempt to delete a security group rule that does not exist, the operation now returns the error code "InvalidSecurityGroupRule.RuleNotExist" instead of a success response. Update your error code handling to be compatible with this change to avoid impacts on your production workloads.
|
|
33889
33925
|
* You can use one of the following methods to pass parameters to delete security group rules:
|
|
33890
33926
|
* - Delete rules by specifying security group rule IDs (recommended).
|
|
33891
|
-
* - If
|
|
33927
|
+
* - If a specified security group rule ID does not exist, a fault is returned.
|
|
33892
33928
|
* - Delete rules by specifying the Permissions parameter.
|
|
33893
|
-
* - If
|
|
33929
|
+
* - If no matching security group rule exists, the invocation succeeds but no rule is deleted.
|
|
33894
33930
|
* - The following parameters are required to delete a security group rule:
|
|
33895
|
-
* - Destination
|
|
33931
|
+
* - Destination: Specify one of DestCidrIp (IPv4 address), Ipv6DestCidrIp (IPv6 address), DestPrefixListId (prefix list ID), or DestGroupId (destination security group).
|
|
33896
33932
|
* - Destination port range: PortRange.
|
|
33897
33933
|
* - Protocol type: IpProtocol.
|
|
33898
33934
|
* - Access policy: Policy.
|
|
@@ -33903,15 +33939,15 @@ export default class Client extends OpenApi {
|
|
|
33903
33939
|
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group ID.
|
|
33904
33940
|
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // Specify the security group rule IDs.
|
|
33905
33941
|
* ```
|
|
33906
|
-
* - Delete by IP
|
|
33942
|
+
* - Delete by IP CIDR block.
|
|
33907
33943
|
* ```
|
|
33908
33944
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
33909
33945
|
* "Permissions":[
|
|
33910
33946
|
* {
|
|
33911
33947
|
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
33912
|
-
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IP
|
|
33948
|
+
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IP CIDR block.
|
|
33913
33949
|
* "PortRange":"22/22", // Specify the destination port range.
|
|
33914
|
-
* "Policy":"accept" // Specify the
|
|
33950
|
+
* "Policy":"accept" // Specify the authorization policy.
|
|
33915
33951
|
* }
|
|
33916
33952
|
* ]
|
|
33917
33953
|
* ```
|
|
@@ -33939,7 +33975,7 @@ export default class Client extends OpenApi {
|
|
|
33939
33975
|
* "Policy":"accept",
|
|
33940
33976
|
* }
|
|
33941
33977
|
* ]
|
|
33942
|
-
*
|
|
33978
|
+
* ```
|
|
33943
33979
|
*
|
|
33944
33980
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
33945
33981
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -34081,14 +34117,14 @@ export default class Client extends OpenApi {
|
|
|
34081
34117
|
* Deletes one or more outbound security group rules from a specified security group.
|
|
34082
34118
|
*
|
|
34083
34119
|
* @remarks
|
|
34084
|
-
* >Notice:
|
|
34120
|
+
* >Notice: Alibaba Cloud adjusted the validation rules for this operation on July 8, 2024. When you attempt to delete a security group rule that does not exist, the operation now returns the error code "InvalidSecurityGroupRule.RuleNotExist" instead of a success response. Update your error code handling to be compatible with this change to avoid impacts on your production workloads.
|
|
34085
34121
|
* You can use one of the following methods to pass parameters to delete security group rules:
|
|
34086
34122
|
* - Delete rules by specifying security group rule IDs (recommended).
|
|
34087
|
-
* - If
|
|
34123
|
+
* - If a specified security group rule ID does not exist, a fault is returned.
|
|
34088
34124
|
* - Delete rules by specifying the Permissions parameter.
|
|
34089
|
-
* - If
|
|
34125
|
+
* - If no matching security group rule exists, the invocation succeeds but no rule is deleted.
|
|
34090
34126
|
* - The following parameters are required to delete a security group rule:
|
|
34091
|
-
* - Destination
|
|
34127
|
+
* - Destination: Specify one of DestCidrIp (IPv4 address), Ipv6DestCidrIp (IPv6 address), DestPrefixListId (prefix list ID), or DestGroupId (destination security group).
|
|
34092
34128
|
* - Destination port range: PortRange.
|
|
34093
34129
|
* - Protocol type: IpProtocol.
|
|
34094
34130
|
* - Access policy: Policy.
|
|
@@ -34099,15 +34135,15 @@ export default class Client extends OpenApi {
|
|
|
34099
34135
|
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group ID.
|
|
34100
34136
|
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // Specify the security group rule IDs.
|
|
34101
34137
|
* ```
|
|
34102
|
-
* - Delete by IP
|
|
34138
|
+
* - Delete by IP CIDR block.
|
|
34103
34139
|
* ```
|
|
34104
34140
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
34105
34141
|
* "Permissions":[
|
|
34106
34142
|
* {
|
|
34107
34143
|
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
34108
|
-
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IP
|
|
34144
|
+
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IP CIDR block.
|
|
34109
34145
|
* "PortRange":"22/22", // Specify the destination port range.
|
|
34110
|
-
* "Policy":"accept" // Specify the
|
|
34146
|
+
* "Policy":"accept" // Specify the authorization policy.
|
|
34111
34147
|
* }
|
|
34112
34148
|
* ]
|
|
34113
34149
|
* ```
|
|
@@ -34135,7 +34171,7 @@ export default class Client extends OpenApi {
|
|
|
34135
34171
|
* "Policy":"accept",
|
|
34136
34172
|
* }
|
|
34137
34173
|
* ]
|
|
34138
|
-
*
|
|
34174
|
+
* ```
|
|
34139
34175
|
*
|
|
34140
34176
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
34141
34177
|
* @returns RevokeSecurityGroupEgressResponse
|
|
@@ -35326,22 +35362,22 @@ export default class Client extends OpenApi {
|
|
|
35326
35362
|
}
|
|
35327
35363
|
|
|
35328
35364
|
/**
|
|
35329
|
-
*
|
|
35365
|
+
* Invokes StartTerminalSession to create a session based on the session management feature. You can establish a WebSocket session with an ECS instance by specifying the instance ID. The WebSocketUrl returned by this operation can be used to establish a remote connection to the ECS instance.
|
|
35330
35366
|
*
|
|
35331
35367
|
* @remarks
|
|
35332
|
-
* ##
|
|
35333
|
-
* When you customize a remote connection client
|
|
35334
|
-
* - The specified ECS instance must be in the
|
|
35335
|
-
* -
|
|
35336
|
-
*
|
|
35337
|
-
*
|
|
35338
|
-
*
|
|
35339
|
-
*
|
|
35340
|
-
* - After
|
|
35341
|
-
* -
|
|
35342
|
-
* -
|
|
35343
|
-
* - The port forwarding feature
|
|
35344
|
-
* - To permanently
|
|
35368
|
+
* ## Operation description
|
|
35369
|
+
* When you customize a remote connection client by using code, you can invoke this operation to obtain the WebSocketUrl for establishing a remote connection to an ECS instance. Take note of the following items:
|
|
35370
|
+
* - The specified ECS instance must be in the Running state.
|
|
35371
|
+
* - Cloud Assistant Agent must be installed on the specified ECS instance. You can invoke [DescribeCloudAssistantStatus](https://help.aliyun.com/document_detail/87346.html) to check whether Cloud Assistant Agent is installed on the ECS instance and query the version number of Cloud Assistant Agent.
|
|
35372
|
+
* - If Cloud Assistant Agent is not installed on the ECS instance, invoke [InstallCloudAssistant](https://help.aliyun.com/document_detail/85916.html) to install it.
|
|
35373
|
+
* - The version number of Cloud Assistant Agent must be later than the following versions to support the session management feature. To upgrade Cloud Assistant Agent, see [Update or disable updates for Cloud Assistant Agent](https://help.aliyun.com/document_detail/134383.html).
|
|
35374
|
+
* - Linux operating system: 2.2.3.256
|
|
35375
|
+
* - Windows operating system: 2.1.3.256
|
|
35376
|
+
* - After this operation is invoked, the WebSocketUrl is valid for 10 minutes.
|
|
35377
|
+
* - After a session is established, Cloud Assistant closes the connection if no data is transmitted for 3 minutes.
|
|
35378
|
+
* - In a single region, a maximum of 100 sessions can be created and active. A maximum of 20 sessions can be in the connected state for a single ECS instance. The bandwidth limit for a single session is 200 KB/s.
|
|
35379
|
+
* - The port forwarding feature supports only TCP port forwarding. UDP is not supported.
|
|
35380
|
+
* - To permanently shutdown a session and invalidate the WebSocketUrl, invoke the EndTerminalSession operation.
|
|
35345
35381
|
*
|
|
35346
35382
|
* @param tmpReq - StartTerminalSessionRequest
|
|
35347
35383
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35434,22 +35470,22 @@ export default class Client extends OpenApi {
|
|
|
35434
35470
|
}
|
|
35435
35471
|
|
|
35436
35472
|
/**
|
|
35437
|
-
*
|
|
35473
|
+
* Invokes StartTerminalSession to create a session based on the session management feature. You can establish a WebSocket session with an ECS instance by specifying the instance ID. The WebSocketUrl returned by this operation can be used to establish a remote connection to the ECS instance.
|
|
35438
35474
|
*
|
|
35439
35475
|
* @remarks
|
|
35440
|
-
* ##
|
|
35441
|
-
* When you customize a remote connection client
|
|
35442
|
-
* - The specified ECS instance must be in the
|
|
35443
|
-
* -
|
|
35444
|
-
*
|
|
35445
|
-
*
|
|
35446
|
-
*
|
|
35447
|
-
*
|
|
35448
|
-
* - After
|
|
35449
|
-
* -
|
|
35450
|
-
* -
|
|
35451
|
-
* - The port forwarding feature
|
|
35452
|
-
* - To permanently
|
|
35476
|
+
* ## Operation description
|
|
35477
|
+
* When you customize a remote connection client by using code, you can invoke this operation to obtain the WebSocketUrl for establishing a remote connection to an ECS instance. Take note of the following items:
|
|
35478
|
+
* - The specified ECS instance must be in the Running state.
|
|
35479
|
+
* - Cloud Assistant Agent must be installed on the specified ECS instance. You can invoke [DescribeCloudAssistantStatus](https://help.aliyun.com/document_detail/87346.html) to check whether Cloud Assistant Agent is installed on the ECS instance and query the version number of Cloud Assistant Agent.
|
|
35480
|
+
* - If Cloud Assistant Agent is not installed on the ECS instance, invoke [InstallCloudAssistant](https://help.aliyun.com/document_detail/85916.html) to install it.
|
|
35481
|
+
* - The version number of Cloud Assistant Agent must be later than the following versions to support the session management feature. To upgrade Cloud Assistant Agent, see [Update or disable updates for Cloud Assistant Agent](https://help.aliyun.com/document_detail/134383.html).
|
|
35482
|
+
* - Linux operating system: 2.2.3.256
|
|
35483
|
+
* - Windows operating system: 2.1.3.256
|
|
35484
|
+
* - After this operation is invoked, the WebSocketUrl is valid for 10 minutes.
|
|
35485
|
+
* - After a session is established, Cloud Assistant closes the connection if no data is transmitted for 3 minutes.
|
|
35486
|
+
* - In a single region, a maximum of 100 sessions can be created and active. A maximum of 20 sessions can be in the connected state for a single ECS instance. The bandwidth limit for a single session is 200 KB/s.
|
|
35487
|
+
* - The port forwarding feature supports only TCP port forwarding. UDP is not supported.
|
|
35488
|
+
* - To permanently shutdown a session and invalidate the WebSocketUrl, invoke the EndTerminalSession operation.
|
|
35453
35489
|
*
|
|
35454
35490
|
* @param request - StartTerminalSessionRequest
|
|
35455
35491
|
* @returns StartTerminalSessionResponse
|
|
@@ -35460,13 +35496,13 @@ export default class Client extends OpenApi {
|
|
|
35460
35496
|
}
|
|
35461
35497
|
|
|
35462
35498
|
/**
|
|
35463
|
-
* Stops an Elastic Compute Service (ECS) instance. You can specify
|
|
35499
|
+
* Stops an Elastic Compute Service (ECS) instance. You can specify different stop strategies, stop modes, and batch operation modes to stop the ECS instance.
|
|
35464
35500
|
*
|
|
35465
35501
|
* @remarks
|
|
35466
|
-
*
|
|
35467
|
-
* ###
|
|
35468
|
-
* -
|
|
35469
|
-
* -
|
|
35502
|
+
* This is an asynchronous operation. The ECS instance is not stopped immediately after a successful invocation. The ECS instance first enters the Stopping state. You can invoke [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) to query the instance status. When the returned status is `Stopped`, the ECS instance is stopped.
|
|
35503
|
+
* ### Before you begin
|
|
35504
|
+
* - ECS instances that are locked for security reasons cannot be stopped by invoking this operation. For more information, see [Impact of resource security locks on API calls](https://help.aliyun.com/document_detail/25695.html).
|
|
35505
|
+
* - After you enable the economical mode for VPC-connected instances, you can set `StoppedMode=KeepCharging` to enable the standard stop mode. The ECS instance continues billing after it is stopped, and the ECS instance type inventory and Internet IP address are retained.
|
|
35470
35506
|
*
|
|
35471
35507
|
* @param request - StopInstanceRequest
|
|
35472
35508
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35533,13 +35569,13 @@ export default class Client extends OpenApi {
|
|
|
35533
35569
|
}
|
|
35534
35570
|
|
|
35535
35571
|
/**
|
|
35536
|
-
* Stops an Elastic Compute Service (ECS) instance. You can specify
|
|
35572
|
+
* Stops an Elastic Compute Service (ECS) instance. You can specify different stop strategies, stop modes, and batch operation modes to stop the ECS instance.
|
|
35537
35573
|
*
|
|
35538
35574
|
* @remarks
|
|
35539
|
-
*
|
|
35540
|
-
* ###
|
|
35541
|
-
* -
|
|
35542
|
-
* -
|
|
35575
|
+
* This is an asynchronous operation. The ECS instance is not stopped immediately after a successful invocation. The ECS instance first enters the Stopping state. You can invoke [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) to query the instance status. When the returned status is `Stopped`, the ECS instance is stopped.
|
|
35576
|
+
* ### Before you begin
|
|
35577
|
+
* - ECS instances that are locked for security reasons cannot be stopped by invoking this operation. For more information, see [Impact of resource security locks on API calls](https://help.aliyun.com/document_detail/25695.html).
|
|
35578
|
+
* - After you enable the economical mode for VPC-connected instances, you can set `StoppedMode=KeepCharging` to enable the standard stop mode. The ECS instance continues billing after it is stopped, and the ECS instance type inventory and Internet IP address are retained.
|
|
35543
35579
|
*
|
|
35544
35580
|
* @param request - StopInstanceRequest
|
|
35545
35581
|
* @returns StopInstanceResponse
|
|
@@ -35550,13 +35586,13 @@ export default class Client extends OpenApi {
|
|
|
35550
35586
|
}
|
|
35551
35587
|
|
|
35552
35588
|
/**
|
|
35553
|
-
* Stops
|
|
35589
|
+
* Stops one or more ECS instances. You can specify the stop method, stop mode, and batch operation mode.
|
|
35554
35590
|
*
|
|
35555
35591
|
* @remarks
|
|
35556
|
-
*
|
|
35557
|
-
* ###
|
|
35558
|
-
* -
|
|
35559
|
-
* -
|
|
35592
|
+
* This is an asynchronous operation. After a successful call, the instance enters the Stopping state. Call [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) to query the instance status. When the returned status is `Stopped`, the instance is stopped.
|
|
35593
|
+
* ### Before you begin
|
|
35594
|
+
* - After an instance is stopped, it becomes unavailable. Make sure that stopping the instance does not affect your business. Call [StartInstance](https://help.aliyun.com/document_detail/2679679.html) or [StartInstances](https://help.aliyun.com/document_detail/2679680.html) to start the instance.
|
|
35595
|
+
* - Instances that are locked for security reasons cannot be stopped by calling this operation. For more information, see [Impacts of resource security locks on API calls](https://help.aliyun.com/document_detail/25695.html).
|
|
35560
35596
|
*
|
|
35561
35597
|
* @param request - StopInstancesRequest
|
|
35562
35598
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35623,13 +35659,13 @@ export default class Client extends OpenApi {
|
|
|
35623
35659
|
}
|
|
35624
35660
|
|
|
35625
35661
|
/**
|
|
35626
|
-
* Stops
|
|
35662
|
+
* Stops one or more ECS instances. You can specify the stop method, stop mode, and batch operation mode.
|
|
35627
35663
|
*
|
|
35628
35664
|
* @remarks
|
|
35629
|
-
*
|
|
35630
|
-
* ###
|
|
35631
|
-
* -
|
|
35632
|
-
* -
|
|
35665
|
+
* This is an asynchronous operation. After a successful call, the instance enters the Stopping state. Call [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) to query the instance status. When the returned status is `Stopped`, the instance is stopped.
|
|
35666
|
+
* ### Before you begin
|
|
35667
|
+
* - After an instance is stopped, it becomes unavailable. Make sure that stopping the instance does not affect your business. Call [StartInstance](https://help.aliyun.com/document_detail/2679679.html) or [StartInstances](https://help.aliyun.com/document_detail/2679680.html) to start the instance.
|
|
35668
|
+
* - Instances that are locked for security reasons cannot be stopped by calling this operation. For more information, see [Impacts of resource security locks on API calls](https://help.aliyun.com/document_detail/25695.html).
|
|
35633
35669
|
*
|
|
35634
35670
|
* @param request - StopInstancesRequest
|
|
35635
35671
|
* @returns StopInstancesResponse
|
|
@@ -35955,8 +35991,8 @@ export default class Client extends OpenApi {
|
|
|
35955
35991
|
* @remarks
|
|
35956
35992
|
* ## Operation description
|
|
35957
35993
|
* When you invoke this operation, take note of the following items:
|
|
35958
|
-
* - The Elastic Network Interface (ENI) must be in the **Active**
|
|
35959
|
-
* - If you are operating on a primary
|
|
35994
|
+
* - The Elastic Network Interface (ENI) must be in the **Active** or **InUse** state.
|
|
35995
|
+
* - If you are operating on a primary network interface controller (NIC), the ECS instance to which the NIC is attached must be in the **Running** or **Stopped** state.
|
|
35960
35996
|
*
|
|
35961
35997
|
* @param request - UnassignIpv6AddressesRequest
|
|
35962
35998
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -36024,8 +36060,8 @@ export default class Client extends OpenApi {
|
|
|
36024
36060
|
* @remarks
|
|
36025
36061
|
* ## Operation description
|
|
36026
36062
|
* When you invoke this operation, take note of the following items:
|
|
36027
|
-
* - The Elastic Network Interface (ENI) must be in the **Active**
|
|
36028
|
-
* - If you are operating on a primary
|
|
36063
|
+
* - The Elastic Network Interface (ENI) must be in the **Active** or **InUse** state.
|
|
36064
|
+
* - If you are operating on a primary network interface controller (NIC), the ECS instance to which the NIC is attached must be in the **Running** or **Stopped** state.
|
|
36029
36065
|
*
|
|
36030
36066
|
* @param request - UnassignIpv6AddressesRequest
|
|
36031
36067
|
* @returns UnassignIpv6AddressesResponse
|