@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
|
@@ -121,11 +121,11 @@ export class DescribePriceResponseBodyPriceInfoPriceDetailInfos extends $dara.Mo
|
|
|
121
121
|
export class DescribePriceResponseBodyPriceInfoPrice extends $dara.Model {
|
|
122
122
|
/**
|
|
123
123
|
* @remarks
|
|
124
|
-
* The currency.
|
|
124
|
+
* The currency unit.
|
|
125
125
|
*
|
|
126
|
-
*
|
|
126
|
+
* China site: CNY.
|
|
127
127
|
*
|
|
128
|
-
*
|
|
128
|
+
* International site: USD.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* CNY
|
|
@@ -134,7 +134,7 @@ export class DescribePriceResponseBodyPriceInfoPrice extends $dara.Model {
|
|
|
134
134
|
detailInfos?: DescribePriceResponseBodyPriceInfoPriceDetailInfos;
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
|
-
* The discount
|
|
137
|
+
* The discount.
|
|
138
138
|
*
|
|
139
139
|
* @example
|
|
140
140
|
* 655.2
|
|
@@ -150,7 +150,7 @@ export class DescribePriceResponseBodyPriceInfoPrice extends $dara.Model {
|
|
|
150
150
|
originalPrice?: number;
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
|
-
* The hourly price of a
|
|
153
|
+
* The hourly price of a reserved instance with the no upfront or partial upfront payment option.
|
|
154
154
|
*
|
|
155
155
|
* @example
|
|
156
156
|
* 1
|
|
@@ -158,7 +158,7 @@ export class DescribePriceResponseBodyPriceInfoPrice extends $dara.Model {
|
|
|
158
158
|
reservedInstanceHourPrice?: number;
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
* The
|
|
161
|
+
* The transaction price, which is the original price minus the discount.
|
|
162
162
|
*
|
|
163
163
|
* @example
|
|
164
164
|
* 3712.8
|
|
@@ -201,11 +201,11 @@ export class DescribePriceResponseBodyPriceInfoPrice extends $dara.Model {
|
|
|
201
201
|
export class DescribePriceResponseBodyPriceInfoRelatedPriceMarketplaceImagePrice extends $dara.Model {
|
|
202
202
|
/**
|
|
203
203
|
* @remarks
|
|
204
|
-
* The currency.
|
|
204
|
+
* The currency unit.
|
|
205
205
|
*
|
|
206
|
-
*
|
|
206
|
+
* China site: CNY.
|
|
207
207
|
*
|
|
208
|
-
*
|
|
208
|
+
* International site: USD.
|
|
209
209
|
*
|
|
210
210
|
* @example
|
|
211
211
|
* CNY
|
|
@@ -213,7 +213,7 @@ export class DescribePriceResponseBodyPriceInfoRelatedPriceMarketplaceImagePrice
|
|
|
213
213
|
currency?: string;
|
|
214
214
|
/**
|
|
215
215
|
* @remarks
|
|
216
|
-
* The discount
|
|
216
|
+
* The discount.
|
|
217
217
|
*
|
|
218
218
|
* @example
|
|
219
219
|
* 0
|
|
@@ -229,7 +229,7 @@ export class DescribePriceResponseBodyPriceInfoRelatedPriceMarketplaceImagePrice
|
|
|
229
229
|
originalPrice?: number;
|
|
230
230
|
/**
|
|
231
231
|
* @remarks
|
|
232
|
-
* The
|
|
232
|
+
* The transaction price, which is the original price minus the discount.
|
|
233
233
|
*
|
|
234
234
|
* @example
|
|
235
235
|
* 100
|
|
@@ -265,7 +265,7 @@ export class DescribePriceResponseBodyPriceInfoRelatedPriceMarketplaceImagePrice
|
|
|
265
265
|
export class DescribePriceResponseBodyPriceInfoRelatedPrice extends $dara.Model {
|
|
266
266
|
/**
|
|
267
267
|
* @remarks
|
|
268
|
-
* The
|
|
268
|
+
* The Alibaba Cloud Marketplace image price.
|
|
269
269
|
*/
|
|
270
270
|
marketplaceImagePrice?: DescribePriceResponseBodyPriceInfoRelatedPriceMarketplaceImagePrice;
|
|
271
271
|
static names(): { [key: string]: string } {
|
|
@@ -347,12 +347,12 @@ export class DescribePriceResponseBodyPriceInfoRules extends $dara.Model {
|
|
|
347
347
|
export class DescribePriceResponseBodyPriceInfo extends $dara.Model {
|
|
348
348
|
/**
|
|
349
349
|
* @remarks
|
|
350
|
-
* The price
|
|
350
|
+
* The price.
|
|
351
351
|
*/
|
|
352
352
|
price?: DescribePriceResponseBodyPriceInfoPrice;
|
|
353
353
|
/**
|
|
354
354
|
* @remarks
|
|
355
|
-
* The related
|
|
355
|
+
* The related price.
|
|
356
356
|
*/
|
|
357
357
|
relatedPrice?: DescribePriceResponseBodyPriceInfoRelatedPrice;
|
|
358
358
|
rules?: DescribePriceResponseBodyPriceInfoRules;
|
|
@@ -393,7 +393,7 @@ export class DescribePriceResponseBodyPriceInfo extends $dara.Model {
|
|
|
393
393
|
export class DescribePriceResponseBody extends $dara.Model {
|
|
394
394
|
/**
|
|
395
395
|
* @remarks
|
|
396
|
-
*
|
|
396
|
+
* The price information, including the price and promotion rules.
|
|
397
397
|
*/
|
|
398
398
|
priceInfo?: DescribePriceResponseBodyPriceInfo;
|
|
399
399
|
/**
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The number of
|
|
8
|
+
* The number of vCPUs of the ECS instance.
|
|
9
9
|
*
|
|
10
|
-
* >
|
|
10
|
+
* >If you specify both the Cores and Memory parameters, the system matches all instance types that meet the specified vCPU and memory requirements.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* 2
|
|
@@ -15,13 +15,12 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
15
15
|
cores?: number;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The billing method of the ECS instance. For
|
|
18
|
+
* The billing method of the ECS instance. For details, see [Billing overview](https://help.aliyun.com/document_detail/25398.html). Valid values:
|
|
19
19
|
*
|
|
20
20
|
* - PrePaid: subscription.
|
|
21
|
+
* - PostPaid: pay-as-you-go.
|
|
21
22
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* Default value: PostPaid
|
|
23
|
+
* Default value: PostPaid.
|
|
25
24
|
*
|
|
26
25
|
* @example
|
|
27
26
|
* PostPaid
|
|
@@ -32,10 +31,8 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
32
31
|
* The level of the instance family. Valid values:
|
|
33
32
|
*
|
|
34
33
|
* - EntryLevel: entry level.
|
|
35
|
-
*
|
|
36
34
|
* - EnterpriseLevel: enterprise level.
|
|
37
|
-
*
|
|
38
|
-
* - CreditEntryLevel: credit-based entry level. For more information, see [Burstable instance families](https://help.aliyun.com/document_detail/59977.html).
|
|
35
|
+
* - CreditEntryLevel: credit-based entry level. For details, see [Burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
39
36
|
*
|
|
40
37
|
* @example
|
|
41
38
|
* EnterpriseLevel
|
|
@@ -43,9 +40,9 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
43
40
|
instanceFamilyLevel?: string;
|
|
44
41
|
/**
|
|
45
42
|
* @remarks
|
|
46
|
-
* The instance type. For
|
|
43
|
+
* The specified instance type. For details, see [Instance families](https://help.aliyun.com/document_detail/25378.html). You can also call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation to query the most recent instance type list.
|
|
47
44
|
*
|
|
48
|
-
* > If you specify
|
|
45
|
+
* > If you specify InstanceType, you cannot specify Cores or Memory.
|
|
49
46
|
*
|
|
50
47
|
* @example
|
|
51
48
|
* ecs.hfg6.large
|
|
@@ -53,7 +50,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
53
50
|
instanceType?: string;
|
|
54
51
|
/**
|
|
55
52
|
* @remarks
|
|
56
|
-
* The instance families from which
|
|
53
|
+
* The collection of alternative instance families from which alternative instance types are selected. You can set up to 10 instance families in this parameter.
|
|
57
54
|
*
|
|
58
55
|
* @example
|
|
59
56
|
* ecs.hfg6
|
|
@@ -61,15 +58,14 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
61
58
|
instanceTypeFamily?: string[];
|
|
62
59
|
/**
|
|
63
60
|
* @remarks
|
|
64
|
-
* Specifies whether
|
|
65
|
-
*
|
|
66
|
-
* - optimized: The instances are I/O optimized.
|
|
61
|
+
* Specifies whether the instance is I/O optimized. If the instance type supports only non-I/O optimized instances, you cannot set the IoOptimized parameter. Valid values:
|
|
67
62
|
*
|
|
68
|
-
* -
|
|
63
|
+
* - optimized: I/O optimized.
|
|
64
|
+
* - none: non-I/O optimized.
|
|
69
65
|
*
|
|
70
66
|
* Default value: optimized.
|
|
71
67
|
*
|
|
72
|
-
* If you
|
|
68
|
+
* If you specify a retired instance type, the default value is none.
|
|
73
69
|
*
|
|
74
70
|
* @example
|
|
75
71
|
* optimized
|
|
@@ -77,9 +73,9 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
77
73
|
ioOptimized?: string;
|
|
78
74
|
/**
|
|
79
75
|
* @remarks
|
|
80
|
-
* The maximum hourly price for pay-as-you-go
|
|
76
|
+
* The maximum acceptable hourly price for pay-as-you-go or spot instances.
|
|
81
77
|
*
|
|
82
|
-
* >
|
|
78
|
+
* >To set the maximum hourly price for a spot instance, set SpotStrategy to SpotWithPriceLimit.
|
|
83
79
|
*
|
|
84
80
|
* @example
|
|
85
81
|
* 10.0
|
|
@@ -87,9 +83,9 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
87
83
|
maxPrice?: number;
|
|
88
84
|
/**
|
|
89
85
|
* @remarks
|
|
90
|
-
* The memory size of the instance
|
|
86
|
+
* The memory size of the ECS instance. Unit: GiB.
|
|
91
87
|
*
|
|
92
|
-
* >
|
|
88
|
+
* >If you specify both the Cores and Memory parameters, the system matches all instance types that meet the specified vCPU and memory requirements.
|
|
93
89
|
*
|
|
94
90
|
* @example
|
|
95
91
|
* 8.0
|
|
@@ -97,11 +93,10 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
97
93
|
memory?: number;
|
|
98
94
|
/**
|
|
99
95
|
* @remarks
|
|
100
|
-
* The network type of ECS
|
|
96
|
+
* The network type of the ECS instance. Valid values:
|
|
101
97
|
*
|
|
102
|
-
* -
|
|
103
|
-
*
|
|
104
|
-
* - vpc
|
|
98
|
+
* - vpc: virtual private cloud (VPC).
|
|
99
|
+
* - classic: classic network. The classic network is no longer available. For more information, see [Retirement notice](https://help.aliyun.com/document_detail/2833134.html).
|
|
105
100
|
*
|
|
106
101
|
* Default value: vpc.
|
|
107
102
|
*
|
|
@@ -115,13 +110,11 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
115
110
|
ownerId?: number;
|
|
116
111
|
/**
|
|
117
112
|
* @remarks
|
|
118
|
-
* The
|
|
119
|
-
*
|
|
120
|
-
* - InventoryFirst: recommends instance types in descending order of resource availability.
|
|
121
|
-
*
|
|
122
|
-
* - PriceFirst: recommends the most cost-effective instance types. Recommended instance types appear based on the hourly prices of vCPUs in ascending order.
|
|
113
|
+
* The priority recommendation strategy. Valid values:
|
|
123
114
|
*
|
|
124
|
-
* -
|
|
115
|
+
* - InventoryFirst: inventory first.
|
|
116
|
+
* - PriceFirst: price first. Instance types are sorted by the hourly vCPU unit price in ascending order.
|
|
117
|
+
* - NewProductFirst: newest product first.
|
|
125
118
|
*
|
|
126
119
|
* Default value: InventoryFirst.
|
|
127
120
|
*
|
|
@@ -131,7 +124,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
131
124
|
priorityStrategy?: string;
|
|
132
125
|
/**
|
|
133
126
|
* @remarks
|
|
134
|
-
* The region ID. You can call
|
|
127
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
135
128
|
*
|
|
136
129
|
* This parameter is required.
|
|
137
130
|
*
|
|
@@ -143,11 +136,10 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
143
136
|
resourceOwnerId?: number;
|
|
144
137
|
/**
|
|
145
138
|
* @remarks
|
|
146
|
-
*
|
|
139
|
+
* The scenario in which instance types are recommended. Valid values:
|
|
147
140
|
*
|
|
148
|
-
* - UPGRADE:
|
|
149
|
-
*
|
|
150
|
-
* - CREATE: instance creation
|
|
141
|
+
* - UPGRADE: upgrade or downgrade an instance type.
|
|
142
|
+
* - CREATE: create an instance.
|
|
151
143
|
*
|
|
152
144
|
* Default value: CREATE.
|
|
153
145
|
*
|
|
@@ -157,15 +149,13 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
157
149
|
scene?: string;
|
|
158
150
|
/**
|
|
159
151
|
* @remarks
|
|
160
|
-
* The bidding policy
|
|
161
|
-
*
|
|
162
|
-
* - NoSpot: The instance is created as a pay-as-you-go instance.
|
|
152
|
+
* The bidding policy for the spot instance. Valid values:
|
|
163
153
|
*
|
|
164
|
-
* -
|
|
154
|
+
* - NoSpot: a pay-as-you-go instance.
|
|
155
|
+
* - SpotWithPriceLimit: a spot instance with a maximum hourly price.
|
|
156
|
+
* - SpotAsPriceGo: a spot instance for which the system automatically bids at up to the pay-as-you-go price.
|
|
165
157
|
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
* > If you specify `SpotStrategy`, you must set `InstanceChargeType` to `PostPaid`.
|
|
158
|
+
* > When you use SpotStrategy, set InstanceChargeType to PostPaid.
|
|
169
159
|
*
|
|
170
160
|
* Default value: NoSpot.
|
|
171
161
|
*
|
|
@@ -177,17 +167,14 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
177
167
|
* @remarks
|
|
178
168
|
* The category of the system disk. Valid values:
|
|
179
169
|
*
|
|
180
|
-
* - cloud_efficiency: ultra disk
|
|
181
|
-
*
|
|
182
|
-
* -
|
|
170
|
+
* - cloud_efficiency: ultra disk.
|
|
171
|
+
* - cloud_ssd: standard SSD.
|
|
172
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
173
|
+
* - cloud: basic disk.
|
|
183
174
|
*
|
|
184
|
-
* -
|
|
175
|
+
* Default value for non-I/O optimized instances: cloud.
|
|
185
176
|
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
* For non-I/O optimized instances, the default value is cloud.
|
|
189
|
-
*
|
|
190
|
-
* For I/O optimized instances, the default value is cloud_efficiency.
|
|
177
|
+
* Default value for I/O optimized instances: cloud_efficiency.
|
|
191
178
|
*
|
|
192
179
|
* @example
|
|
193
180
|
* cloud_ssd
|
|
@@ -195,9 +182,9 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
195
182
|
systemDiskCategory?: string;
|
|
196
183
|
/**
|
|
197
184
|
* @remarks
|
|
198
|
-
* The zone ID. You can call
|
|
185
|
+
* The zone ID. You can call [DescribeZones](https://help.aliyun.com/document_detail/25610.html) to query the most recent zone list.
|
|
199
186
|
*
|
|
200
|
-
*
|
|
187
|
+
* Set ZoneMatchMode to Include (default value) to preferentially recommend instance types in the zone specified by ZoneId and also list instance types in other zones within the same region.
|
|
201
188
|
*
|
|
202
189
|
* @example
|
|
203
190
|
* cn-hangzhou-f
|
|
@@ -207,11 +194,12 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
207
194
|
* @remarks
|
|
208
195
|
* Specifies whether to recommend only instance types in the zone specified by ZoneId. Valid values:
|
|
209
196
|
*
|
|
210
|
-
* - Strict: recommends only instance types
|
|
197
|
+
* - Strict: recommends only instance types in the zone specified by ZoneId.
|
|
198
|
+
*
|
|
199
|
+
* - Include: recommends instance types in other zones within the same region.
|
|
211
200
|
*
|
|
212
|
-
* - Include: recommends instance types that are available in the zone specified by ZoneId and instance types that are available in other zones within the same region.
|
|
213
201
|
*
|
|
214
|
-
*
|
|
202
|
+
* When ZoneId is specified, the default value of this parameter is Strict, which indicates that only instance types in the zone specified by ZoneId are recommended.
|
|
215
203
|
*
|
|
216
204
|
* @example
|
|
217
205
|
* Strict
|
|
@@ -5,14 +5,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeResourcesModificationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The conditions.
|
|
8
|
+
* The list of conditions.
|
|
9
9
|
*/
|
|
10
10
|
conditions?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The number of
|
|
13
|
+
* The number of vCPU kernels of the target instance type. For valid values, see [Instance family](https://help.aliyun.com/document_detail/25378.html).
|
|
14
14
|
*
|
|
15
|
-
* This parameter
|
|
15
|
+
* This parameter takes effect only when DestinationResource is set to InstanceType.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* 2
|
|
@@ -20,13 +20,12 @@ export class DescribeResourcesModificationRequest extends $dara.Model {
|
|
|
20
20
|
cores?: number;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The
|
|
23
|
+
* The type of the resource to be changed. Valid values:
|
|
24
|
+
*
|
|
25
|
+
* - InstanceType: instance type.
|
|
26
|
+
* - SystemDisk: system disk type.
|
|
24
27
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* - SystemDisk
|
|
28
|
-
*
|
|
29
|
-
* If you set this parameter to SystemDisk, you must specify the InstanceType parameter. In this case, this operation queries the system disk categories supported by the specified instance type.
|
|
28
|
+
* If you set this parameter to SystemDisk, you must also specify the InstanceType parameter to indicate the disk type required by the target instance type.
|
|
30
29
|
*
|
|
31
30
|
* This parameter is required.
|
|
32
31
|
*
|
|
@@ -36,9 +35,9 @@ export class DescribeResourcesModificationRequest extends $dara.Model {
|
|
|
36
35
|
destinationResource?: string;
|
|
37
36
|
/**
|
|
38
37
|
* @remarks
|
|
39
|
-
* The
|
|
38
|
+
* The target instance type. For more information, see [Instance family](https://help.aliyun.com/document_detail/25378.html). You can also call [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) to query the most recent instance type list.
|
|
40
39
|
*
|
|
41
|
-
* If
|
|
40
|
+
* If DestinationResource is set to SystemDisk, you must also specify the InstanceType parameter to indicate the disk type required by the target instance type.
|
|
42
41
|
*
|
|
43
42
|
* @example
|
|
44
43
|
* ecs.g7.large
|
|
@@ -46,9 +45,9 @@ export class DescribeResourcesModificationRequest extends $dara.Model {
|
|
|
46
45
|
instanceType?: string;
|
|
47
46
|
/**
|
|
48
47
|
* @remarks
|
|
49
|
-
* The memory size of the instance type. Unit: GiB. For
|
|
48
|
+
* The memory size of the target instance type. Unit: GiB. For valid values, see [Instance family](https://help.aliyun.com/document_detail/25378.html).
|
|
50
49
|
*
|
|
51
|
-
* This parameter
|
|
50
|
+
* This parameter takes effect only when DestinationResource is set to InstanceType.
|
|
52
51
|
*
|
|
53
52
|
* @example
|
|
54
53
|
* 8.0
|
|
@@ -56,23 +55,16 @@ export class DescribeResourcesModificationRequest extends $dara.Model {
|
|
|
56
55
|
memory?: number;
|
|
57
56
|
/**
|
|
58
57
|
* @remarks
|
|
59
|
-
* Specifies whether cross-cluster instance type
|
|
60
|
-
*
|
|
61
|
-
* - true
|
|
62
|
-
*
|
|
63
|
-
* - false
|
|
58
|
+
* Specifies whether cross-cluster instance type changes are supported. Valid values:
|
|
59
|
+
*
|
|
60
|
+
* - true: Supported.
|
|
61
|
+
* - false: Not supported.
|
|
64
62
|
*
|
|
65
63
|
* Default value: false.
|
|
66
64
|
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* -
|
|
70
|
-
*
|
|
71
|
-
* - 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.
|
|
72
|
-
*
|
|
73
|
-
* - For [instance families available for purchase](https://help.aliyun.com/document_detail/25378.html), when the instance type of an instance is changed, the private IP address of the instance changes.
|
|
74
|
-
*
|
|
75
|
-
* - 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.
|
|
65
|
+
* If the MigrateAcrossZone parameter is set to true and you upgrade or downgrade the Elastic Compute Service instance based on the returned information, take note of the following items:
|
|
66
|
+
*
|
|
67
|
+
* - 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 are changed. 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.
|
|
76
68
|
*
|
|
77
69
|
* @example
|
|
78
70
|
* true
|
|
@@ -80,19 +72,16 @@ export class DescribeResourcesModificationRequest extends $dara.Model {
|
|
|
80
72
|
migrateAcrossZone?: boolean;
|
|
81
73
|
/**
|
|
82
74
|
* @remarks
|
|
83
|
-
* The
|
|
84
|
-
*
|
|
85
|
-
* - Valid values for subscription resources:
|
|
86
|
-
*
|
|
87
|
-
* - Upgrade: upgrades resources.
|
|
88
|
-
*
|
|
89
|
-
* - Downgrade: downgrades resources.
|
|
75
|
+
* The type of the Upgrade/Downgrade operation.
|
|
90
76
|
*
|
|
91
|
-
*
|
|
77
|
+
* - Valid values for subscription resources:
|
|
92
78
|
*
|
|
93
|
-
*
|
|
79
|
+
* - Upgrade: upgrades resources.
|
|
80
|
+
* - Downgrade: downgrades resources.
|
|
81
|
+
* - RenewDowngrade: downgrades resources upon renewal.
|
|
82
|
+
* - RenewModify: renewal with specification change for expired instances.
|
|
94
83
|
*
|
|
95
|
-
* -
|
|
84
|
+
* - Valid value for pay-as-you-go resources: Upgrade.
|
|
96
85
|
*
|
|
97
86
|
* Default value: Upgrade.
|
|
98
87
|
*
|
|
@@ -104,7 +93,7 @@ export class DescribeResourcesModificationRequest extends $dara.Model {
|
|
|
104
93
|
ownerId?: number;
|
|
105
94
|
/**
|
|
106
95
|
* @remarks
|
|
107
|
-
* The region ID of the instance
|
|
96
|
+
* The region ID of the instance whose configuration you want to change. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
108
97
|
*
|
|
109
98
|
* This parameter is required.
|
|
110
99
|
*
|
|
@@ -114,7 +103,7 @@ export class DescribeResourcesModificationRequest extends $dara.Model {
|
|
|
114
103
|
regionId?: string;
|
|
115
104
|
/**
|
|
116
105
|
* @remarks
|
|
117
|
-
* The ID of the instance
|
|
106
|
+
* The instance ID (InstanceId) of the instance whose instance type or system disk type you want to change.
|
|
118
107
|
*
|
|
119
108
|
* This parameter is required.
|
|
120
109
|
*
|
|
@@ -126,9 +115,9 @@ export class DescribeResourcesModificationRequest extends $dara.Model {
|
|
|
126
115
|
resourceOwnerId?: number;
|
|
127
116
|
/**
|
|
128
117
|
* @remarks
|
|
129
|
-
* The ID of the
|
|
118
|
+
* The ID of the target zone.
|
|
130
119
|
*
|
|
131
|
-
*
|
|
120
|
+
* Specify this parameter when you want to change the instance type across zones.
|
|
132
121
|
*
|
|
133
122
|
* @example
|
|
134
123
|
* cn-hangzhou-e
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The security group attribute. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - snapshotPolicyIds: queries
|
|
10
|
+
* - snapshotPolicyIds: queries the snapshot policies associated with the security group.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* snapshotPolicyIds
|
|
@@ -15,13 +15,11 @@ export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
|
|
|
15
15
|
attribute?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The direction
|
|
19
|
-
*
|
|
20
|
-
* - egress: outbound
|
|
21
|
-
*
|
|
22
|
-
* -
|
|
23
|
-
*
|
|
24
|
-
* - all: outbound and inbound
|
|
18
|
+
* The direction of the security group rule. Valid values:
|
|
19
|
+
*
|
|
20
|
+
* - egress: outbound.
|
|
21
|
+
* - ingress: inbound.
|
|
22
|
+
* - all: both inbound and outbound.
|
|
25
23
|
*
|
|
26
24
|
* Default value: all.
|
|
27
25
|
*
|
|
@@ -31,10 +29,9 @@ export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
|
|
|
31
29
|
direction?: string;
|
|
32
30
|
/**
|
|
33
31
|
* @remarks
|
|
34
|
-
* The maximum number of entries per page.
|
|
32
|
+
* The maximum number of entries per page for a paged query.
|
|
35
33
|
*
|
|
36
34
|
* - Minimum value: 10.
|
|
37
|
-
*
|
|
38
35
|
* - Maximum value: 1000.
|
|
39
36
|
*
|
|
40
37
|
* Default value: 500.
|
|
@@ -45,7 +42,7 @@ export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
|
|
|
45
42
|
maxResults?: number;
|
|
46
43
|
/**
|
|
47
44
|
* @remarks
|
|
48
|
-
* The pagination token
|
|
45
|
+
* The pagination token. Set this parameter to the NextToken value returned in the previous call. You do not need to set this parameter for the first request.
|
|
49
46
|
*
|
|
50
47
|
* @example
|
|
51
48
|
* AAAAAdDWBF2****
|
|
@@ -53,23 +50,15 @@ export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
|
|
|
53
50
|
nextToken?: string;
|
|
54
51
|
/**
|
|
55
52
|
* @remarks
|
|
56
|
-
* The network
|
|
57
|
-
*
|
|
58
|
-
* - Valid values for rules of security groups in the classic network:
|
|
59
|
-
*
|
|
60
|
-
* - internet (default)
|
|
61
|
-
*
|
|
62
|
-
* - intranet
|
|
63
|
-
*
|
|
64
|
-
* \\*\\*
|
|
65
|
-
*
|
|
66
|
-
* **Note** You can query security group rules of only one NIC type in a single call. To query security group rules of both NIC types, call the operation twice.
|
|
67
|
-
*
|
|
68
|
-
* - When the security group is in a virtual private cloud (VPC), set the value to intranet, which is the default value for rules of security groups in VPCs.
|
|
53
|
+
* The network type of the security group rule.
|
|
69
54
|
*
|
|
70
|
-
*
|
|
55
|
+
* - For security groups in a VPC, the only valid value is intranet (default), which indicates internal network.
|
|
56
|
+
* > If you set this parameter to internet or leave it empty, the value is automatically set to intranet.
|
|
71
57
|
*
|
|
72
|
-
*
|
|
58
|
+
* - Valid values for security groups in the classic network:
|
|
59
|
+
* - internet (default): Internet.
|
|
60
|
+
* - intranet: internal network.
|
|
61
|
+
* > The classic network feature has been offline. For details, see [Retirement announcement](https://help.aliyun.com/document_detail/2833134.html).
|
|
73
62
|
*
|
|
74
63
|
* @example
|
|
75
64
|
* intranet
|
|
@@ -79,7 +68,7 @@ export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
|
|
|
79
68
|
ownerId?: number;
|
|
80
69
|
/**
|
|
81
70
|
* @remarks
|
|
82
|
-
* The region ID of the security group. You can call
|
|
71
|
+
* 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.
|
|
83
72
|
*
|
|
84
73
|
* This parameter is required.
|
|
85
74
|
*
|
|
@@ -91,7 +80,7 @@ export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
|
|
|
91
80
|
resourceOwnerId?: number;
|
|
92
81
|
/**
|
|
93
82
|
* @remarks
|
|
94
|
-
* The
|
|
83
|
+
* The security group ID.
|
|
95
84
|
*
|
|
96
85
|
* This parameter is required.
|
|
97
86
|
*
|
|
@@ -163,11 +163,10 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
|
163
163
|
description?: string;
|
|
164
164
|
/**
|
|
165
165
|
* @remarks
|
|
166
|
-
* The
|
|
167
|
-
*
|
|
168
|
-
* - Accept:
|
|
169
|
-
*
|
|
170
|
-
* - Drop: All instances in the security group are isolated from each other.
|
|
166
|
+
* The internal network connectivity policy of the security group. Valid values:
|
|
167
|
+
*
|
|
168
|
+
* - Accept: service interconnection.
|
|
169
|
+
* - Drop: internal isolation.
|
|
171
170
|
*
|
|
172
171
|
* @example
|
|
173
172
|
* Accept
|
|
@@ -175,7 +174,7 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
|
175
174
|
innerAccessPolicy?: string;
|
|
176
175
|
/**
|
|
177
176
|
* @remarks
|
|
178
|
-
*
|
|
177
|
+
* The paging token returned in this call. When you use `MaxResults` and `NextToken` for paging query, if this value is empty, no more data is available.
|
|
179
178
|
*
|
|
180
179
|
* @example
|
|
181
180
|
* AAAAAdDWBF2****
|
|
@@ -184,7 +183,7 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
|
184
183
|
permissions?: DescribeSecurityGroupAttributeResponseBodyPermissions;
|
|
185
184
|
/**
|
|
186
185
|
* @remarks
|
|
187
|
-
* The ID
|
|
186
|
+
* The region ID.
|
|
188
187
|
*
|
|
189
188
|
* @example
|
|
190
189
|
* cn-hangzhou
|
|
@@ -192,7 +191,7 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
|
192
191
|
regionId?: string;
|
|
193
192
|
/**
|
|
194
193
|
* @remarks
|
|
195
|
-
* The ID
|
|
194
|
+
* The request ID.
|
|
196
195
|
*
|
|
197
196
|
* @example
|
|
198
197
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -200,7 +199,7 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
|
200
199
|
requestId?: string;
|
|
201
200
|
/**
|
|
202
201
|
* @remarks
|
|
203
|
-
* The
|
|
202
|
+
* The security group ID.
|
|
204
203
|
*
|
|
205
204
|
* @example
|
|
206
205
|
* sg-bp1gxw6bznjjvhu3****
|
|
@@ -217,7 +216,9 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
|
217
216
|
snapshotPolicyIds?: DescribeSecurityGroupAttributeResponseBodySnapshotPolicyIds;
|
|
218
217
|
/**
|
|
219
218
|
* @remarks
|
|
220
|
-
* The ID
|
|
219
|
+
* The VPC ID. If a VPC ID is returned, the network type of the security group is VPC. Otherwise, the security group belongs to the classic network.
|
|
220
|
+
*
|
|
221
|
+
* > The classic network feature has been offline. For details, see [Retirement announcement](https://help.aliyun.com/document_detail/2833134.html).
|
|
221
222
|
*
|
|
222
223
|
* @example
|
|
223
224
|
* vpc-bp1opxu1zkhn00gzv****
|