@alicloud/ecs20140526 7.0.8 → 7.0.10
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 +44 -36
- package/dist/client.js +62 -36
- 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 +1 -1
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +8 -8
- package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.d.ts +2 -2
- 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/DescribeDiskDefaultKmskeyIdRequest.d.ts +1 -0
- package/dist/models/DescribeDiskDefaultKmskeyIdRequest.js +2 -0
- package/dist/models/DescribeDiskDefaultKmskeyIdRequest.js.map +1 -1
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.d.ts +1 -0
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.js +2 -0
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +1 -1
- 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/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 +17 -0
- 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/DisableDiskEncryptionByDefaultRequest.d.ts +1 -0
- package/dist/models/DisableDiskEncryptionByDefaultRequest.js +2 -0
- package/dist/models/DisableDiskEncryptionByDefaultRequest.js.map +1 -1
- package/dist/models/ModifyAutoProvisioningGroupRequest.d.ts +4 -4
- package/dist/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/ModifyDiskDefaultKmskeyIdRequest.d.ts +1 -0
- package/dist/models/ModifyDiskDefaultKmskeyIdRequest.js +2 -0
- package/dist/models/ModifyDiskDefaultKmskeyIdRequest.js.map +1 -1
- package/dist/models/ResetDiskDefaultKmskeyIdRequest.d.ts +1 -0
- package/dist/models/ResetDiskDefaultKmskeyIdRequest.js +2 -0
- package/dist/models/ResetDiskDefaultKmskeyIdRequest.js.map +1 -1
- package/dist/models/RunInstancesRequest.d.ts +8 -8
- 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/package.json +1 -1
- package/src/client.ts +68 -36
- 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 +1 -1
- package/src/models/CreateLaunchTemplateVersionRequest.ts +8 -8
- package/src/models/CreateLaunchTemplateVersionRequestDataDisk.ts +2 -2
- 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/DescribeDiskDefaultKmskeyIdRequest.ts +3 -0
- package/src/models/DescribeDiskEncryptionByDefaultStatusRequest.ts +3 -0
- package/src/models/DescribeDisksRequest.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBody.ts +1 -1
- 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/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 +17 -0
- 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/DisableDiskEncryptionByDefaultRequest.ts +3 -0
- package/src/models/ModifyAutoProvisioningGroupRequest.ts +4 -4
- package/src/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/ModifyDiskDefaultKmskeyIdRequest.ts +3 -0
- package/src/models/ResetDiskDefaultKmskeyIdRequest.ts +3 -0
- package/src/models/RunInstancesRequest.ts +8 -8
- 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
|
@@ -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 vCPU cores of the instance type.
|
|
9
9
|
*
|
|
10
|
-
* >
|
|
10
|
+
* > If you specify both `Cores` and `Memory`, the system returns all instance types that match the values of the parameters.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* 2
|
|
@@ -15,7 +15,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
15
15
|
cores?: number;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The billing method of
|
|
18
|
+
* The billing method of ECS instances. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html). Valid values:
|
|
19
19
|
*
|
|
20
20
|
* * PrePaid: subscription
|
|
21
21
|
* * PostPaid: pay-as-you-go
|
|
@@ -30,9 +30,9 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* The level of the instance family. Valid values:
|
|
32
32
|
*
|
|
33
|
-
* * EntryLevel
|
|
34
|
-
* * EnterpriseLevel
|
|
35
|
-
* * CreditEntryLevel For more information, see [Burstable instance families](https://help.aliyun.com/document_detail/59977.html).
|
|
33
|
+
* * EntryLevel: entry level.
|
|
34
|
+
* * EnterpriseLevel: enterprise level.
|
|
35
|
+
* * CreditEntryLevel: credit-based entry level. For more information, see [Burstable instance families](https://help.aliyun.com/document_detail/59977.html).
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* EnterpriseLevel
|
|
@@ -40,9 +40,9 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
40
40
|
instanceFamilyLevel?: string;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The instance type. For more information, see [
|
|
43
|
+
* The instance type. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation to query the most recent instance type list.
|
|
44
44
|
*
|
|
45
|
-
* >
|
|
45
|
+
* > If you specify `InstanceType`, you cannot specify `Cores` or `Memory`.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* ecs.hfg6.large
|
|
@@ -50,7 +50,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
50
50
|
instanceType?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
*
|
|
53
|
+
* The instance families from which the alternative instance types are selected. You can specify up to 10 instance families.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* ecs.hfg6
|
|
@@ -58,10 +58,10 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
58
58
|
instanceTypeFamily?: string[];
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* Specifies whether the instance
|
|
61
|
+
* Specifies whether instances of the instance type are I/O optimized. You cannot specify IoOptimized if the instance type supports only non-I/O optimized instances. Valid values:
|
|
62
62
|
*
|
|
63
|
-
* * optimized: The
|
|
64
|
-
* * none: The
|
|
63
|
+
* * optimized: The instances are I/O optimized.
|
|
64
|
+
* * none: The instances are non-I/O optimized.
|
|
65
65
|
*
|
|
66
66
|
* Default value: optimized.
|
|
67
67
|
*
|
|
@@ -73,7 +73,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
73
73
|
ioOptimized?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The maximum hourly price for pay-as-you-go instances or
|
|
76
|
+
* The maximum hourly price for pay-as-you-go instances or spot instances.
|
|
77
77
|
*
|
|
78
78
|
* > This parameter takes effect only when `SpotStrategy` is set to `SpotWithPriceLimit`.
|
|
79
79
|
*
|
|
@@ -83,9 +83,9 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
83
83
|
maxPrice?: number;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* The memory size of the instance. Unit: GiB.
|
|
86
|
+
* The memory size of the instance type. Unit: GiB.
|
|
87
87
|
*
|
|
88
|
-
* >
|
|
88
|
+
* > If you specify both `Cores` and `Memory`, the system returns all instance types that match the values of the parameters.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* 8.0
|
|
@@ -93,7 +93,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
93
93
|
memory?: number;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The network type of
|
|
96
|
+
* The network type of ECS instances. Valid values:
|
|
97
97
|
*
|
|
98
98
|
* * classic
|
|
99
99
|
* * vpc
|
|
@@ -136,7 +136,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
136
136
|
resourceOwnerId?: number;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
*
|
|
139
|
+
* The scenario in which instance types are recommended. Valid values:
|
|
140
140
|
*
|
|
141
141
|
* * UPGRADE: instance type upgrade or downgrade
|
|
142
142
|
* * CREATE: instance creation
|
|
@@ -149,11 +149,11 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
149
149
|
scene?: string;
|
|
150
150
|
/**
|
|
151
151
|
* @remarks
|
|
152
|
-
* The bidding policy of
|
|
152
|
+
* The bidding policy of spot instances. Valid values:
|
|
153
153
|
*
|
|
154
|
-
* * NoSpot: The
|
|
155
|
-
* * SpotWithPriceLimit: The
|
|
156
|
-
* * SpotAsPriceGo: The
|
|
154
|
+
* * NoSpot: The instances are regular pay-as-you-go instances.
|
|
155
|
+
* * SpotWithPriceLimit: The instances are created as spot instances for which you can specify the maximum hourly price.
|
|
156
|
+
* * SpotAsPriceGo: The instances are spot instances 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.
|
|
157
157
|
*
|
|
158
158
|
* > If you specify `SpotStrategy`, you must set `InstanceChargeType` to `PostPaid`.
|
|
159
159
|
*
|
|
@@ -168,8 +168,8 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
168
168
|
* The category of the system disk. Valid values:
|
|
169
169
|
*
|
|
170
170
|
* * cloud_efficiency: ultra disk
|
|
171
|
-
* * cloud_ssd: SSD
|
|
172
|
-
* * cloud_essd: ESSD
|
|
171
|
+
* * cloud_ssd: standard SSD
|
|
172
|
+
* * cloud_essd: Enterprise SSD (ESSD)
|
|
173
173
|
* * cloud: basic disk
|
|
174
174
|
*
|
|
175
175
|
* For non-I/O optimized instances, the default value is cloud.
|
|
@@ -184,7 +184,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
184
184
|
* @remarks
|
|
185
185
|
* The zone ID. You can call the [DescribeZones](https://help.aliyun.com/document_detail/25610.html) operation to query the most recent zone list.
|
|
186
186
|
*
|
|
187
|
-
* We recommend that you set
|
|
187
|
+
* We recommend that you set ZoneMatchMode to Include, which is the default value. This way, the system recommends instance types that are available in the zone specified by ZoneId based on the priority policy. The system also recommends instance types that are available in other zones within the same region.
|
|
188
188
|
*
|
|
189
189
|
* @example
|
|
190
190
|
* cn-hangzhou-f
|
|
@@ -194,10 +194,10 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
194
194
|
* @remarks
|
|
195
195
|
* Specifies whether to recommend only instance types in the zone specified by ZoneId. Valid values:
|
|
196
196
|
*
|
|
197
|
-
* * Strict: recommends only instance types that are available in
|
|
198
|
-
* * Include: recommends instance types that are available in
|
|
197
|
+
* * Strict: recommends only instance types that are available in the zone specified by ZoneId.
|
|
198
|
+
* * 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.
|
|
199
199
|
*
|
|
200
|
-
* If `ZoneId` is specified, the default value of this parameter is Strict
|
|
200
|
+
* If `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.
|
|
201
201
|
*
|
|
202
202
|
* @example
|
|
203
203
|
* Strict
|
|
@@ -11,7 +11,7 @@ export class DescribeRecommendInstanceTypeResponseBody extends $dara.Model {
|
|
|
11
11
|
data?: DescribeRecommendInstanceTypeResponseBodyData;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The ID
|
|
14
|
+
* The request ID.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -15,7 +15,7 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
|
|
|
15
15
|
commodityCode?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The billing method of the
|
|
18
|
+
* The billing method of the instances.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* PostPaid
|
|
@@ -23,12 +23,12 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
|
|
|
23
23
|
instanceChargeType?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The
|
|
26
|
+
* The details of the instance type.
|
|
27
27
|
*/
|
|
28
28
|
instanceType?: DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeInstanceType;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The network type of the
|
|
31
|
+
* The network type of the ECS instances.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* vpc
|
|
@@ -44,7 +44,7 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
|
|
|
44
44
|
priority?: number;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* The
|
|
47
|
+
* The ID of the region in which the instance type is available.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* cn-hangzhou
|
|
@@ -52,7 +52,7 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
|
|
|
52
52
|
regionId?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The
|
|
55
|
+
* The scenario in which the instance type is recommended.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
58
|
* CREATE
|
|
@@ -60,7 +60,7 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
|
|
|
60
60
|
scene?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The bidding policy for the
|
|
63
|
+
* The bidding policy for the spot instances.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* NoSpot
|
|
@@ -76,7 +76,7 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
|
|
|
76
76
|
zoneId?: string;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The details of the zones
|
|
79
|
+
* The details of the zones in which the instance type is available.
|
|
80
80
|
*/
|
|
81
81
|
zones?: DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZones;
|
|
82
82
|
static names(): { [key: string]: string } {
|
package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.ts
CHANGED
|
@@ -6,12 +6,12 @@ import { DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZones
|
|
|
6
6
|
export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The details of network types of instance
|
|
9
|
+
* The details of the network types of the instance type.
|
|
10
10
|
*/
|
|
11
11
|
networkTypes?: DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZoneNetworkTypes;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The ID of the zone
|
|
14
|
+
* The ID of the zone in which the instance type is available.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* cn-hangzhou-h
|
|
@@ -28,8 +28,8 @@ export class DescribeRegionsRequest extends $dara.Model {
|
|
|
28
28
|
*
|
|
29
29
|
* - PrePaid: subscription. If you set this parameter to PrePaid, make sure that you have sufficient balance or credits in your account. Otherwise, the InvalidPayMethod error code is returned.
|
|
30
30
|
* - PostPaid: pay-as-you-go.
|
|
31
|
-
* SpotWithPriceLimit:
|
|
32
|
-
* - SpotAsPriceGo:
|
|
31
|
+
* SpotWithPriceLimit: spot instance for which a maximum hourly price is specified.
|
|
32
|
+
* - SpotAsPriceGo: 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.
|
|
33
33
|
*
|
|
34
34
|
* Default value: PostPaid.
|
|
35
35
|
*
|
|
@@ -19,7 +19,24 @@ export class DescribeSnapshotLinksRequest extends $dara.Model {
|
|
|
19
19
|
* i-bp1h6jmbefj2cyqs****
|
|
20
20
|
*/
|
|
21
21
|
instanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The maximum number of entries per page. Maximum value: 100. Default value:
|
|
25
|
+
*
|
|
26
|
+
* * If you do not specify this parameter or if you set a value smaller than 10, the default value is 10.
|
|
27
|
+
* * If you set a value greater than 100, the default value is 100.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* 10
|
|
31
|
+
*/
|
|
22
32
|
maxResults?: number;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The pagination token that is used in the next request to retrieve a new page of results. You must specify the token that is obtained from the previous query as the value of NextToken.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* caeba0bbb2be03f84eb48b699f0a****
|
|
39
|
+
*/
|
|
23
40
|
nextToken?: string;
|
|
24
41
|
ownerAccount?: string;
|
|
25
42
|
ownerId?: number;
|
|
@@ -4,6 +4,13 @@ import { DescribeSnapshotLinksResponseBodySnapshotLinks } from "./DescribeSnapsh
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class DescribeSnapshotLinksResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* A pagination token. It can be used in the next request to retrieve a new page of results.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* caeba0bbb2be03f84eb48b699f0a****
|
|
13
|
+
*/
|
|
7
14
|
nextToken?: string;
|
|
8
15
|
/**
|
|
9
16
|
* @remarks
|
|
@@ -6,9 +6,9 @@ import { DescribeSpotAdviceResponseBodyAvailableSpotZones } from "./DescribeSpot
|
|
|
6
6
|
export class DescribeSpotAdviceResponseBody extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* Details about
|
|
9
|
+
* Details about spot instances in the zones of the specified region.
|
|
10
10
|
*
|
|
11
|
-
* > The return values are sorted based on the historical percentages of average
|
|
11
|
+
* > The return values are sorted based on the historical percentages of average spot instance prices relative to pay-as-you-go instance prices for instance types.
|
|
12
12
|
*/
|
|
13
13
|
availableSpotZones?: DescribeSpotAdviceResponseBodyAvailableSpotZones;
|
|
14
14
|
/**
|
|
@@ -6,7 +6,7 @@ import { DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvaila
|
|
|
6
6
|
export class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* Details about
|
|
9
|
+
* Details about spot instances in the previous 30 days, including the release rate of spot instances and percentages of average spot instance prices relative to pay-as-you-go instance prices.
|
|
10
10
|
*/
|
|
11
11
|
availableSpotResources?: DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResources;
|
|
12
12
|
/**
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The percentage of the average
|
|
8
|
+
* The percentage of the average spot instance price relative to the pay-as-you-go instance price in the previous 30 days. Unit: %. Valid values: 1 to 100.
|
|
9
9
|
*
|
|
10
|
-
* You can calculate the average
|
|
10
|
+
* You can calculate the average spot instance price based on the return value. For example, if the pay-as-you-go instance price is 1 and the return value of this parameter is 20, the average spot instance price in the previous 30 days is 0.2.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* 20
|
|
@@ -23,7 +23,7 @@ export class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAv
|
|
|
23
23
|
instanceType?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The release rate range of
|
|
26
|
+
* The release rate range of spot instances in the previous 30 days, which corresponds to the `InterruptionRate` value. Valid values:
|
|
27
27
|
*
|
|
28
28
|
* * 0-3%
|
|
29
29
|
* * 3-5%
|
|
@@ -36,7 +36,7 @@ export class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAv
|
|
|
36
36
|
interruptRateDesc?: string;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The average release rate of
|
|
39
|
+
* The average release rate of spot instances in the previous 30 days. Unit: %.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* 0
|
|
@@ -42,7 +42,7 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
42
42
|
ioOptimized?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The network type of the
|
|
45
|
+
* The network type of the spot instance. Valid values:
|
|
46
46
|
*
|
|
47
47
|
* * classic: classic network
|
|
48
48
|
* * vpc: Virtual Private Cloud (VPC)
|
|
@@ -78,7 +78,7 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
78
78
|
ownerId?: number;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The zone ID of the
|
|
81
|
+
* The zone ID of the spot instance.
|
|
82
82
|
*
|
|
83
83
|
* This parameter is required.
|
|
84
84
|
*
|
|
@@ -90,12 +90,12 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
90
90
|
resourceOwnerId?: number;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The protection period of the
|
|
93
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
94
94
|
*
|
|
95
|
-
* * 1: After a
|
|
96
|
-
* * 0: After a
|
|
95
|
+
* * 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.
|
|
96
|
+
* * 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.
|
|
97
97
|
*
|
|
98
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
98
|
+
* 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.
|
|
99
99
|
*
|
|
100
100
|
* > This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit or SpotAsPriceGo.
|
|
101
101
|
*
|
|
@@ -115,7 +115,7 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
115
115
|
startTime?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The spot price (market price) of the
|
|
118
|
+
* The spot price (market price) of the spot instance.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* cn-hangzhou-g
|
|
@@ -6,7 +6,7 @@ import { DescribeSpotPriceHistoryResponseBodySpotPrices } from "./DescribeSpotPr
|
|
|
6
6
|
export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The instance type of the
|
|
9
|
+
* The instance type of the spot instance.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* CNY
|
|
@@ -14,7 +14,7 @@ export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
14
14
|
currency?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The network type of the
|
|
17
|
+
* The network type of the spot instance.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* 1000
|
|
@@ -22,7 +22,7 @@ export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
22
22
|
nextOffset?: number;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The instance type of the
|
|
25
|
+
* The instance type of the spot instance.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -30,7 +30,7 @@ export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
30
30
|
requestId?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The zone ID of the
|
|
33
|
+
* The zone ID of the spot instance.
|
|
34
34
|
*/
|
|
35
35
|
spotPrices?: DescribeSpotPriceHistoryResponseBodySpotPrices;
|
|
36
36
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The instance type of the
|
|
8
|
+
* The instance type of the spot instance.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ecs.g5.large
|
|
@@ -13,7 +13,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
|
|
|
13
13
|
instanceType?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Details about the price history of the
|
|
16
|
+
* Details about the price history of the spot instance.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* optimized
|
|
@@ -21,7 +21,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
|
|
|
21
21
|
ioOptimized?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Queries the price history of a
|
|
24
|
+
* Queries the price history of a spot instance within the last 30 days.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* vpc
|
|
@@ -29,7 +29,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
|
|
|
29
29
|
networkType?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The price for a pay-as-you-go instance that has the same configuration as the specified
|
|
32
|
+
* The price for a pay-as-you-go instance that has the same configuration as the specified spot instance.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 0.354
|
|
@@ -37,7 +37,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
|
|
|
37
37
|
originPrice?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The price for a pay-as-you-go instance that has the same configurations as the
|
|
40
|
+
* The price for a pay-as-you-go instance that has the same configurations as the spot instance.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 0.036
|
package/src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts
CHANGED
|
@@ -28,6 +28,7 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
|
|
|
28
28
|
* 2024-01-19T09:16:46Z
|
|
29
29
|
*/
|
|
30
30
|
endTime?: string;
|
|
31
|
+
failedDetail?: string;
|
|
31
32
|
/**
|
|
32
33
|
* @remarks
|
|
33
34
|
* The instance ID.
|
|
@@ -63,6 +64,7 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
|
|
|
63
64
|
return {
|
|
64
65
|
closedReason: 'ClosedReason',
|
|
65
66
|
endTime: 'EndTime',
|
|
67
|
+
failedDetail: 'FailedDetail',
|
|
66
68
|
instanceId: 'InstanceId',
|
|
67
69
|
startTime: 'StartTime',
|
|
68
70
|
status: 'Status',
|
|
@@ -73,6 +75,7 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
|
|
|
73
75
|
return {
|
|
74
76
|
closedReason: 'string',
|
|
75
77
|
endTime: 'string',
|
|
78
|
+
failedDetail: 'string',
|
|
76
79
|
instanceId: 'string',
|
|
77
80
|
startTime: 'string',
|
|
78
81
|
status: 'string',
|
|
@@ -50,11 +50,11 @@ export class DescribeZonesRequest extends $dara.Model {
|
|
|
50
50
|
resourceOwnerId?: number;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The bidding policy for the pay-as-you-go instance. You can specify this parameter when you set `InstanceChargeType` to PostPaid. For more information, see [
|
|
53
|
+
* The bidding policy for the pay-as-you-go instance. You can specify this parameter when you set `InstanceChargeType` to PostPaid. For more information, see [Spot instances](https://help.aliyun.com/document_detail/52088.html). Valid values:
|
|
54
54
|
*
|
|
55
55
|
* * NoSpot: The instances are regular pay-as-you-go instances.
|
|
56
|
-
* * SpotWithPriceLimit: The instance is a
|
|
57
|
-
* * SpotAsPriceGo: The instance is a
|
|
56
|
+
* * SpotWithPriceLimit: The instance is a spot instance that has a user-defined maximum hourly price.
|
|
57
|
+
* * 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.
|
|
58
58
|
*
|
|
59
59
|
* Default value: NoSpot.
|
|
60
60
|
*
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DisableDiskEncryptionByDefaultRequest extends $dara.Model {
|
|
6
|
+
ownerId?: number;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The ID of the region for which you want to disable Account-level EBS Default Encryption. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
@@ -16,6 +17,7 @@ export class DisableDiskEncryptionByDefaultRequest extends $dara.Model {
|
|
|
16
17
|
resourceOwnerId?: number;
|
|
17
18
|
static names(): { [key: string]: string } {
|
|
18
19
|
return {
|
|
20
|
+
ownerId: 'OwnerId',
|
|
19
21
|
regionId: 'RegionId',
|
|
20
22
|
resourceOwnerId: 'ResourceOwnerId',
|
|
21
23
|
};
|
|
@@ -23,6 +25,7 @@ export class DisableDiskEncryptionByDefaultRequest extends $dara.Model {
|
|
|
23
25
|
|
|
24
26
|
static types(): { [key: string]: any } {
|
|
25
27
|
return {
|
|
28
|
+
ownerId: 'number',
|
|
26
29
|
regionId: 'string',
|
|
27
30
|
resourceOwnerId: 'number',
|
|
28
31
|
};
|
|
@@ -25,7 +25,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
25
25
|
* The type of supplemental instances. When the sum of the PayAsYouGoTargetCapacity and SpotTargetCapacity values is smaller than the TotalTargetCapacity value, the auto-provisioning group creates instances of the specified type to meet the target capacity. Valid values:
|
|
26
26
|
*
|
|
27
27
|
* * PayAsYouGo: pay-as-you-go instances
|
|
28
|
-
* * Spot:
|
|
28
|
+
* * Spot: spot instances
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* Spot
|
|
@@ -49,7 +49,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
49
49
|
launchTemplateConfig?: ModifyAutoProvisioningGroupRequestLaunchTemplateConfig[];
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
* The maximum price of
|
|
52
|
+
* The maximum price of spot instances in the auto-provisioning group.
|
|
53
53
|
*
|
|
54
54
|
* > When both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the smaller one of the two parameter values is used. The LaunchTemplateConfig.N.MaxPrice parameter is specified when the auto-provisioning group is created, and cannot be modified.
|
|
55
55
|
*
|
|
@@ -81,7 +81,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
81
81
|
resourceOwnerId?: number;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The target capacity of
|
|
84
|
+
* The target capacity of spot instances in the auto-provisioning group. Valid values: Set this parameter to a value smaller than the TotalTargetCapacity value.
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* 30
|
|
@@ -102,7 +102,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
102
102
|
* @remarks
|
|
103
103
|
* The total target capacity of the auto-provisioning group. The value must be a positive integer.
|
|
104
104
|
*
|
|
105
|
-
* The total target capacity of the auto-provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by the PayAsYouGoTargetCapacity parameter as well as the target capacity of
|
|
105
|
+
* The total target capacity of the auto-provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by the PayAsYouGoTargetCapacity parameter as well as the target capacity of spot instances specified by the SpotTargetCapacity parameter.
|
|
106
106
|
*
|
|
107
107
|
* @example
|
|
108
108
|
* 70
|
|
@@ -13,7 +13,7 @@ export class ModifyAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
13
13
|
instanceType?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The maximum price of
|
|
16
|
+
* The maximum price of spot instances in extended configuration N.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 3
|
|
@@ -13,6 +13,7 @@ export class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
|
13
13
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
14
14
|
*/
|
|
15
15
|
KMSKeyId?: string;
|
|
16
|
+
ownerId?: number;
|
|
16
17
|
/**
|
|
17
18
|
* @remarks
|
|
18
19
|
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
@@ -27,6 +28,7 @@ export class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
|
27
28
|
static names(): { [key: string]: string } {
|
|
28
29
|
return {
|
|
29
30
|
KMSKeyId: 'KMSKeyId',
|
|
31
|
+
ownerId: 'OwnerId',
|
|
30
32
|
regionId: 'RegionId',
|
|
31
33
|
resourceOwnerId: 'ResourceOwnerId',
|
|
32
34
|
};
|
|
@@ -35,6 +37,7 @@ export class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
|
35
37
|
static types(): { [key: string]: any } {
|
|
36
38
|
return {
|
|
37
39
|
KMSKeyId: 'string',
|
|
40
|
+
ownerId: 'number',
|
|
38
41
|
regionId: 'string',
|
|
39
42
|
resourceOwnerId: 'number',
|
|
40
43
|
};
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ResetDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
6
|
+
ownerId?: number;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The ID of the region for which you want to disable Account-level EBS Default Encryption. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
@@ -16,6 +17,7 @@ export class ResetDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
|
16
17
|
resourceOwnerId?: number;
|
|
17
18
|
static names(): { [key: string]: string } {
|
|
18
19
|
return {
|
|
20
|
+
ownerId: 'OwnerId',
|
|
19
21
|
regionId: 'RegionId',
|
|
20
22
|
resourceOwnerId: 'ResourceOwnerId',
|
|
21
23
|
};
|
|
@@ -23,6 +25,7 @@ export class ResetDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
|
23
25
|
|
|
24
26
|
static types(): { [key: string]: any } {
|
|
25
27
|
return {
|
|
28
|
+
ownerId: 'number',
|
|
26
29
|
regionId: 'string',
|
|
27
30
|
resourceOwnerId: 'number',
|
|
28
31
|
};
|