@alicloud/ecs20140526 7.0.7 → 7.0.9
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 +50 -40
- package/dist/client.js +53 -40
- package/dist/client.js.map +1 -1
- package/dist/models/CopyImageRequest.d.ts +19 -0
- package/dist/models/CopyImageRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +9 -9
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.d.ts +5 -5
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.d.ts +2 -2
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +9 -9
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.d.ts +5 -5
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +9 -9
- package/dist/models/CreateInstanceRequestPrivatePoolOptions.d.ts +1 -1
- package/dist/models/CreateLaunchTemplateRequest.d.ts +6 -6
- package/dist/models/CreateLaunchTemplateRequestDataDisk.d.ts +22 -15
- package/dist/models/CreateLaunchTemplateRequestDataDisk.js.map +1 -1
- package/dist/models/CreateLaunchTemplateRequestSystemDisk.d.ts +7 -0
- package/dist/models/CreateLaunchTemplateRequestSystemDisk.js.map +1 -1
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +8 -8
- package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.d.ts +24 -17
- package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.js.map +1 -1
- package/dist/models/CreateLaunchTemplateVersionRequestSystemDisk.d.ts +7 -0
- package/dist/models/CreateLaunchTemplateVersionRequestSystemDisk.js.map +1 -1
- package/dist/models/CreateNetworkInterfaceRequest.d.ts +8 -1
- package/dist/models/CreateNetworkInterfaceRequest.js.map +1 -1
- package/dist/models/CreatePrefixListRequest.d.ts +11 -0
- package/dist/models/CreatePrefixListRequest.js.map +1 -1
- package/dist/models/CreatePrefixListRequestTag.d.ts +16 -0
- package/dist/models/CreatePrefixListRequestTag.js.map +1 -1
- package/dist/models/DescribeAccountAttributesRequest.d.ts +2 -2
- package/dist/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.d.ts +2 -2
- package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.d.ts +1 -1
- package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.d.ts +2 -2
- package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.d.ts +4 -4
- package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.d.ts +2 -2
- package/dist/models/DescribeAvailableResourceRequest.d.ts +6 -6
- package/dist/models/DescribeBandwidthLimitationRequest.d.ts +2 -2
- package/dist/models/DescribeDisksRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +3 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.js +6 -0
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBodyNetworkOptions.d.ts +15 -0
- package/dist/models/DescribeInstanceAttributeResponseBodyNetworkOptions.js +60 -0
- package/dist/models/DescribeInstanceAttributeResponseBodyNetworkOptions.js.map +1 -0
- package/dist/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.d.ts +1 -1
- package/dist/models/DescribeInstancesRequest.d.ts +1 -1
- package/dist/models/DescribeInstancesResponseBodyInstancesInstance.d.ts +8 -8
- package/dist/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.d.ts +1 -1
- package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.d.ts +7 -7
- package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisksDataDisk.d.ts +7 -0
- package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisksDataDisk.js.map +1 -1
- package/dist/models/DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet.d.ts +8 -1
- package/dist/models/DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet.js.map +1 -1
- package/dist/models/DescribePrefixListsRequest.d.ts +11 -0
- package/dist/models/DescribePrefixListsRequest.js.map +1 -1
- package/dist/models/DescribePrefixListsRequestTag.d.ts +16 -0
- package/dist/models/DescribePrefixListsRequestTag.js.map +1 -1
- package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixList.d.ts +11 -0
- package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixList.js.map +1 -1
- package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag.d.ts +16 -0
- package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag.js.map +1 -1
- package/dist/models/DescribePriceRequest.d.ts +7 -7
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +27 -27
- package/dist/models/DescribeRecommendInstanceTypeResponseBody.d.ts +1 -1
- package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.d.ts +7 -7
- package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.d.ts +2 -2
- package/dist/models/DescribeRegionsRequest.d.ts +2 -2
- package/dist/models/DescribeSnapshotLinksRequest.d.ts +18 -1
- package/dist/models/DescribeSnapshotLinksRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +7 -0
- package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
- package/dist/models/DescribeSpotAdviceResponseBody.d.ts +2 -2
- package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.d.ts +1 -1
- package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.d.ts +4 -4
- package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +7 -7
- package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +4 -4
- package/dist/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.d.ts +5 -5
- package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.d.ts +1 -0
- package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js +2 -0
- package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js.map +1 -1
- package/dist/models/DescribeZonesRequest.d.ts +3 -3
- package/dist/models/ModifyAutoProvisioningGroupRequest.d.ts +4 -4
- package/dist/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/ModifyNetworkInterfaceAttributeRequest.d.ts +8 -1
- package/dist/models/ModifyNetworkInterfaceAttributeRequest.js.map +1 -1
- package/dist/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.d.ts +1 -1
- package/dist/models/RunInstancesRequest.d.ts +8 -8
- package/dist/models/RunInstancesRequestDataDisk.d.ts +16 -10
- package/dist/models/RunInstancesRequestDataDisk.js.map +1 -1
- package/dist/models/RunInstancesRequestPrivatePoolOptions.d.ts +1 -1
- package/dist/models/StartTerminalSessionRequest.d.ts +1 -0
- package/dist/models/StartTerminalSessionRequest.js +2 -0
- package/dist/models/StartTerminalSessionRequest.js.map +1 -1
- package/dist/models/StopInstanceRequest.d.ts +14 -3
- package/dist/models/StopInstanceRequest.js.map +1 -1
- package/dist/models/StopInstancesRequest.d.ts +27 -11
- package/dist/models/StopInstancesRequest.js.map +1 -1
- package/dist/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.d.ts +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +34 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +54 -40
- package/src/models/CopyImageRequest.ts +19 -0
- package/src/models/CreateAutoProvisioningGroupRequest.ts +9 -9
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts +5 -5
- package/src/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.ts +2 -2
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +9 -9
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts +5 -5
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/CreateInstanceRequest.ts +9 -9
- package/src/models/CreateInstanceRequestPrivatePoolOptions.ts +1 -1
- package/src/models/CreateLaunchTemplateRequest.ts +6 -6
- package/src/models/CreateLaunchTemplateRequestDataDisk.ts +22 -15
- package/src/models/CreateLaunchTemplateRequestSystemDisk.ts +7 -0
- package/src/models/CreateLaunchTemplateVersionRequest.ts +8 -8
- package/src/models/CreateLaunchTemplateVersionRequestDataDisk.ts +24 -17
- package/src/models/CreateLaunchTemplateVersionRequestSystemDisk.ts +7 -0
- package/src/models/CreateNetworkInterfaceRequest.ts +8 -1
- package/src/models/CreatePrefixListRequest.ts +11 -0
- package/src/models/CreatePrefixListRequestTag.ts +16 -0
- package/src/models/DescribeAccountAttributesRequest.ts +2 -2
- package/src/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.ts +2 -2
- package/src/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.ts +1 -1
- package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.ts +2 -2
- package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.ts +4 -4
- package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.ts +2 -2
- package/src/models/DescribeAvailableResourceRequest.ts +6 -6
- package/src/models/DescribeBandwidthLimitationRequest.ts +2 -2
- package/src/models/DescribeDisksRequest.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBody.ts +8 -1
- package/src/models/DescribeInstanceAttributeResponseBodyNetworkOptions.ts +30 -0
- package/src/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.ts +1 -1
- package/src/models/DescribeInstancesRequest.ts +1 -1
- package/src/models/DescribeInstancesResponseBodyInstancesInstance.ts +8 -8
- package/src/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.ts +1 -1
- package/src/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.ts +7 -7
- package/src/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisksDataDisk.ts +7 -0
- package/src/models/DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet.ts +8 -1
- package/src/models/DescribePrefixListsRequest.ts +11 -0
- package/src/models/DescribePrefixListsRequestTag.ts +16 -0
- package/src/models/DescribePrefixListsResponseBodyPrefixListsPrefixList.ts +11 -0
- package/src/models/DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag.ts +16 -0
- package/src/models/DescribePriceRequest.ts +7 -7
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +27 -27
- package/src/models/DescribeRecommendInstanceTypeResponseBody.ts +1 -1
- package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.ts +7 -7
- package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.ts +2 -2
- package/src/models/DescribeRegionsRequest.ts +2 -2
- package/src/models/DescribeSnapshotLinksRequest.ts +18 -1
- package/src/models/DescribeSnapshotLinksResponseBody.ts +7 -0
- package/src/models/DescribeSpotAdviceResponseBody.ts +2 -2
- package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.ts +1 -1
- package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.ts +4 -4
- package/src/models/DescribeSpotPriceHistoryRequest.ts +7 -7
- package/src/models/DescribeSpotPriceHistoryResponseBody.ts +4 -4
- package/src/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.ts +5 -5
- package/src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts +3 -0
- package/src/models/DescribeZonesRequest.ts +3 -3
- package/src/models/ModifyAutoProvisioningGroupRequest.ts +4 -4
- package/src/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/ModifyNetworkInterfaceAttributeRequest.ts +8 -1
- package/src/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.ts +1 -1
- package/src/models/RunInstancesRequest.ts +8 -8
- package/src/models/RunInstancesRequestDataDisk.ts +16 -10
- package/src/models/RunInstancesRequestPrivatePoolOptions.ts +1 -1
- package/src/models/StartTerminalSessionRequest.ts +3 -0
- package/src/models/StopInstanceRequest.ts +14 -3
- package/src/models/StopInstancesRequest.ts +27 -11
- package/src/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.ts +1 -1
- package/src/models/model.ts +1 -0
|
@@ -394,12 +394,12 @@ export class CreateLaunchTemplateRequest extends $dara.Model {
|
|
|
394
394
|
securityGroupIds?: string[];
|
|
395
395
|
/**
|
|
396
396
|
* @remarks
|
|
397
|
-
* The protection period of the
|
|
397
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
398
398
|
*
|
|
399
|
-
* * 1: After a
|
|
400
|
-
* * 0: After a
|
|
399
|
+
* * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
400
|
+
* * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
401
401
|
*
|
|
402
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
402
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
|
|
403
403
|
*
|
|
404
404
|
* > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
405
405
|
*
|
|
@@ -420,8 +420,8 @@ export class CreateLaunchTemplateRequest extends $dara.Model {
|
|
|
420
420
|
* The bidding policy for the pay-as-you-go instance. This parameter is valid only when the `InstanceChargeType` parameter is set to `PostPaid`. Valid values:
|
|
421
421
|
*
|
|
422
422
|
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
423
|
-
* * SpotWithPriceLimit: The instance is created as a
|
|
424
|
-
* * SpotAsPriceGo: The instance is created as a
|
|
423
|
+
* * SpotWithPriceLimit: The instance is created as a spot instance with a user-defined maximum hourly price.
|
|
424
|
+
* * SpotAsPriceGo: The instance is created as a spot instance for which the market price at the time of purchase is automatically used as the bidding price.
|
|
425
425
|
*
|
|
426
426
|
* @example
|
|
427
427
|
* NoSpot
|
|
@@ -13,7 +13,7 @@ export class CreateLaunchTemplateRequestDataDisk extends $dara.Model {
|
|
|
13
13
|
autoSnapshotPolicyId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Specifies whether to enable the performance burst feature for
|
|
16
|
+
* Specifies whether to enable the performance burst feature for the system disk. Valid values:
|
|
17
17
|
*
|
|
18
18
|
* * true
|
|
19
19
|
* * false
|
|
@@ -26,12 +26,12 @@ export class CreateLaunchTemplateRequestDataDisk extends $dara.Model {
|
|
|
26
26
|
* @remarks
|
|
27
27
|
* The category of data disk N. Valid values:
|
|
28
28
|
*
|
|
29
|
-
* * cloud: basic disk
|
|
30
|
-
* * cloud_efficiency:
|
|
31
|
-
* * cloud_ssd: standard SSD
|
|
32
|
-
* * cloud_essd: ESSD
|
|
29
|
+
* * cloud: basic disk
|
|
30
|
+
* * cloud_efficiency: utra disk
|
|
31
|
+
* * cloud_ssd: standard SSD
|
|
32
|
+
* * cloud_essd: ESSD
|
|
33
33
|
* * cloud_auto: ESSD AutoPL disk
|
|
34
|
-
* * cloud_essd_entry: ESSD Entry disk
|
|
34
|
+
* * cloud_essd_entry: ESSD Entry disk
|
|
35
35
|
*
|
|
36
36
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export class CreateLaunchTemplateRequestDataDisk extends $dara.Model {
|
|
|
41
41
|
category?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* Specifies whether to release data disk N when the instance is released. Valid values:
|
|
44
|
+
* Specifies whether to release data disk N when the associated instance is released. Valid values:
|
|
45
45
|
*
|
|
46
46
|
* * true
|
|
47
47
|
* * false
|
|
@@ -75,7 +75,7 @@ export class CreateLaunchTemplateRequestDataDisk extends $dara.Model {
|
|
|
75
75
|
device?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain
|
|
78
|
+
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* testDataDiskName
|
|
@@ -89,15 +89,22 @@ export class CreateLaunchTemplateRequestDataDisk extends $dara.Model {
|
|
|
89
89
|
* false
|
|
90
90
|
*/
|
|
91
91
|
encrypted?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The ID of the KMS key used for the data disk.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* 0e478b7a-4262-4802-b8cb-00d****
|
|
98
|
+
*/
|
|
92
99
|
KMSKeyId?: string;
|
|
93
100
|
/**
|
|
94
101
|
* @remarks
|
|
95
102
|
* The performance level of the ESSD to use as data disk N. The value of N must be the same as that in `DataDisk.N.Category` when DataDisk.N.Category is set to cloud_essd. Valid values:
|
|
96
103
|
*
|
|
97
|
-
* * PL0: A single ESSD can deliver up to
|
|
98
|
-
* * PL1 (default): A single ESSD can deliver up to
|
|
99
|
-
* * PL2: A single ESSD can deliver up to
|
|
100
|
-
* * PL3: A single ESSD can deliver up to
|
|
104
|
+
* * PL0: A single ESSD can deliver up to 10000 random read/write IOPS.
|
|
105
|
+
* * PL1 (default): A single ESSD can deliver up to 50000 random read/write IOPS.
|
|
106
|
+
* * PL2: A single ESSD can deliver up to 100000 random read/write IOPS.
|
|
107
|
+
* * PL3: A single ESSD can deliver up to 1000000 random read/write IOPS.
|
|
101
108
|
*
|
|
102
109
|
* For information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
103
110
|
*
|
|
@@ -129,9 +136,9 @@ export class CreateLaunchTemplateRequestDataDisk extends $dara.Model {
|
|
|
129
136
|
*
|
|
130
137
|
* * Valid values if you set DataDisk.N.Category to cloud_essd: vary based on the value of `DataDisk.N.PerformanceLevel`.
|
|
131
138
|
*
|
|
132
|
-
* * Valid values if
|
|
133
|
-
* * Valid values if
|
|
134
|
-
* * Valid values if
|
|
139
|
+
* * Valid values if DataDisk.N.PerformanceLevel is set to PL0: 1 to 32768.
|
|
140
|
+
* * Valid values if DataDisk.N.PerformanceLevel is set to PL1: 20 to 32768.
|
|
141
|
+
* * Valid values if DataDisk.N.PerformanceLevel is set to PL2: 461 to 32768.
|
|
135
142
|
* * Valid values if you set DataDisk.N.PerformanceLevel to PL3: 1261 to 32768.
|
|
136
143
|
*
|
|
137
144
|
* * Valid values if you set DataDisk.N.Category to cloud_auto: 1 to 32768.
|
|
@@ -91,6 +91,13 @@ export class CreateLaunchTemplateRequestSystemDisk extends $dara.Model {
|
|
|
91
91
|
* null
|
|
92
92
|
*/
|
|
93
93
|
iops?: number;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The ID of the KMS key to use for the system disk.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
100
|
+
*/
|
|
94
101
|
KMSKeyId?: string;
|
|
95
102
|
/**
|
|
96
103
|
* @remarks
|
|
@@ -58,7 +58,7 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
58
58
|
creditSpecification?: string;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The data disks.
|
|
61
|
+
* The information about the data disks.
|
|
62
62
|
*/
|
|
63
63
|
dataDisk?: CreateLaunchTemplateVersionRequestDataDisk[];
|
|
64
64
|
/**
|
|
@@ -397,12 +397,12 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
397
397
|
securityGroupIds?: string[];
|
|
398
398
|
/**
|
|
399
399
|
* @remarks
|
|
400
|
-
* The protection period of the
|
|
400
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
401
401
|
*
|
|
402
|
-
* * 1: After a
|
|
403
|
-
* * 0: After a
|
|
402
|
+
* * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
403
|
+
* * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
404
404
|
*
|
|
405
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
405
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
|
|
406
406
|
*
|
|
407
407
|
* > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
408
408
|
*
|
|
@@ -412,7 +412,7 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
412
412
|
spotDuration?: number;
|
|
413
413
|
/**
|
|
414
414
|
* @remarks
|
|
415
|
-
* The maximum hourly price of the
|
|
415
|
+
* The maximum hourly price of the spot instance. A maximum of three decimal places are allowed.
|
|
416
416
|
*
|
|
417
417
|
* @example
|
|
418
418
|
* 0.97
|
|
@@ -423,8 +423,8 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
423
423
|
* The preemption policy for the pay-as-you-go instance. This parameter is valid only when the `InstanceChargeType` parameter is set to `PostPaid`. Default value: NoSpot. Valid values:
|
|
424
424
|
*
|
|
425
425
|
* * NoSpot: The instance is created as a pay-as-you-go instance.
|
|
426
|
-
* * SpotWithPriceLimit: The instances of the compute node are
|
|
427
|
-
* * SpotAsPriceGo: The instance is created as a
|
|
426
|
+
* * SpotWithPriceLimit: The instances of the compute node are spot instances. These types of instances have a specified maximum hourly price.
|
|
427
|
+
* * SpotAsPriceGo: The instance is created as a spot instance for which the market price at the time of purchase is automatically used as the bid price.
|
|
428
428
|
*
|
|
429
429
|
* @example
|
|
430
430
|
* NoSpot
|
|
@@ -13,7 +13,7 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
|
|
|
13
13
|
autoSnapshotPolicyId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Specifies whether to enable the performance burst feature for
|
|
16
|
+
* Specifies whether to enable the performance burst feature for the system disk. Valid values:
|
|
17
17
|
*
|
|
18
18
|
* * true
|
|
19
19
|
* * false
|
|
@@ -26,12 +26,12 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
|
|
|
26
26
|
* @remarks
|
|
27
27
|
* The category of data disk N. Valid values:
|
|
28
28
|
*
|
|
29
|
-
* * cloud: basic disk
|
|
30
|
-
* * cloud_efficiency:
|
|
31
|
-
* * cloud_ssd: standard SSD
|
|
32
|
-
* * cloud_auto: ESSD AutoPL disk
|
|
33
|
-
* * cloud_essd: ESSD
|
|
34
|
-
* * cloud_essd_entry: ESSD Entry disk
|
|
29
|
+
* * cloud: basic disk
|
|
30
|
+
* * cloud_efficiency: utra disk
|
|
31
|
+
* * cloud_ssd: standard SSD
|
|
32
|
+
* * cloud_auto: ESSD AutoPL disk
|
|
33
|
+
* * cloud_essd: ESSD
|
|
34
|
+
* * cloud_essd_entry: ESSD Entry disk
|
|
35
35
|
*
|
|
36
36
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
|
|
|
41
41
|
category?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* Specifies whether to release data disk N when the instance is released. Valid values:
|
|
44
|
+
* Specifies whether to release data disk N when the associated instance is released. Valid values:
|
|
45
45
|
*
|
|
46
46
|
* * true
|
|
47
47
|
* * false
|
|
@@ -75,7 +75,7 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
|
|
|
75
75
|
device?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain
|
|
78
|
+
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* testDataDiskName
|
|
@@ -89,15 +89,22 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
|
|
|
89
89
|
* false
|
|
90
90
|
*/
|
|
91
91
|
encrypted?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The ID of the KMS key used for the data disk.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* 0e478b7a-4262-4802-b8cb-00d****
|
|
98
|
+
*/
|
|
92
99
|
KMSKeyId?: string;
|
|
93
100
|
/**
|
|
94
101
|
* @remarks
|
|
95
102
|
* The performance level of the ESSD to use as data disk N. The value of N must be the same as that in `DataDisk.N.Category` when DataDisk.N.Category is set to cloud_essd. Valid values:
|
|
96
103
|
*
|
|
97
|
-
* * PL0: A single ESSD can deliver up to
|
|
98
|
-
* * PL1 (default): A single ESSD can deliver up to
|
|
99
|
-
* * PL2: A single ESSD can deliver up to
|
|
100
|
-
* * PL3: A single ESSD can deliver up to
|
|
104
|
+
* * PL0: A single ESSD can deliver up to 10000 random read/write IOPS.
|
|
105
|
+
* * PL1 (default): A single ESSD can deliver up to 50000 random read/write IOPS.
|
|
106
|
+
* * PL2: A single ESSD can deliver up to 100000 random read/write IOPS.
|
|
107
|
+
* * PL3: A single ESSD can deliver up to 1000000 random read/write IOPS.
|
|
101
108
|
*
|
|
102
109
|
* For information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
103
110
|
*
|
|
@@ -121,11 +128,11 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
|
|
|
121
128
|
* @remarks
|
|
122
129
|
* The size of data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:
|
|
123
130
|
*
|
|
124
|
-
* * Valid values if
|
|
131
|
+
* * Valid values if DataDisk.N.Category is set to cloud: 5 to 2000.
|
|
125
132
|
*
|
|
126
|
-
* * Valid values if
|
|
133
|
+
* * Valid values if DataDisk.N.Category is set to cloud_efficiency: 20 to 32768.
|
|
127
134
|
*
|
|
128
|
-
* * Valid values
|
|
135
|
+
* * Valid values when DataDisk.N.Category is set to cloud_ssd: 20 to 32768.
|
|
129
136
|
*
|
|
130
137
|
* * Valid values if you set DataDisk.N.Category to cloud_essd: vary based on the `DataDisk.N.PerformanceLevel` value.
|
|
131
138
|
*
|
|
@@ -148,7 +155,7 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
|
|
|
148
155
|
* @remarks
|
|
149
156
|
* The ID of the snapshot to use to create data disk N. Valid values of N: 1 to 16. When `DataDisk.N.SnapshotId` is specified, `DataDisk.N.Size` is ignored. The data disk is created with the size of the specified snapshot.
|
|
150
157
|
*
|
|
151
|
-
* Use snapshots created after July 15, 2013. Otherwise, an error is returned and your request is rejected.
|
|
158
|
+
* Use snapshots created on or after July 15, 2013. Otherwise, an error is returned and your request is rejected.
|
|
152
159
|
*
|
|
153
160
|
* @example
|
|
154
161
|
* s-bp17441ohwka0yuh****
|
|
@@ -91,6 +91,13 @@ export class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.Model {
|
|
|
91
91
|
* 30000
|
|
92
92
|
*/
|
|
93
93
|
iops?: number;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The ID of the KMS key to use for the system disk.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
100
|
+
*/
|
|
94
101
|
KMSKeyId?: string;
|
|
95
102
|
/**
|
|
96
103
|
* @remarks
|
|
@@ -266,7 +266,14 @@ export class CreateNetworkInterfaceRequest extends $dara.Model {
|
|
|
266
266
|
securityGroupIds?: string[];
|
|
267
267
|
/**
|
|
268
268
|
* @remarks
|
|
269
|
-
*
|
|
269
|
+
* Specifies whether to enable the source and destination IP address check feature. We recommend that you enable the feature to improve network security. Valid value:
|
|
270
|
+
*
|
|
271
|
+
* * true
|
|
272
|
+
* * false
|
|
273
|
+
*
|
|
274
|
+
* Default value: false.
|
|
275
|
+
*
|
|
276
|
+
* > This feature is available only in some regions. Before you use this method, read [Source and destination IP address check](https://help.aliyun.com/document_detail/2863210.html).
|
|
270
277
|
*
|
|
271
278
|
* @example
|
|
272
279
|
* false
|
|
@@ -71,9 +71,20 @@ export class CreatePrefixListRequest extends $dara.Model {
|
|
|
71
71
|
* cn-chengdu
|
|
72
72
|
*/
|
|
73
73
|
regionId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The ID of the resource group to which to assign the prefix list.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* rg-bp67acfmxazb4p****
|
|
80
|
+
*/
|
|
74
81
|
resourceGroupId?: string;
|
|
75
82
|
resourceOwnerAccount?: string;
|
|
76
83
|
resourceOwnerId?: number;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The tags to add to the prefix list.
|
|
87
|
+
*/
|
|
77
88
|
tag?: CreatePrefixListRequestTag[];
|
|
78
89
|
static names(): { [key: string]: string } {
|
|
79
90
|
return {
|
|
@@ -3,7 +3,23 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreatePrefixListRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The key of tag N. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* TestKey
|
|
12
|
+
*/
|
|
6
13
|
key?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The value of tag N. Valid values of N: 1 to 20. The tag value can be an empty string.
|
|
17
|
+
*
|
|
18
|
+
* The tag value can be up to 128 characters in length and cannot contain` http:// or https:// `.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* TestValue
|
|
22
|
+
*/
|
|
7
23
|
value?: string;
|
|
8
24
|
static names(): { [key: string]: string } {
|
|
9
25
|
return {
|
|
@@ -15,11 +15,11 @@ export class DescribeAccountAttributesRequest extends $dara.Model {
|
|
|
15
15
|
*
|
|
16
16
|
* * max-postpaid-instance-vcpu-count: the maximum number of vCPUs for pay-as-you-go instances.
|
|
17
17
|
*
|
|
18
|
-
* * max-spot-instance-vcpu-count: the maximum number of vCPUs for
|
|
18
|
+
* * max-spot-instance-vcpu-count: the maximum number of vCPUs for spot instances.
|
|
19
19
|
*
|
|
20
20
|
* * used-postpaid-instance-vcpu-count: the number of vCPUs that have been allocated to pay-as-you-go instances.
|
|
21
21
|
*
|
|
22
|
-
* * used-spot-instance-vcpu-count: the number of vCPUs that have been allocated to
|
|
22
|
+
* * used-spot-instance-vcpu-count: the number of vCPUs that have been allocated to spot instances.
|
|
23
23
|
*
|
|
24
24
|
* * max-postpaid-yundisk-capacity: the maximum capacity of pay-as-you-go data disks. (The value is deprecated.)
|
|
25
25
|
*
|
package/src/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.ts
CHANGED
|
@@ -12,9 +12,9 @@ export class DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAt
|
|
|
12
12
|
* * max-security-groups: the maximum number of security groups.
|
|
13
13
|
* * max-elastic-network-interfaces: the maximum number of ENIs.
|
|
14
14
|
* * max-postpaid-instance-vcpu-count: the maximum number of vCPUs for pay-as-you-go instances.
|
|
15
|
-
* * max-spot-instance-vcpu-count: the maximum number of vCPUs for
|
|
15
|
+
* * max-spot-instance-vcpu-count: the maximum number of vCPUs for spot instances.
|
|
16
16
|
* * used-postpaid-instance-vcpu-count: the number of vCPUs that were allocated to pay-as-you-go instances.
|
|
17
|
-
* * used-spot-instance-vcpu-count: the number of vCPUs that were allocated to
|
|
17
|
+
* * used-spot-instance-vcpu-count: the number of vCPUs that were allocated to spot instances.
|
|
18
18
|
* * max-postpaid-yundisk-capacity: the maximum capacity of pay-as-you-go data disks. (The value is deprecated.)
|
|
19
19
|
* * used-postpaid-yundisk-capacity: the capacity of pay-as-you-go data disks that were created. (The value is deprecated.)
|
|
20
20
|
* * max-dedicated-hosts: the maximum number of dedicated hosts.
|
|
@@ -45,7 +45,7 @@ export class DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance
|
|
|
45
45
|
ioOptimized?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* Indicates whether the instance is a
|
|
48
|
+
* Indicates whether the instance is a spot instance.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* true
|
|
@@ -77,7 +77,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
|
|
|
77
77
|
launchTemplateVersion?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The maximum price of
|
|
80
|
+
* The maximum price of spot instances in the auto provisioning group.
|
|
81
81
|
*
|
|
82
82
|
* > When both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the smaller one of the two parameter values is used.
|
|
83
83
|
*
|
|
@@ -110,7 +110,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
|
|
|
110
110
|
resourceGroupId?: string;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The policy related to
|
|
113
|
+
* The policy related to spot instances.
|
|
114
114
|
*/
|
|
115
115
|
spotOptions?: DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions;
|
|
116
116
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The policy for creating
|
|
8
|
+
* The policy for creating spot instances. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* * lowest-price: cost optimization policy. This policy indicates that the lowest-priced instance type is used to create instances.
|
|
11
11
|
* * diversified: balanced distribution policy. This policy indicates that instances are created evenly across multiple zones specified in the extended configuration.
|
|
@@ -16,10 +16,10 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
|
|
|
16
16
|
allocationStrategy?: string;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* The action to be performed after the excess
|
|
19
|
+
* The action to be performed after the excess spot instances are stopped. Valid values:
|
|
20
20
|
*
|
|
21
|
-
* * stop: retains the excess
|
|
22
|
-
* * terminate: releases the excess
|
|
21
|
+
* * stop: retains the excess spot instances in the stopped state.
|
|
22
|
+
* * terminate: releases the excess spot instances.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* stop
|
|
@@ -8,7 +8,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
|
|
|
8
8
|
* The type of supplemental instances. When the sum of the `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` values is less than the `TotalTargetCapacity` value, the auto provisioning group creates instances of the specified billing method to meet the target capacity. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* * PayAsYouGo: pay-as-you-go instances.
|
|
11
|
-
* * Spot:
|
|
11
|
+
* * Spot: spot instances.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* Spot
|
|
@@ -24,7 +24,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
|
|
|
24
24
|
payAsYouGoTargetCapacity?: number;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The target capacity of
|
|
27
|
+
* The target capacity of spot instances that the auto provisioning group provisions.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* 20
|
|
@@ -153,12 +153,12 @@ export class DescribeAvailableResourceRequest extends $dara.Model {
|
|
|
153
153
|
scope?: string;
|
|
154
154
|
/**
|
|
155
155
|
* @remarks
|
|
156
|
-
* The protection period of the
|
|
156
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
157
157
|
*
|
|
158
|
-
* * 1: After a
|
|
159
|
-
* * 0: After a
|
|
158
|
+
* * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
159
|
+
* * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
160
160
|
*
|
|
161
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
161
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
|
|
162
162
|
*
|
|
163
163
|
* > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
164
164
|
*
|
|
@@ -171,8 +171,8 @@ export class DescribeAvailableResourceRequest extends $dara.Model {
|
|
|
171
171
|
* The bidding policy for pay-as-you-go instances. Valid values:
|
|
172
172
|
*
|
|
173
173
|
* * NoSpot: The instance is a pay-as-you-go instance.
|
|
174
|
-
* * SpotWithPriceLimit: The instance is a
|
|
175
|
-
* * SpotAsPriceGo: The instance is a
|
|
174
|
+
* * SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
|
|
175
|
+
* * SpotAsPriceGo: The instance is a spot instance for which the market price is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
|
|
176
176
|
*
|
|
177
177
|
* Default value: NoSpot.
|
|
178
178
|
*
|
|
@@ -69,8 +69,8 @@ export class DescribeBandwidthLimitationRequest extends $dara.Model {
|
|
|
69
69
|
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
70
70
|
*
|
|
71
71
|
* * NoSpot: The instance is a pay-as-you-go instance.
|
|
72
|
-
* * SpotWithPriceLimit: The instance is a
|
|
73
|
-
* * SpotAsPriceGo: The instance is a
|
|
72
|
+
* * SpotWithPriceLimit: The instance is a spot instance for which you can specify the maximum hourly price.
|
|
73
|
+
* * SpotAsPriceGo: The instance is a spot instance for which the market price at the time of purchase is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
|
|
74
74
|
*
|
|
75
75
|
* Default value: NoSpot.
|
|
76
76
|
*
|
|
@@ -217,7 +217,7 @@ export class DescribeDisksRequest extends $dara.Model {
|
|
|
217
217
|
*
|
|
218
218
|
* * financial: The disk is locked due to overdue payments.
|
|
219
219
|
* * security: The disk is locked due to security reasons.
|
|
220
|
-
* * recycling: The
|
|
220
|
+
* * recycling: The spot instance is locked and pending release.
|
|
221
221
|
* * dedicatedhostfinancial: The instance is locked due to overdue payments for the dedicated host.
|
|
222
222
|
*
|
|
223
223
|
* @example
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
import { DescribeInstanceAttributeResponseBodyDedicatedHostAttribute } from "./DescribeInstanceAttributeResponseBodyDedicatedHostAttribute";
|
|
4
4
|
import { DescribeInstanceAttributeResponseBodyEipAddress } from "./DescribeInstanceAttributeResponseBodyEipAddress";
|
|
5
5
|
import { DescribeInstanceAttributeResponseBodyInnerIpAddress } from "./DescribeInstanceAttributeResponseBodyInnerIpAddress";
|
|
6
|
+
import { DescribeInstanceAttributeResponseBodyNetworkOptions } from "./DescribeInstanceAttributeResponseBodyNetworkOptions";
|
|
6
7
|
import { DescribeInstanceAttributeResponseBodyOperationLocks } from "./DescribeInstanceAttributeResponseBodyOperationLocks";
|
|
7
8
|
import { DescribeInstanceAttributeResponseBodyPublicIpAddress } from "./DescribeInstanceAttributeResponseBodyPublicIpAddress";
|
|
8
9
|
import { DescribeInstanceAttributeResponseBodySecurityGroupIds } from "./DescribeInstanceAttributeResponseBodySecurityGroupIds";
|
|
@@ -202,13 +203,14 @@ export class DescribeInstanceAttributeResponseBody extends $dara.Model {
|
|
|
202
203
|
* 16384
|
|
203
204
|
*/
|
|
204
205
|
memory?: number;
|
|
206
|
+
networkOptions?: DescribeInstanceAttributeResponseBodyNetworkOptions;
|
|
205
207
|
/**
|
|
206
208
|
* @remarks
|
|
207
209
|
* The reason why the instance was locked. Valid values:
|
|
208
210
|
*
|
|
209
211
|
* * financial: The dedicated host was locked due to overdue payments.
|
|
210
212
|
* * security: The instance was locked due to security reasons.
|
|
211
|
-
* * recycling: The
|
|
213
|
+
* * recycling: The spot instance was locked and pending release.
|
|
212
214
|
* * dedicatedhostfinancial: The instance was locked due to overdue payments for the dedicated host.
|
|
213
215
|
* * refunded: The instance was locked because a refund was made for the instance.
|
|
214
216
|
*/
|
|
@@ -321,6 +323,7 @@ export class DescribeInstanceAttributeResponseBody extends $dara.Model {
|
|
|
321
323
|
internetMaxBandwidthOut: 'InternetMaxBandwidthOut',
|
|
322
324
|
ioOptimized: 'IoOptimized',
|
|
323
325
|
memory: 'Memory',
|
|
326
|
+
networkOptions: 'NetworkOptions',
|
|
324
327
|
operationLocks: 'OperationLocks',
|
|
325
328
|
publicIpAddress: 'PublicIpAddress',
|
|
326
329
|
regionId: 'RegionId',
|
|
@@ -360,6 +363,7 @@ export class DescribeInstanceAttributeResponseBody extends $dara.Model {
|
|
|
360
363
|
internetMaxBandwidthOut: 'number',
|
|
361
364
|
ioOptimized: 'string',
|
|
362
365
|
memory: 'number',
|
|
366
|
+
networkOptions: DescribeInstanceAttributeResponseBodyNetworkOptions,
|
|
363
367
|
operationLocks: DescribeInstanceAttributeResponseBodyOperationLocks,
|
|
364
368
|
publicIpAddress: DescribeInstanceAttributeResponseBodyPublicIpAddress,
|
|
365
369
|
regionId: 'string',
|
|
@@ -384,6 +388,9 @@ export class DescribeInstanceAttributeResponseBody extends $dara.Model {
|
|
|
384
388
|
if(this.innerIpAddress && typeof (this.innerIpAddress as any).validate === 'function') {
|
|
385
389
|
(this.innerIpAddress as any).validate();
|
|
386
390
|
}
|
|
391
|
+
if(this.networkOptions && typeof (this.networkOptions as any).validate === 'function') {
|
|
392
|
+
(this.networkOptions as any).validate();
|
|
393
|
+
}
|
|
387
394
|
if(this.operationLocks && typeof (this.operationLocks as any).validate === 'function') {
|
|
388
395
|
(this.operationLocks as any).validate();
|
|
389
396
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeInstanceAttributeResponseBodyNetworkOptions extends $dara.Model {
|
|
6
|
+
enableJumboFrame?: boolean;
|
|
7
|
+
enableNetworkEncryption?: boolean;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
enableJumboFrame: 'EnableJumboFrame',
|
|
11
|
+
enableNetworkEncryption: 'EnableNetworkEncryption',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
enableJumboFrame: 'boolean',
|
|
18
|
+
enableNetworkEncryption: 'boolean',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -9,7 +9,7 @@ export class DescribeInstanceAttributeResponseBodyOperationLocksLockReason exten
|
|
|
9
9
|
*
|
|
10
10
|
* * financial: The instance was locked due to overdue payments.
|
|
11
11
|
* * security: The instance was locked due to security reasons.
|
|
12
|
-
* * recycling: The
|
|
12
|
+
* * recycling: The spot instance was locked and pending release.
|
|
13
13
|
* * dedicatedhostfinancial: The instance was locked due to overdue payments for the dedicated host.
|
|
14
14
|
* * refunded: The instance was locked because a refund is made for the instance.
|
|
15
15
|
*
|
|
@@ -205,7 +205,7 @@ export class DescribeInstancesRequest extends $dara.Model {
|
|
|
205
205
|
*
|
|
206
206
|
* * financial: The instance is locked due to overdue payments.
|
|
207
207
|
* * security: The instance is locked due to security reasons.
|
|
208
|
-
* * recycling: The
|
|
208
|
+
* * recycling: The spot instance is locked and pending release.
|
|
209
209
|
* * dedicatedhostfinancial: The instance is locked due to overdue payments for the dedicated host.
|
|
210
210
|
* * refunded: The instance is locked because a refund is made for the instance.
|
|
211
211
|
*
|