@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
|
@@ -53,7 +53,7 @@ export class ModifyPlanMaintenanceWindowRequestTargetResource extends $dara.Mode
|
|
|
53
53
|
resourceGroupId?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The resource type for the O&M window.
|
|
56
|
+
* The resource type for the O&M window configuration.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* Tag
|
|
@@ -99,7 +99,7 @@ export class ModifyPlanMaintenanceWindowRequestTimePeriodRangeList extends $dara
|
|
|
99
99
|
*
|
|
100
100
|
* - If PeriodUnit is set to Weekly, the format is Monday,22:00. Monday can be replaced with Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday.
|
|
101
101
|
* - If PeriodUnit is set to Daily, the format is 22:00.
|
|
102
|
-
* - The comma delimiter separates two parts. The first part represents the hour, with valid values from 00 to 23. The second part represents the
|
|
102
|
+
* - The comma delimiter separates two parts. The first part represents the hour, with valid values from 00 to 23. The second part represents the minute, which currently supports only 00.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
105
|
* Tuesday,03:00
|
|
@@ -111,7 +111,7 @@ export class ModifyPlanMaintenanceWindowRequestTimePeriodRangeList extends $dara
|
|
|
111
111
|
*
|
|
112
112
|
* - If PeriodUnit is set to Weekly, the format is Monday,22:00. Monday can be replaced with Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday.
|
|
113
113
|
* - If PeriodUnit is set to Daily, the format is 22:00.
|
|
114
|
-
* - The comma delimiter separates two parts. The first part represents the hour, with valid values from 00 to 23. The second part represents the
|
|
114
|
+
* - The comma delimiter separates two parts. The first part represents the hour, with valid values from 00 to 23. The second part represents the minute, which currently supports only 00.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* Monday,22:00
|
|
@@ -151,7 +151,7 @@ export class ModifyPlanMaintenanceWindowRequestTimePeriod extends $dara.Model {
|
|
|
151
151
|
periodUnit?: string;
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
* The time ranges of the
|
|
154
|
+
* The time ranges of the O&M window recurring cycle (UTC time zone).
|
|
155
155
|
*/
|
|
156
156
|
rangeList?: ModifyPlanMaintenanceWindowRequestTimePeriodRangeList[];
|
|
157
157
|
static names(): { [key: string]: string } {
|
|
@@ -5,13 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyPrepayInstanceSpecRequestSystemDisk extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The new
|
|
8
|
+
* The new system disk category. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - cloud_efficiency:
|
|
11
|
-
*
|
|
12
|
-
* -
|
|
13
|
-
*
|
|
14
|
-
* > This parameter takes effect on an instance only when you change from a [retired instance type](https://help.aliyun.com/document_detail/55263.html) to an instance type in an [instance family available for purchase](https://help.aliyun.com/document_detail/25378.html) and upgrade the instance from a non-I/O optimized instance type to an I/O optimized instance type.
|
|
10
|
+
* - cloud_efficiency: ultra disk.
|
|
11
|
+
* - cloud_ssd: standard SSD.
|
|
12
|
+
* > This parameter is valid only when you perform an Increase Quota from a [retired instance type](https://help.aliyun.com/document_detail/55263.html) to a [Normal instance family](https://help.aliyun.com/document_detail/25378.html) and change a non-I/O optimization instance to an I/O optimization instance.
|
|
15
13
|
*
|
|
16
14
|
* @example
|
|
17
15
|
* cloud_efficiency
|
|
@@ -92,21 +90,15 @@ export class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
92
90
|
systemDisk?: ModifyPrepayInstanceSpecRequestSystemDisk;
|
|
93
91
|
/**
|
|
94
92
|
* @remarks
|
|
95
|
-
* Specifies whether to
|
|
93
|
+
* Specifies whether to automatically complete the payment when you upgrade the instance type. Valid values:
|
|
96
94
|
*
|
|
97
95
|
* - true: The payment is automatically completed.
|
|
98
|
-
*
|
|
99
|
-
* - false: An order is generated but no payment is made.
|
|
96
|
+
* - false: Only an order is created. No payment is made.
|
|
100
97
|
*
|
|
101
98
|
* Default value: true.
|
|
102
|
-
*
|
|
103
|
-
* >
|
|
104
|
-
*
|
|
105
|
-
* - Make sure that your account balance is sufficient. Otherwise, your order becomes invalid and must be canceled.
|
|
106
|
-
*
|
|
107
|
-
* - If your account balance is insufficient, you can set `AutoPay` to `false` to generate an unpaid order. Then, you can log on to the ECS console to pay for the order.
|
|
108
|
-
*
|
|
109
|
-
* - If you set `OperatorType` to `downgrade`, `AutoPay` is ignored.
|
|
99
|
+
* > - If automatic payment is enabled, make sure that your payment method has a sufficient balance. Otherwise, an abnormal order is generated, and you can only cancel the order.
|
|
100
|
+
* > - If your payment method balance is insufficient, you can set `AutoPay` to `false` to generate an unpaid order. Then, you can logon to the ECS console to pay for the order.
|
|
101
|
+
* > - When `OperatorType` is set to `downgrade`, the `AutoPay` parameter is ignored.
|
|
110
102
|
*
|
|
111
103
|
* @example
|
|
112
104
|
* true
|
|
@@ -114,7 +106,7 @@ export class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
114
106
|
autoPay?: boolean;
|
|
115
107
|
/**
|
|
116
108
|
* @remarks
|
|
117
|
-
* The client token that
|
|
109
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The ClientToken value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
118
110
|
*
|
|
119
111
|
* @example
|
|
120
112
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -127,7 +119,7 @@ export class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
127
119
|
disk?: ModifyPrepayInstanceSpecRequestDisk[];
|
|
128
120
|
/**
|
|
129
121
|
* @remarks
|
|
130
|
-
* The end time of the temporary change.
|
|
122
|
+
* The end time of the temporary instance type change. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.
|
|
131
123
|
*
|
|
132
124
|
* @example
|
|
133
125
|
* 2018-01-01T12:05Z
|
|
@@ -145,7 +137,7 @@ export class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
145
137
|
instanceId?: string;
|
|
146
138
|
/**
|
|
147
139
|
* @remarks
|
|
148
|
-
* The
|
|
140
|
+
* The target instance type for the Upgrade/Downgrade. For more information, see [Instance family](https://help.aliyun.com/document_detail/25378.html) or invoke [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html).
|
|
149
141
|
*
|
|
150
142
|
* This parameter is required.
|
|
151
143
|
*
|
|
@@ -155,23 +147,15 @@ export class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
155
147
|
instanceType?: string;
|
|
156
148
|
/**
|
|
157
149
|
* @remarks
|
|
158
|
-
* Specifies whether to
|
|
159
|
-
*
|
|
160
|
-
* -
|
|
161
|
-
*
|
|
162
|
-
* - false
|
|
150
|
+
* Specifies whether to support cross-cluster instance type changes. Valid values:
|
|
151
|
+
* - true: supported.
|
|
152
|
+
* - false: not supported.
|
|
163
153
|
*
|
|
164
154
|
* Default value: false.
|
|
165
155
|
*
|
|
166
|
-
* When
|
|
167
|
-
*
|
|
168
|
-
* Instance that resides in the classic network:
|
|
169
|
-
*
|
|
170
|
-
* - For [retired instance types](https://help.aliyun.com/document_detail/55263.html), when a non-I/O optimized instance is upgraded to an I/O optimized instance, the private IP address, disk device names, and software authorization codes of the instance change. For a Linux instance, basic disks (cloud) are identified as xvd\\* such as xvda and xvdb, and ultra disks (cloud_efficiency) and standard SSDs (cloud_ssd) are identified as vd\\* such as vda and vdb.
|
|
156
|
+
* When the `MigrateAcrossZone` parameter is set to `true`, take note of the following items after you perform the optimization on the Elastic Compute Service instance based on the response:
|
|
171
157
|
*
|
|
172
|
-
* - For [instance
|
|
173
|
-
*
|
|
174
|
-
* Instance that resides in a virtual private cloud (VPC): For [retired instance types](https://help.aliyun.com/document_detail/55263.html), when a non-I/O optimized instance is upgraded to an I/O optimized instance, the disk device names and software authorization codes of the instance change. For a Linux instance, basic disks (cloud) are identified as xvd\\* such as xvda and xvdb, and ultra disks (cloud_efficiency) and standard SSDs (cloud_ssd) are identified as vd\\* such as vda and vdb.
|
|
158
|
+
* VPC-type instances: For [retired instance types](https://help.aliyun.com/document_detail/55263.html), when a non-I/O optimized instance is changed to an I/O optimized instance, the disk device names and software authorization codes of the server change. For Linux instances, basic disks (cloud) are identified as xvda or xvdb. Ultra disks (cloud_efficiency) and standard SSDs (cloud_ssd) are identified as vda or vdb.
|
|
175
159
|
*
|
|
176
160
|
* @example
|
|
177
161
|
* false
|
|
@@ -187,15 +171,14 @@ export class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
187
171
|
modifyMode?: string;
|
|
188
172
|
/**
|
|
189
173
|
* @remarks
|
|
190
|
-
* The type of the
|
|
191
|
-
*
|
|
192
|
-
* > This parameter is optional. The system can automatically determine whether the instance change is an upgrade or a downgrade. If you want to specify this parameter, refer to the following valid values of the parameter.
|
|
174
|
+
* The type of the operation. Valid values:
|
|
175
|
+
* > This parameter is optional. The system can automatically determine whether the operation is an upgrade or a downgrade. If you upload this parameter, follow the rules below.
|
|
193
176
|
*
|
|
194
|
-
* - upgrade: upgrades the instance type. Make sure that
|
|
177
|
+
* - upgrade: upgrades the instance type. Make sure that your account payment method has a sufficient balance.
|
|
195
178
|
*
|
|
196
|
-
* - downgrade:
|
|
179
|
+
* - downgrade: decrease the quota of the instance type. When the instance type specified by `InstanceType` is lower than the current instance type, set `OperatorType` to `downgrade`.
|
|
197
180
|
*
|
|
198
|
-
* >
|
|
181
|
+
* > For precautions about upgrading or downgrading instance types, see the operation description section above.
|
|
199
182
|
*
|
|
200
183
|
* @example
|
|
201
184
|
* upgrade
|
|
@@ -205,7 +188,7 @@ export class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
205
188
|
ownerId?: number;
|
|
206
189
|
/**
|
|
207
190
|
* @remarks
|
|
208
|
-
* The restart time of the instance.
|
|
191
|
+
* The restart time of the instance. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.
|
|
209
192
|
*
|
|
210
193
|
* @example
|
|
211
194
|
* 2018-01-01T12:05Z
|
|
@@ -213,15 +196,14 @@ export class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
213
196
|
rebootTime?: string;
|
|
214
197
|
/**
|
|
215
198
|
* @remarks
|
|
216
|
-
* Specifies whether to restart the instance
|
|
217
|
-
*
|
|
218
|
-
* - true
|
|
199
|
+
* Specifies whether to immediately restart the instance after the instance type change is complete. Valid values:
|
|
219
200
|
*
|
|
220
|
-
* -
|
|
201
|
+
* - true: The instance is immediately restarted.
|
|
202
|
+
* - false: The instance is not restarted.
|
|
221
203
|
*
|
|
222
204
|
* Default value: false.
|
|
223
205
|
*
|
|
224
|
-
* > If the instance is in the **Stopped** state, the instance remains
|
|
206
|
+
* > If the instance is in the **Stopped** state, the instance remains stopped even if you set `RebootWhenFinished` to `true`. No operation is performed.
|
|
225
207
|
*
|
|
226
208
|
* @example
|
|
227
209
|
* false
|
|
@@ -229,7 +211,7 @@ export class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
229
211
|
rebootWhenFinished?: boolean;
|
|
230
212
|
/**
|
|
231
213
|
* @remarks
|
|
232
|
-
* The region ID of the instance. You can call
|
|
214
|
+
* The region ID of the instance. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
233
215
|
*
|
|
234
216
|
* This parameter is required.
|
|
235
217
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyPrepayInstanceSpecResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The order ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1234567890
|
|
@@ -13,7 +13,7 @@ export class ModifyPrepayInstanceSpecResponseBody extends $dara.Model {
|
|
|
13
13
|
orderId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The request ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The **ClientToken** value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -21,9 +21,9 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
21
21
|
description?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The destination IPv4 CIDR block. CIDR format and IPv4 format are supported.
|
|
24
|
+
* The destination IPv4 Classless Inter-Domain Routing (CIDR) block. CIDR format and IPv4 format IP address range are supported.
|
|
25
25
|
*
|
|
26
|
-
* Default value:
|
|
26
|
+
* Default value: null.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* 10.0.0.0/8
|
|
@@ -31,11 +31,11 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
31
31
|
destCidrIp?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The ID of the destination security group to which you want to
|
|
34
|
+
* The ID of the destination security group to which you want to grant access permissions. Specify at least one of `DestGroupId` and `DestCidrIp`.
|
|
35
35
|
*
|
|
36
|
-
* -
|
|
37
|
-
* - If DestGroupId is specified
|
|
38
|
-
* - If both DestGroupId and DestCidrIp are specified, DestCidrIp takes precedence
|
|
36
|
+
* - Specify at least one of DestGroupId, DestCidrIp, Ipv6DestCidrIp, and DestPrefixListId.
|
|
37
|
+
* - If DestGroupId is specified but DestCidrIp is not specified, the NicType parameter can only be set to intranet.
|
|
38
|
+
* - If both DestGroupId and DestCidrIp are specified, DestCidrIp takes precedence.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* sg-bp67acfmxa123b****
|
|
@@ -43,7 +43,7 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
43
43
|
destGroupId?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The Alibaba Cloud account that owns the destination security group when you set security group
|
|
46
|
+
* The Alibaba Cloud account that owns the destination security group when you set a cross-account security group rule.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* EcsforCloud@Alibaba.com
|
|
@@ -51,7 +51,7 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
51
51
|
destGroupOwnerAccount?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The ID of the Alibaba Cloud account that owns the destination security group when you set security group
|
|
54
|
+
* The ID of the Alibaba Cloud account that owns the destination security group when you set a cross-account security group rule.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* 1234567890
|
|
@@ -61,7 +61,7 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
61
61
|
* @remarks
|
|
62
62
|
* The ID of the destination prefix list. You can call [DescribePrefixLists](https://help.aliyun.com/document_detail/205046.html) to query available prefix list IDs.
|
|
63
63
|
*
|
|
64
|
-
* This parameter is ignored
|
|
64
|
+
* This parameter is ignored if you specify one of `DestCidrIp`, `Ipv6DestCidrIp`, or `DestGroupId`.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* pl-x1j1k5ykzqlixdcy****
|
|
@@ -69,20 +69,20 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
69
69
|
destPrefixListId?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The network
|
|
72
|
+
* The network layer or transport layer protocol. Two types of values are supported:
|
|
73
73
|
* 1. Case-insensitive protocol names. Valid values:
|
|
74
74
|
* - ICMP
|
|
75
75
|
* - GRE
|
|
76
76
|
* - TCP
|
|
77
77
|
* - UDP
|
|
78
|
-
* - ALL:
|
|
79
|
-
* 2. Protocol numbers that comply with IANA
|
|
78
|
+
* - ALL: all protocols are supported.
|
|
79
|
+
* 2. Protocol numbers that comply with the IANA specification, which are integers from 0 to 255. The following regions currently support this feature:
|
|
80
80
|
* - Philippines
|
|
81
81
|
* - UK (London)
|
|
82
82
|
* - Malaysia
|
|
83
|
-
* - Hohhot
|
|
84
|
-
* - Qingdao
|
|
85
|
-
* - US
|
|
83
|
+
* - China (Hohhot)
|
|
84
|
+
* - China (Qingdao)
|
|
85
|
+
* - US (Virginia)
|
|
86
86
|
* - Singapore
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
@@ -91,11 +91,11 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
91
91
|
ipProtocol?: string;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* The destination IPv6 CIDR block. CIDR format and IPv6 format are supported.
|
|
94
|
+
* The destination IPv6 Classless Inter-Domain Routing (CIDR) block. CIDR format and IPv6 format IP address range are supported.
|
|
95
95
|
*
|
|
96
|
-
* > Only VPC-type IP addresses are supported. This parameter and `DestCidrIp` cannot be specified at the same time.
|
|
96
|
+
* > Only VPC-type IP addresses are supported. This parameter and `DestCidrIp` cannot be specified at the same time. Settings for both parameters simultaneously are not allowed.
|
|
97
97
|
*
|
|
98
|
-
* Default value:
|
|
98
|
+
* Default value: null.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* 2001:db8:1233:1a00::***
|
|
@@ -103,11 +103,11 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
103
103
|
ipv6DestCidrIp?: string;
|
|
104
104
|
/**
|
|
105
105
|
* @remarks
|
|
106
|
-
* The source IPv6 CIDR block. CIDR format and IPv6 format are supported.
|
|
106
|
+
* The source IPv6 Classless Inter-Domain Routing (CIDR) block. CIDR format and IPv6 format IP address range are supported.
|
|
107
107
|
*
|
|
108
|
-
* > Only VPC-type IP addresses are supported. This parameter and `SourceCidrIp` cannot be specified at the same time.
|
|
108
|
+
* > Only VPC-type IP addresses are supported. This parameter and `SourceCidrIp` cannot be specified at the same time. Settings for both parameters simultaneously are not allowed.
|
|
109
109
|
*
|
|
110
|
-
* Default value:
|
|
110
|
+
* Default value: null.
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* 2001:db8:1234:1a00::***
|
|
@@ -115,10 +115,9 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
115
115
|
ipv6SourceCidrIp?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The
|
|
118
|
+
* The network interface type.
|
|
119
119
|
*
|
|
120
|
-
*
|
|
121
|
-
* > When modifying a rule by security group rule ID, this parameter cannot be modified. If modification is needed, we recommend that you add a new rule first and then delete the current rule.
|
|
120
|
+
* > When you modify a rule by specifying the security group rule ID, this parameter cannot be modified. To make such a change, add a new rule and then delete the current rule.
|
|
122
121
|
*
|
|
123
122
|
* @example
|
|
124
123
|
* intranet
|
|
@@ -128,10 +127,10 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
128
127
|
ownerId?: number;
|
|
129
128
|
/**
|
|
130
129
|
* @remarks
|
|
131
|
-
* The access
|
|
130
|
+
* The access permissions. Valid values:
|
|
132
131
|
*
|
|
133
|
-
* - accept: accepts access
|
|
134
|
-
* - drop:
|
|
132
|
+
* - accept: accepts access.
|
|
133
|
+
* - drop: deny access and does not return a rejection response.
|
|
135
134
|
*
|
|
136
135
|
* Default value: accept.
|
|
137
136
|
*
|
|
@@ -141,12 +140,12 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
141
140
|
policy?: string;
|
|
142
141
|
/**
|
|
143
142
|
* @remarks
|
|
144
|
-
* The range of destination ports
|
|
143
|
+
* The range of destination ports that correspond to the transport layer protocol. Valid values:
|
|
145
144
|
*
|
|
146
|
-
* - TCP/UDP
|
|
147
|
-
* - ICMP
|
|
148
|
-
* - GRE
|
|
149
|
-
* - ALL: -1/-1.
|
|
145
|
+
* - For TCP/UDP: valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
146
|
+
* - For ICMP: -1/-1.
|
|
147
|
+
* - For GRE: -1/-1.
|
|
148
|
+
* - For ALL: -1/-1.
|
|
150
149
|
*
|
|
151
150
|
* @example
|
|
152
151
|
* 80/80
|
|
@@ -154,10 +153,12 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
154
153
|
portRange?: string;
|
|
155
154
|
/**
|
|
156
155
|
* @remarks
|
|
157
|
-
* The port
|
|
158
|
-
* You can call `DescribePortRangeLists` to query available port
|
|
159
|
-
*
|
|
160
|
-
*
|
|
156
|
+
* The port address book ID.
|
|
157
|
+
* You can call `DescribePortRangeLists` to query available port address book IDs.
|
|
158
|
+
*
|
|
159
|
+
* This parameter is ignored if you specify the PortRange parameter.
|
|
160
|
+
*
|
|
161
|
+
* For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
161
162
|
*
|
|
162
163
|
* @example
|
|
163
164
|
* prl-2ze9743****
|
|
@@ -175,7 +176,7 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
175
176
|
priority?: string;
|
|
176
177
|
/**
|
|
177
178
|
* @remarks
|
|
178
|
-
* The region ID of the source security group. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the
|
|
179
|
+
* The region ID of the source security group. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
179
180
|
*
|
|
180
181
|
* This parameter is required.
|
|
181
182
|
*
|
|
@@ -197,7 +198,7 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
197
198
|
securityGroupId?: string;
|
|
198
199
|
/**
|
|
199
200
|
* @remarks
|
|
200
|
-
* The security group rule ID. You can call [DescribeSecurityGroupAttribute](https://help.aliyun.com/document_detail/2679845.html) to query security group rule
|
|
201
|
+
* The security group rule ID. You can call [DescribeSecurityGroupAttribute](https://help.aliyun.com/document_detail/2679845.html) to query the security group rule ID.
|
|
201
202
|
*
|
|
202
203
|
* @example
|
|
203
204
|
* sgr-bp67acfmxazb4q****
|
|
@@ -205,9 +206,9 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
205
206
|
securityGroupRuleId?: string;
|
|
206
207
|
/**
|
|
207
208
|
* @remarks
|
|
208
|
-
* The source IPv4 CIDR block. CIDR format and IPv4 format are supported.
|
|
209
|
+
* The source IPv4 Classless Inter-Domain Routing (CIDR) block. CIDR format and IPv4 format IP address range are supported.
|
|
209
210
|
*
|
|
210
|
-
* Default value:
|
|
211
|
+
* Default value: null.
|
|
211
212
|
*
|
|
212
213
|
* @example
|
|
213
214
|
* 10.0.0.0/8
|
|
@@ -215,12 +216,12 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
215
216
|
sourceCidrIp?: string;
|
|
216
217
|
/**
|
|
217
218
|
* @remarks
|
|
218
|
-
* The range of source ports
|
|
219
|
+
* The range of source ports that correspond to the transport layer protocol. Valid values:
|
|
219
220
|
*
|
|
220
|
-
* - TCP/UDP
|
|
221
|
-
* - ICMP
|
|
222
|
-
* - GRE
|
|
223
|
-
* - ALL: -1/-1.
|
|
221
|
+
* - For TCP/UDP: valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
222
|
+
* - For ICMP: -1/-1.
|
|
223
|
+
* - For GRE: -1/-1.
|
|
224
|
+
* - For ALL: -1/-1.
|
|
224
225
|
*
|
|
225
226
|
* @example
|
|
226
227
|
* 80/80
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* A client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The
|
|
8
|
+
* A client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The ClientToken parameter supports only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -21,7 +21,7 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
21
21
|
description?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The destination IPv4 Classless Inter-Domain Routing (CIDR) block. CIDR format and IPv4 format IP address
|
|
24
|
+
* The destination IPv4 Classless Inter-Domain Routing (CIDR) block. CIDR format and IPv4 format IP address ranges are supported.
|
|
25
25
|
*
|
|
26
26
|
* Default value: null.
|
|
27
27
|
*
|
|
@@ -45,7 +45,7 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
45
45
|
* - China (Hohhot)
|
|
46
46
|
* - China (Qingdao)
|
|
47
47
|
* - US (Virginia)
|
|
48
|
-
* - Singapore
|
|
48
|
+
* - Singapore
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* ALL
|
|
@@ -53,9 +53,9 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
53
53
|
ipProtocol?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* Settings for the destination IPv6 CIDR block. CIDR format and IPv6 format IP address
|
|
56
|
+
* Settings for the destination IPv6 CIDR block. Classless Inter-Domain Routing (CIDR) format and IPv6 format IP address ranges are supported.
|
|
57
57
|
*
|
|
58
|
-
* >
|
|
58
|
+
* >Only VPC-type IP addresses are supported. This parameter and `DestCidrIp` cannot be specified at the same time.
|
|
59
59
|
*
|
|
60
60
|
* Default value: null.
|
|
61
61
|
*
|
|
@@ -65,7 +65,7 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
65
65
|
ipv6DestCidrIp?: string;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* Settings for the source IPv6 CIDR block for the access permissions. Classless Inter-Domain Routing (CIDR) format and IPv6 format IP address
|
|
68
|
+
* Settings for the source IPv6 CIDR block for the access permissions. Classless Inter-Domain Routing (CIDR) format and IPv6 format IP address ranges are supported.
|
|
69
69
|
*
|
|
70
70
|
* > Only VPC-type IP addresses are supported. This parameter and `SourceCidrIp` cannot be specified at the same time.
|
|
71
71
|
*
|
|
@@ -79,7 +79,7 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
79
79
|
* @remarks
|
|
80
80
|
* The network interface controller (NIC) type.
|
|
81
81
|
*
|
|
82
|
-
* > When you modify a rule by specifying the security group rule ID, this parameter cannot be modified. To
|
|
82
|
+
* > When you modify a rule by specifying the security group rule ID, this parameter cannot be modified. To make such a change, add a new rule and then delete the current rule.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* intranet
|
|
@@ -91,8 +91,8 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
91
91
|
* @remarks
|
|
92
92
|
* The access permissions. Valid values:
|
|
93
93
|
*
|
|
94
|
-
* - accept:
|
|
95
|
-
* - drop:
|
|
94
|
+
* - accept: Accepts access.
|
|
95
|
+
* - drop: Denies access and does not return a deny response.
|
|
96
96
|
*
|
|
97
97
|
* Default value: accept.
|
|
98
98
|
*
|
|
@@ -102,7 +102,7 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
102
102
|
policy?: string;
|
|
103
103
|
/**
|
|
104
104
|
* @remarks
|
|
105
|
-
* The range of destination ports that correspond to the transport-layer protocol. Valid values:
|
|
105
|
+
* The range of destination ports that correspond to the transport-layer protocol of the security group. Valid values:
|
|
106
106
|
*
|
|
107
107
|
* - TCP/UDP: valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
108
108
|
* - ICMP: -1/-1.
|
|
@@ -115,10 +115,13 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
115
115
|
portRange?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
118
|
+
* The port address book ID.
|
|
119
|
+
*
|
|
120
|
+
* You can call `DescribePortRangeLists` to query available port address book IDs.
|
|
121
|
+
*
|
|
122
|
+
* This parameter is ignored if you specify the PortRange parameter.
|
|
123
|
+
*
|
|
124
|
+
* For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
122
125
|
*
|
|
123
126
|
* @example
|
|
124
127
|
* prl-2ze9743****
|
|
@@ -136,7 +139,7 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
136
139
|
priority?: string;
|
|
137
140
|
/**
|
|
138
141
|
* @remarks
|
|
139
|
-
* The region ID of the
|
|
142
|
+
* The region ID of the security group. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
140
143
|
*
|
|
141
144
|
* This parameter is required.
|
|
142
145
|
*
|
|
@@ -166,7 +169,7 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
166
169
|
securityGroupRuleId?: string;
|
|
167
170
|
/**
|
|
168
171
|
* @remarks
|
|
169
|
-
* Settings for the source IPv4 CIDR block for the access permissions. Classless Inter-Domain Routing (CIDR) format and IPv4 format IP address
|
|
172
|
+
* Settings for the source IPv4 CIDR block for the access permissions. Classless Inter-Domain Routing (CIDR) format and IPv4 format IP address ranges are supported.
|
|
170
173
|
*
|
|
171
174
|
* Default value: null.
|
|
172
175
|
*
|
|
@@ -187,10 +190,10 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
187
190
|
sourceGroupId?: string;
|
|
188
191
|
/**
|
|
189
192
|
* @remarks
|
|
190
|
-
*
|
|
193
|
+
* Settings for the Alibaba Cloud account that owns the source security group when you configure a cross-account security group rule for access permissions.
|
|
191
194
|
*
|
|
192
|
-
* - If neither `SourceGroupOwnerAccount` nor `
|
|
193
|
-
* - If the
|
|
195
|
+
* - If neither `SourceGroupOwnerAccount` nor `SourceGroupOwnerId` is configured, the rule is configured for the access permissions of your other security groups.
|
|
196
|
+
* - If the `SourceCidrIp` parameter is specified, the `SourceGroupOwnerAccount` parameter is invalid.
|
|
194
197
|
*
|
|
195
198
|
* @example
|
|
196
199
|
* EcsforCloud@Alibaba.com
|
|
@@ -198,10 +201,10 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
198
201
|
sourceGroupOwnerAccount?: string;
|
|
199
202
|
/**
|
|
200
203
|
* @remarks
|
|
201
|
-
*
|
|
204
|
+
* Settings for the Alibaba Cloud account ID that owns the source security group when you configure a cross-account security group rule for access permissions.
|
|
202
205
|
*
|
|
203
|
-
* - If neither `SourceGroupOwnerId` nor `SourceGroupOwnerAccount` is
|
|
204
|
-
* - If the
|
|
206
|
+
* - If neither `SourceGroupOwnerId` nor `SourceGroupOwnerAccount` is configured, the rule is configured for the access permissions of your other security groups.
|
|
207
|
+
* - If the `SourceCidrIp` parameter is specified, the `SourceGroupOwnerId` parameter is invalid.
|
|
205
208
|
*
|
|
206
209
|
* @example
|
|
207
210
|
* 12345678910
|
|
@@ -209,7 +212,7 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
209
212
|
sourceGroupOwnerId?: number;
|
|
210
213
|
/**
|
|
211
214
|
* @remarks
|
|
212
|
-
* The range of source ports that correspond to the transport-layer protocol. Valid values:
|
|
215
|
+
* The range of source ports that correspond to the transport-layer protocol of the security group. Valid values:
|
|
213
216
|
*
|
|
214
217
|
* - TCP/UDP: valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
215
218
|
* - ICMP: -1/-1.
|
|
@@ -224,7 +227,7 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
224
227
|
* @remarks
|
|
225
228
|
* Settings for the ID of the source prefix list for the access permissions. You can invoke [DescribePrefixLists](https://help.aliyun.com/document_detail/205046.html) to query available prefix list IDs.
|
|
226
229
|
*
|
|
227
|
-
* This parameter is ignored if you specify one of
|
|
230
|
+
* This parameter is ignored if you specify one of `SourceCidrIp`, `Ipv6SourceCidrIp`, or `SourceGroupId`.
|
|
228
231
|
*
|
|
229
232
|
* @example
|
|
230
233
|
* pl-x1j1k5ykzqlixdcy****
|