@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
|
@@ -2,13 +2,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyInstanceSpecRequestSystemDisk extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* The new system disk category. Valid values:
|
|
6
6
|
*
|
|
7
|
-
* - cloud_efficiency
|
|
7
|
+
* - cloud_efficiency: ultra disk
|
|
8
8
|
*
|
|
9
|
-
* - cloud_ssd
|
|
9
|
+
* - cloud_ssd: standard SSD
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* > This parameter is valid only when you upgrade from a [retired instance type](https://help.aliyun.com/document_detail/55263.html) to an [instance family that is available for purchase](https://help.aliyun.com/document_detail/25378.html) and change a non-I/O optimized instance to an I/O optimized instance.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* cloud_ssd
|
|
@@ -28,7 +28,7 @@ export declare class ModifyInstanceSpecRequestSystemDisk extends $dara.Model {
|
|
|
28
28
|
export declare class ModifyInstanceSpecRequestTemporary extends $dara.Model {
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
*
|
|
31
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* null
|
|
@@ -36,7 +36,7 @@ export declare class ModifyInstanceSpecRequestTemporary extends $dara.Model {
|
|
|
36
36
|
endTime?: string;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
*
|
|
39
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* null
|
|
@@ -44,7 +44,7 @@ export declare class ModifyInstanceSpecRequestTemporary extends $dara.Model {
|
|
|
44
44
|
internetMaxBandwidthOut?: number;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
*
|
|
47
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* null
|
|
@@ -102,13 +102,13 @@ export declare class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
102
102
|
temporary?: ModifyInstanceSpecRequestTemporary;
|
|
103
103
|
/**
|
|
104
104
|
* @remarks
|
|
105
|
-
* Specifies whether
|
|
106
|
-
* - true:
|
|
107
|
-
* - false:
|
|
105
|
+
* Specifies whether cross-cluster upgrade of instance types is supported.
|
|
106
|
+
* - true: supported.
|
|
107
|
+
* - false: not supported.
|
|
108
108
|
*
|
|
109
109
|
* Default value: false.
|
|
110
110
|
*
|
|
111
|
-
* If you set the
|
|
111
|
+
* If you set the `AllowMigrateAcrossZone` parameter to true and upgrade the Elastic Compute Service instance based on the response, note the following:
|
|
112
112
|
*
|
|
113
113
|
* Classic network type instances:
|
|
114
114
|
*
|
|
@@ -151,8 +151,8 @@ export declare class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
151
151
|
* @remarks
|
|
152
152
|
* Specifies whether to perform only a dry run. Valid values:
|
|
153
153
|
*
|
|
154
|
-
* - true: performs only a dry run. The instance type and public bandwidth are not
|
|
155
|
-
* - false (default): performs a dry run and sends the request. If the check succeeds, the instance type and public bandwidth are
|
|
154
|
+
* - true: performs only a dry run. The instance type and public bandwidth are not modified. The system checks whether the required parameters are specified, whether the request format is valid, whether business restrictions are met, and whether ECS resources are sufficient. If the check fails, the corresponding error is returned. If the check succeeds, the `DryRunOperation` error code is returned.
|
|
155
|
+
* - false (default): performs a dry run and sends the request. If the check succeeds, the instance type and public bandwidth are modified.
|
|
156
156
|
*
|
|
157
157
|
* @example
|
|
158
158
|
* false
|
|
@@ -170,7 +170,7 @@ export declare class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
170
170
|
instanceId?: string;
|
|
171
171
|
/**
|
|
172
172
|
* @remarks
|
|
173
|
-
* The target instance type. For more information, see [Instance
|
|
173
|
+
* The target instance type. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html). You can also invoke [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) to query the most recent instance type list.
|
|
174
174
|
*
|
|
175
175
|
* @example
|
|
176
176
|
* ecs.g6.large
|
|
@@ -183,7 +183,7 @@ export declare class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
183
183
|
* - If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s: 1 to 10. Default value: 10.
|
|
184
184
|
* - If the purchased outbound public bandwidth is greater than 10 Mbit/s: 1 to the value of `InternetMaxBandwidthOut`. Default value: the value of `InternetMaxBandwidthOut`.
|
|
185
185
|
*
|
|
186
|
-
* > In **pay-by-traffic** mode, the peak inbound and outbound bandwidths are
|
|
186
|
+
* > In **pay-by-traffic** mode, the peak inbound and outbound bandwidths are upper limits and are not guaranteed. When resource contention occurs, the peak bandwidths may be throttled. If your workloads require guaranteed bandwidth, use the **pay-by-bandwidth** mode.
|
|
187
187
|
*
|
|
188
188
|
* @example
|
|
189
189
|
* 10
|
|
@@ -193,7 +193,7 @@ export declare class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
193
193
|
* @remarks
|
|
194
194
|
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
195
195
|
*
|
|
196
|
-
* > In **pay-by-traffic** mode, the peak inbound and outbound bandwidths are
|
|
196
|
+
* > In **pay-by-traffic** mode, the peak inbound and outbound bandwidths are upper limits and are not guaranteed. When resource contention occurs, the peak bandwidths may be throttled. If your workloads require guaranteed bandwidth, use the **pay-by-bandwidth** mode.
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* 10
|
|
@@ -38,7 +38,7 @@ export declare class ModifyPlanMaintenanceWindowRequestTargetResource extends $d
|
|
|
38
38
|
resourceGroupId?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The resource type for the O&M window.
|
|
41
|
+
* The resource type for the O&M window configuration.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* Tag
|
|
@@ -67,7 +67,7 @@ export declare class ModifyPlanMaintenanceWindowRequestTimePeriodRangeList exten
|
|
|
67
67
|
*
|
|
68
68
|
* - If PeriodUnit is set to Weekly, the format is Monday,22:00. Monday can be replaced with Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday.
|
|
69
69
|
* - If PeriodUnit is set to Daily, the format is 22:00.
|
|
70
|
-
* - The comma delimiter separates two parts. The first part represents the hour, with valid values from 00 to 23. The second part represents the
|
|
70
|
+
* - 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.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* Tuesday,03:00
|
|
@@ -79,7 +79,7 @@ export declare class ModifyPlanMaintenanceWindowRequestTimePeriodRangeList exten
|
|
|
79
79
|
*
|
|
80
80
|
* - If PeriodUnit is set to Weekly, the format is Monday,22:00. Monday can be replaced with Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday.
|
|
81
81
|
* - If PeriodUnit is set to Daily, the format is 22:00.
|
|
82
|
-
* - The comma delimiter separates two parts. The first part represents the hour, with valid values from 00 to 23. The second part represents the
|
|
82
|
+
* - 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.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* Monday,22:00
|
|
@@ -107,7 +107,7 @@ export declare class ModifyPlanMaintenanceWindowRequestTimePeriod extends $dara.
|
|
|
107
107
|
periodUnit?: string;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* The time ranges of the
|
|
110
|
+
* The time ranges of the O&M window recurring cycle (UTC time zone).
|
|
111
111
|
*/
|
|
112
112
|
rangeList?: ModifyPlanMaintenanceWindowRequestTimePeriodRangeList[];
|
|
113
113
|
static names(): {
|
|
@@ -2,13 +2,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyPrepayInstanceSpecRequestSystemDisk extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The new
|
|
5
|
+
* The new system disk category. Valid values:
|
|
6
6
|
*
|
|
7
|
-
* - cloud_efficiency:
|
|
8
|
-
*
|
|
9
|
-
* -
|
|
10
|
-
*
|
|
11
|
-
* > 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.
|
|
7
|
+
* - cloud_efficiency: ultra disk.
|
|
8
|
+
* - cloud_ssd: standard SSD.
|
|
9
|
+
* > 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.
|
|
12
10
|
*
|
|
13
11
|
* @example
|
|
14
12
|
* cloud_efficiency
|
|
@@ -65,21 +63,15 @@ export declare class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
65
63
|
systemDisk?: ModifyPrepayInstanceSpecRequestSystemDisk;
|
|
66
64
|
/**
|
|
67
65
|
* @remarks
|
|
68
|
-
* Specifies whether to
|
|
66
|
+
* Specifies whether to automatically complete the payment when you upgrade the instance type. Valid values:
|
|
69
67
|
*
|
|
70
68
|
* - true: The payment is automatically completed.
|
|
71
|
-
*
|
|
72
|
-
* - false: An order is generated but no payment is made.
|
|
69
|
+
* - false: Only an order is created. No payment is made.
|
|
73
70
|
*
|
|
74
71
|
* Default value: true.
|
|
75
|
-
*
|
|
76
|
-
* >
|
|
77
|
-
*
|
|
78
|
-
* - Make sure that your account balance is sufficient. Otherwise, your order becomes invalid and must be canceled.
|
|
79
|
-
*
|
|
80
|
-
* - 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.
|
|
81
|
-
*
|
|
82
|
-
* - If you set `OperatorType` to `downgrade`, `AutoPay` is ignored.
|
|
72
|
+
* > - 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.
|
|
73
|
+
* > - 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.
|
|
74
|
+
* > - When `OperatorType` is set to `downgrade`, the `AutoPay` parameter is ignored.
|
|
83
75
|
*
|
|
84
76
|
* @example
|
|
85
77
|
* true
|
|
@@ -87,7 +79,7 @@ export declare class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
87
79
|
autoPay?: boolean;
|
|
88
80
|
/**
|
|
89
81
|
* @remarks
|
|
90
|
-
* The client token that
|
|
82
|
+
* 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).
|
|
91
83
|
*
|
|
92
84
|
* @example
|
|
93
85
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -100,7 +92,7 @@ export declare class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
100
92
|
disk?: ModifyPrepayInstanceSpecRequestDisk[];
|
|
101
93
|
/**
|
|
102
94
|
* @remarks
|
|
103
|
-
* The end time of the temporary change.
|
|
95
|
+
* 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.
|
|
104
96
|
*
|
|
105
97
|
* @example
|
|
106
98
|
* 2018-01-01T12:05Z
|
|
@@ -118,7 +110,7 @@ export declare class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
118
110
|
instanceId?: string;
|
|
119
111
|
/**
|
|
120
112
|
* @remarks
|
|
121
|
-
* The
|
|
113
|
+
* 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).
|
|
122
114
|
*
|
|
123
115
|
* This parameter is required.
|
|
124
116
|
*
|
|
@@ -128,23 +120,15 @@ export declare class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
128
120
|
instanceType?: string;
|
|
129
121
|
/**
|
|
130
122
|
* @remarks
|
|
131
|
-
* Specifies whether to
|
|
132
|
-
*
|
|
133
|
-
* -
|
|
134
|
-
*
|
|
135
|
-
* - false
|
|
123
|
+
* Specifies whether to support cross-cluster instance type changes. Valid values:
|
|
124
|
+
* - true: supported.
|
|
125
|
+
* - false: not supported.
|
|
136
126
|
*
|
|
137
127
|
* Default value: false.
|
|
138
128
|
*
|
|
139
|
-
* When
|
|
140
|
-
*
|
|
141
|
-
* Instance that resides in the classic network:
|
|
142
|
-
*
|
|
143
|
-
* - 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.
|
|
129
|
+
* 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:
|
|
144
130
|
*
|
|
145
|
-
* - For [instance
|
|
146
|
-
*
|
|
147
|
-
* 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.
|
|
131
|
+
* 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.
|
|
148
132
|
*
|
|
149
133
|
* @example
|
|
150
134
|
* false
|
|
@@ -160,15 +144,14 @@ export declare class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
160
144
|
modifyMode?: string;
|
|
161
145
|
/**
|
|
162
146
|
* @remarks
|
|
163
|
-
* The type of the
|
|
164
|
-
*
|
|
165
|
-
* > 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.
|
|
147
|
+
* The type of the operation. Valid values:
|
|
148
|
+
* > 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.
|
|
166
149
|
*
|
|
167
|
-
* - upgrade: upgrades the instance type. Make sure that
|
|
150
|
+
* - upgrade: upgrades the instance type. Make sure that your account payment method has a sufficient balance.
|
|
168
151
|
*
|
|
169
|
-
* - downgrade:
|
|
152
|
+
* - 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`.
|
|
170
153
|
*
|
|
171
|
-
* >
|
|
154
|
+
* > For precautions about upgrading or downgrading instance types, see the operation description section above.
|
|
172
155
|
*
|
|
173
156
|
* @example
|
|
174
157
|
* upgrade
|
|
@@ -178,7 +161,7 @@ export declare class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
178
161
|
ownerId?: number;
|
|
179
162
|
/**
|
|
180
163
|
* @remarks
|
|
181
|
-
* The restart time of the instance.
|
|
164
|
+
* 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.
|
|
182
165
|
*
|
|
183
166
|
* @example
|
|
184
167
|
* 2018-01-01T12:05Z
|
|
@@ -186,15 +169,14 @@ export declare class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
186
169
|
rebootTime?: string;
|
|
187
170
|
/**
|
|
188
171
|
* @remarks
|
|
189
|
-
* Specifies whether to restart the instance
|
|
190
|
-
*
|
|
191
|
-
* - true
|
|
172
|
+
* Specifies whether to immediately restart the instance after the instance type change is complete. Valid values:
|
|
192
173
|
*
|
|
193
|
-
* -
|
|
174
|
+
* - true: The instance is immediately restarted.
|
|
175
|
+
* - false: The instance is not restarted.
|
|
194
176
|
*
|
|
195
177
|
* Default value: false.
|
|
196
178
|
*
|
|
197
|
-
* > If the instance is in the **Stopped** state, the instance remains
|
|
179
|
+
* > If the instance is in the **Stopped** state, the instance remains stopped even if you set `RebootWhenFinished` to `true`. No operation is performed.
|
|
198
180
|
*
|
|
199
181
|
* @example
|
|
200
182
|
* false
|
|
@@ -202,7 +184,7 @@ export declare class ModifyPrepayInstanceSpecRequest extends $dara.Model {
|
|
|
202
184
|
rebootWhenFinished?: boolean;
|
|
203
185
|
/**
|
|
204
186
|
* @remarks
|
|
205
|
-
* The region ID of the instance. You can call
|
|
187
|
+
* 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.
|
|
206
188
|
*
|
|
207
189
|
* This parameter is required.
|
|
208
190
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyPrepayInstanceSpecRequest.js","sourceRoot":"","sources":["../../src/models/ModifyPrepayInstanceSpecRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyPrepayInstanceSpecRequest.js","sourceRoot":"","sources":["../../src/models/ModifyPrepayInstanceSpecRequest.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyPrepayInstanceSpecResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID
|
|
5
|
+
* The order ID.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 1234567890
|
|
@@ -10,7 +10,7 @@ export declare class ModifyPrepayInstanceSpecResponseBody extends $dara.Model {
|
|
|
10
10
|
orderId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The ID
|
|
13
|
+
* The request ID.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* 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).
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -18,9 +18,9 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
18
18
|
description?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The destination IPv4 CIDR block. CIDR format and IPv4 format are supported.
|
|
21
|
+
* The destination IPv4 Classless Inter-Domain Routing (CIDR) block. CIDR format and IPv4 format IP address range are supported.
|
|
22
22
|
*
|
|
23
|
-
* Default value:
|
|
23
|
+
* Default value: null.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* 10.0.0.0/8
|
|
@@ -28,11 +28,11 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
28
28
|
destCidrIp?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The ID of the destination security group to which you want to
|
|
31
|
+
* The ID of the destination security group to which you want to grant access permissions. Specify at least one of `DestGroupId` and `DestCidrIp`.
|
|
32
32
|
*
|
|
33
|
-
* -
|
|
34
|
-
* - If DestGroupId is specified
|
|
35
|
-
* - If both DestGroupId and DestCidrIp are specified, DestCidrIp takes precedence
|
|
33
|
+
* - Specify at least one of DestGroupId, DestCidrIp, Ipv6DestCidrIp, and DestPrefixListId.
|
|
34
|
+
* - If DestGroupId is specified but DestCidrIp is not specified, the NicType parameter can only be set to intranet.
|
|
35
|
+
* - If both DestGroupId and DestCidrIp are specified, DestCidrIp takes precedence.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* sg-bp67acfmxa123b****
|
|
@@ -40,7 +40,7 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
40
40
|
destGroupId?: string;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The Alibaba Cloud account that owns the destination security group when you set security group
|
|
43
|
+
* The Alibaba Cloud account that owns the destination security group when you set a cross-account security group rule.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* EcsforCloud@Alibaba.com
|
|
@@ -48,7 +48,7 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
48
48
|
destGroupOwnerAccount?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The ID of the Alibaba Cloud account that owns the destination security group when you set security group
|
|
51
|
+
* The ID of the Alibaba Cloud account that owns the destination security group when you set a cross-account security group rule.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* 1234567890
|
|
@@ -58,7 +58,7 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
58
58
|
* @remarks
|
|
59
59
|
* 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.
|
|
60
60
|
*
|
|
61
|
-
* This parameter is ignored
|
|
61
|
+
* This parameter is ignored if you specify one of `DestCidrIp`, `Ipv6DestCidrIp`, or `DestGroupId`.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* pl-x1j1k5ykzqlixdcy****
|
|
@@ -66,20 +66,20 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
66
66
|
destPrefixListId?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The network
|
|
69
|
+
* The network layer or transport layer protocol. Two types of values are supported:
|
|
70
70
|
* 1. Case-insensitive protocol names. Valid values:
|
|
71
71
|
* - ICMP
|
|
72
72
|
* - GRE
|
|
73
73
|
* - TCP
|
|
74
74
|
* - UDP
|
|
75
|
-
* - ALL:
|
|
76
|
-
* 2. Protocol numbers that comply with IANA
|
|
75
|
+
* - ALL: all protocols are supported.
|
|
76
|
+
* 2. Protocol numbers that comply with the IANA specification, which are integers from 0 to 255. The following regions currently support this feature:
|
|
77
77
|
* - Philippines
|
|
78
78
|
* - UK (London)
|
|
79
79
|
* - Malaysia
|
|
80
|
-
* - Hohhot
|
|
81
|
-
* - Qingdao
|
|
82
|
-
* - US
|
|
80
|
+
* - China (Hohhot)
|
|
81
|
+
* - China (Qingdao)
|
|
82
|
+
* - US (Virginia)
|
|
83
83
|
* - Singapore
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
@@ -88,11 +88,11 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
88
88
|
ipProtocol?: string;
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The destination IPv6 CIDR block. CIDR format and IPv6 format are supported.
|
|
91
|
+
* The destination IPv6 Classless Inter-Domain Routing (CIDR) block. CIDR format and IPv6 format IP address range are supported.
|
|
92
92
|
*
|
|
93
|
-
* > Only VPC-type IP addresses are supported. This parameter and `DestCidrIp` cannot be specified at the same time.
|
|
93
|
+
* > 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.
|
|
94
94
|
*
|
|
95
|
-
* Default value:
|
|
95
|
+
* Default value: null.
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
98
|
* 2001:db8:1233:1a00::***
|
|
@@ -100,11 +100,11 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
100
100
|
ipv6DestCidrIp?: string;
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* The source IPv6 CIDR block. CIDR format and IPv6 format are supported.
|
|
103
|
+
* The source IPv6 Classless Inter-Domain Routing (CIDR) block. CIDR format and IPv6 format IP address range are supported.
|
|
104
104
|
*
|
|
105
|
-
* > Only VPC-type IP addresses are supported. This parameter and `SourceCidrIp` cannot be specified at the same time.
|
|
105
|
+
* > 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.
|
|
106
106
|
*
|
|
107
|
-
* Default value:
|
|
107
|
+
* Default value: null.
|
|
108
108
|
*
|
|
109
109
|
* @example
|
|
110
110
|
* 2001:db8:1234:1a00::***
|
|
@@ -112,10 +112,9 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
112
112
|
ipv6SourceCidrIp?: string;
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* The
|
|
115
|
+
* The network interface type.
|
|
116
116
|
*
|
|
117
|
-
*
|
|
118
|
-
* > 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.
|
|
117
|
+
* > 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.
|
|
119
118
|
*
|
|
120
119
|
* @example
|
|
121
120
|
* intranet
|
|
@@ -125,10 +124,10 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
125
124
|
ownerId?: number;
|
|
126
125
|
/**
|
|
127
126
|
* @remarks
|
|
128
|
-
* The access
|
|
127
|
+
* The access permissions. Valid values:
|
|
129
128
|
*
|
|
130
|
-
* - accept: accepts access
|
|
131
|
-
* - drop:
|
|
129
|
+
* - accept: accepts access.
|
|
130
|
+
* - drop: deny access and does not return a rejection response.
|
|
132
131
|
*
|
|
133
132
|
* Default value: accept.
|
|
134
133
|
*
|
|
@@ -138,12 +137,12 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
138
137
|
policy?: string;
|
|
139
138
|
/**
|
|
140
139
|
* @remarks
|
|
141
|
-
* The range of destination ports
|
|
140
|
+
* The range of destination ports that correspond to the transport layer protocol. Valid values:
|
|
142
141
|
*
|
|
143
|
-
* - TCP/UDP
|
|
144
|
-
* - ICMP
|
|
145
|
-
* - GRE
|
|
146
|
-
* - ALL: -1/-1.
|
|
142
|
+
* - For TCP/UDP: valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
143
|
+
* - For ICMP: -1/-1.
|
|
144
|
+
* - For GRE: -1/-1.
|
|
145
|
+
* - For ALL: -1/-1.
|
|
147
146
|
*
|
|
148
147
|
* @example
|
|
149
148
|
* 80/80
|
|
@@ -151,10 +150,12 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
151
150
|
portRange?: string;
|
|
152
151
|
/**
|
|
153
152
|
* @remarks
|
|
154
|
-
* The port
|
|
155
|
-
* You can call `DescribePortRangeLists` to query available port
|
|
156
|
-
*
|
|
157
|
-
*
|
|
153
|
+
* The port address book ID.
|
|
154
|
+
* You can call `DescribePortRangeLists` to query available port address book IDs.
|
|
155
|
+
*
|
|
156
|
+
* This parameter is ignored if you specify the PortRange parameter.
|
|
157
|
+
*
|
|
158
|
+
* For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
158
159
|
*
|
|
159
160
|
* @example
|
|
160
161
|
* prl-2ze9743****
|
|
@@ -172,7 +173,7 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
172
173
|
priority?: string;
|
|
173
174
|
/**
|
|
174
175
|
* @remarks
|
|
175
|
-
* The region ID of the source security group. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the
|
|
176
|
+
* 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.
|
|
176
177
|
*
|
|
177
178
|
* This parameter is required.
|
|
178
179
|
*
|
|
@@ -194,7 +195,7 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
194
195
|
securityGroupId?: string;
|
|
195
196
|
/**
|
|
196
197
|
* @remarks
|
|
197
|
-
* The security group rule ID. You can call [DescribeSecurityGroupAttribute](https://help.aliyun.com/document_detail/2679845.html) to query security group rule
|
|
198
|
+
* The security group rule ID. You can call [DescribeSecurityGroupAttribute](https://help.aliyun.com/document_detail/2679845.html) to query the security group rule ID.
|
|
198
199
|
*
|
|
199
200
|
* @example
|
|
200
201
|
* sgr-bp67acfmxazb4q****
|
|
@@ -202,9 +203,9 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
202
203
|
securityGroupRuleId?: string;
|
|
203
204
|
/**
|
|
204
205
|
* @remarks
|
|
205
|
-
* The source IPv4 CIDR block. CIDR format and IPv4 format are supported.
|
|
206
|
+
* The source IPv4 Classless Inter-Domain Routing (CIDR) block. CIDR format and IPv4 format IP address range are supported.
|
|
206
207
|
*
|
|
207
|
-
* Default value:
|
|
208
|
+
* Default value: null.
|
|
208
209
|
*
|
|
209
210
|
* @example
|
|
210
211
|
* 10.0.0.0/8
|
|
@@ -212,12 +213,12 @@ export declare class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
212
213
|
sourceCidrIp?: string;
|
|
213
214
|
/**
|
|
214
215
|
* @remarks
|
|
215
|
-
* The range of source ports
|
|
216
|
+
* The range of source ports that correspond to the transport layer protocol. Valid values:
|
|
216
217
|
*
|
|
217
|
-
* - TCP/UDP
|
|
218
|
-
* - ICMP
|
|
219
|
-
* - GRE
|
|
220
|
-
* - ALL: -1/-1.
|
|
218
|
+
* - For TCP/UDP: valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
219
|
+
* - For ICMP: -1/-1.
|
|
220
|
+
* - For GRE: -1/-1.
|
|
221
|
+
* - For ALL: -1/-1.
|
|
221
222
|
*
|
|
222
223
|
* @example
|
|
223
224
|
* 80/80
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifySecurityGroupEgressRuleRequest.js","sourceRoot":"","sources":["../../src/models/ModifySecurityGroupEgressRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifySecurityGroupEgressRuleRequest.js","sourceRoot":"","sources":["../../src/models/ModifySecurityGroupEgressRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAiOnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,qBAAqB,EAAE,uBAAuB;YAC9C,gBAAgB,EAAE,kBAAkB;YACpC,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,gBAAgB,EAAE,kBAAkB;YACpC,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,eAAe,EAAE,iBAAiB;YAClC,mBAAmB,EAAE,qBAAqB;YAC1C,YAAY,EAAE,cAAc;YAC5B,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,qBAAqB,EAAE,QAAQ;YAC/B,gBAAgB,EAAE,QAAQ;YAC1B,gBAAgB,EAAE,QAAQ;YAC1B,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,gBAAgB,EAAE,QAAQ;YAC1B,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;YACnB,eAAe,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,eAAe,EAAE,QAAQ;YACzB,mBAAmB,EAAE,QAAQ;YAC7B,YAAY,EAAE,QAAQ;YACtB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlSD,oFAkSC"}
|