@alicloud/ecs20140526 7.9.0 → 7.9.2
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 +302 -298
- package/dist/client.js +305 -298
- package/dist/client.js.map +1 -1
- package/dist/models/AttachDiskRequest.d.ts +25 -27
- package/dist/models/AttachDiskRequest.js.map +1 -1
- package/dist/models/CancelAutoSnapshotPolicyRequest.d.ts +6 -9
- package/dist/models/CancelAutoSnapshotPolicyRequest.js.map +1 -1
- package/dist/models/CancelImagePipelineExecutionRequest.d.ts +1 -1
- package/dist/models/CloneDisksRequest.d.ts +55 -80
- package/dist/models/CloneDisksRequest.js.map +1 -1
- package/dist/models/CloneDisksResponseBody.d.ts +2 -2
- package/dist/models/CopySnapshotRequest.d.ts +17 -18
- package/dist/models/CopySnapshotRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +286 -380
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +282 -375
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateAutoSnapshotPolicyRequest.d.ts +29 -35
- package/dist/models/CreateAutoSnapshotPolicyRequest.js.map +1 -1
- package/dist/models/CreateAutoSnapshotPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateDiskRequest.d.ts +30 -30
- package/dist/models/CreateDiskResponseBody.d.ts +2 -2
- package/dist/models/CreateImageRequest.d.ts +43 -88
- package/dist/models/CreateImageRequest.js.map +1 -1
- package/dist/models/CreateImageResponseBody.d.ts +2 -2
- package/dist/models/CreateLaunchTemplateRequest.d.ts +235 -278
- package/dist/models/CreateLaunchTemplateRequest.js.map +1 -1
- package/dist/models/CreateLaunchTemplateResponseBody.d.ts +3 -3
- package/dist/models/CreateSnapshotGroupRequest.d.ts +23 -25
- package/dist/models/CreateSnapshotGroupRequest.js.map +1 -1
- package/dist/models/CreateSnapshotRequest.d.ts +24 -29
- package/dist/models/CreateSnapshotRequest.js.map +1 -1
- package/dist/models/CreateVswitchRequest.d.ts +0 -29
- package/dist/models/CreateVswitchRequest.js.map +1 -1
- package/dist/models/CreateVswitchResponseBody.d.ts +0 -8
- package/dist/models/CreateVswitchResponseBody.js.map +1 -1
- package/dist/models/DeleteSnapshotGroupRequest.d.ts +2 -2
- package/dist/models/DeleteSnapshotGroupResponseBody.d.ts +1 -1
- package/dist/models/DeleteSnapshotRequest.d.ts +2 -2
- package/dist/models/DescribeDiskDefaultKmskeyIdRequest.d.ts +1 -1
- package/dist/models/DescribeDiskDefaultKmskeyIdResponseBody.d.ts +1 -1
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.d.ts +1 -1
- package/dist/models/DescribeDiskEncryptionByDefaultStatusResponseBody.d.ts +5 -3
- package/dist/models/DescribeDiskEncryptionByDefaultStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeImagesRequest.d.ts +61 -88
- package/dist/models/DescribeImagesRequest.js +2 -0
- package/dist/models/DescribeImagesRequest.js.map +1 -1
- package/dist/models/DescribeImagesResponseBody.d.ts +6 -5
- package/dist/models/DescribeImagesResponseBody.js +2 -0
- package/dist/models/DescribeImagesResponseBody.js.map +1 -1
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +4 -4
- package/dist/models/DescribeSendFileResultsRequest.d.ts +13 -13
- package/dist/models/DescribeSnapshotGroupsRequest.d.ts +11 -11
- package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +3 -3
- package/dist/models/DisableDiskEncryptionByDefaultRequest.d.ts +1 -1
- package/dist/models/RenewElasticityAssurancesRequest.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +306 -298
- package/src/models/AttachDiskRequest.ts +25 -27
- package/src/models/CancelAutoSnapshotPolicyRequest.ts +6 -9
- package/src/models/CancelImagePipelineExecutionRequest.ts +1 -1
- package/src/models/CloneDisksRequest.ts +55 -80
- package/src/models/CloneDisksResponseBody.ts +2 -2
- package/src/models/CopySnapshotRequest.ts +17 -18
- package/src/models/CreateAutoProvisioningGroupRequest.ts +287 -381
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +283 -376
- package/src/models/CreateAutoSnapshotPolicyRequest.ts +29 -35
- package/src/models/CreateAutoSnapshotPolicyResponseBody.ts +1 -1
- package/src/models/CreateDiskRequest.ts +30 -30
- package/src/models/CreateDiskResponseBody.ts +2 -2
- package/src/models/CreateImageRequest.ts +43 -88
- package/src/models/CreateImageResponseBody.ts +2 -2
- package/src/models/CreateLaunchTemplateRequest.ts +235 -278
- package/src/models/CreateLaunchTemplateResponseBody.ts +3 -3
- package/src/models/CreateSnapshotGroupRequest.ts +23 -25
- package/src/models/CreateSnapshotRequest.ts +24 -29
- package/src/models/CreateVswitchRequest.ts +0 -29
- package/src/models/CreateVswitchResponseBody.ts +0 -8
- package/src/models/DeleteSnapshotGroupRequest.ts +2 -2
- package/src/models/DeleteSnapshotGroupResponseBody.ts +1 -1
- package/src/models/DeleteSnapshotRequest.ts +2 -2
- package/src/models/DescribeDiskDefaultKmskeyIdRequest.ts +1 -1
- package/src/models/DescribeDiskDefaultKmskeyIdResponseBody.ts +1 -1
- package/src/models/DescribeDiskEncryptionByDefaultStatusRequest.ts +1 -1
- package/src/models/DescribeDiskEncryptionByDefaultStatusResponseBody.ts +5 -3
- package/src/models/DescribeImagesRequest.ts +64 -89
- package/src/models/DescribeImagesResponseBody.ts +8 -5
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +4 -4
- package/src/models/DescribeSendFileResultsRequest.ts +13 -13
- package/src/models/DescribeSnapshotGroupsRequest.ts +11 -11
- package/src/models/DescribeSnapshotGroupsResponseBody.ts +3 -3
- package/src/models/DisableDiskEncryptionByDefaultRequest.ts +1 -1
- package/src/models/RenewElasticityAssurancesRequest.ts +3 -3
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* > This parameter is in invitational preview and is not
|
|
5
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 123456789012****
|
|
@@ -10,7 +10,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
10
10
|
assumeRoleFor?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* > This parameter is in invitational preview and is not
|
|
13
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 34458433936495****:alice
|
|
@@ -18,7 +18,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
18
18
|
roleType?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* > This parameter is in invitational preview and is not
|
|
21
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* acs:ram::123456789012****:role/adminrole
|
|
@@ -38,11 +38,10 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
38
38
|
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The automatic snapshot policy
|
|
41
|
+
* The ID of the automatic snapshot policy applied to the data disk.
|
|
42
42
|
*
|
|
43
43
|
* Note:
|
|
44
|
-
*
|
|
45
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
44
|
+
* - This parameter takes effect only when you create a one-time synchronous delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
46
45
|
*
|
|
47
46
|
* @example
|
|
48
47
|
* sp-bp67acfmxazb4p****
|
|
@@ -50,13 +49,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
50
49
|
autoSnapshotPolicyId?: string;
|
|
51
50
|
/**
|
|
52
51
|
* @remarks
|
|
53
|
-
* Specifies whether to enable performance burst. Valid values:
|
|
54
|
-
*
|
|
55
|
-
* - true: Enables performance burst.
|
|
52
|
+
* Specifies whether to enable the performance burst feature. Valid values:
|
|
56
53
|
*
|
|
57
|
-
* -
|
|
54
|
+
* - true: enables the feature.
|
|
55
|
+
* - false: disables the feature.
|
|
58
56
|
*
|
|
59
|
-
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
57
|
+
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
60
58
|
*
|
|
61
59
|
* @example
|
|
62
60
|
* false
|
|
@@ -64,19 +62,16 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
64
62
|
burstingEnabled?: boolean;
|
|
65
63
|
/**
|
|
66
64
|
* @remarks
|
|
67
|
-
* The category of data disk N.
|
|
68
|
-
*
|
|
69
|
-
* - cloud_efficiency: Ultra disk.
|
|
65
|
+
* The category of data disk N. Valid values of N: 1 to 16. Valid values:
|
|
70
66
|
*
|
|
71
|
-
* -
|
|
72
|
-
*
|
|
73
|
-
* - cloud_essd: ESSD.
|
|
74
|
-
*
|
|
75
|
-
* - cloud: Basic disk.
|
|
67
|
+
* - cloud_efficiency: ultra disk.
|
|
68
|
+
* - cloud_ssd: standard SSD.
|
|
69
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
70
|
+
* - cloud: basic disk.
|
|
76
71
|
*
|
|
77
72
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
78
73
|
*
|
|
79
|
-
*
|
|
74
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
80
75
|
*
|
|
81
76
|
* @example
|
|
82
77
|
* cloud_ssd
|
|
@@ -84,15 +79,13 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
84
79
|
category?: string;
|
|
85
80
|
/**
|
|
86
81
|
* @remarks
|
|
87
|
-
* Specifies whether
|
|
88
|
-
*
|
|
89
|
-
* -
|
|
90
|
-
*
|
|
91
|
-
* - false: Does not release the data disk with the instance.
|
|
82
|
+
* Specifies whether the data disk is released when the instance is released. Valid values:
|
|
83
|
+
* - true: the data disk is released when the instance is released.
|
|
84
|
+
* - false: the data disk is not released when the instance is released.
|
|
92
85
|
*
|
|
93
86
|
* Default value: true.
|
|
94
87
|
*
|
|
95
|
-
*
|
|
88
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
96
89
|
*
|
|
97
90
|
* @example
|
|
98
91
|
* true
|
|
@@ -100,7 +93,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
100
93
|
deleteWithInstance?: boolean;
|
|
101
94
|
/**
|
|
102
95
|
* @remarks
|
|
103
|
-
* The description of the data disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
96
|
+
* The description of the data disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
104
97
|
*
|
|
105
98
|
* @example
|
|
106
99
|
* DataDisk_Description
|
|
@@ -108,7 +101,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
108
101
|
description?: string;
|
|
109
102
|
/**
|
|
110
103
|
* @remarks
|
|
111
|
-
* The mount point of the data disk.
|
|
104
|
+
* The mount point of the data disk. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
112
105
|
*
|
|
113
106
|
* @example
|
|
114
107
|
* /dev/vd1
|
|
@@ -116,11 +109,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
116
109
|
device?: string;
|
|
117
110
|
/**
|
|
118
111
|
* @remarks
|
|
119
|
-
* The name of the data disk. The name must be 2 to 128 characters in length and can contain
|
|
112
|
+
* The name of the data disk. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with `http://` or `https://`. It can contain digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
120
113
|
*
|
|
121
114
|
* Default value: empty.
|
|
122
115
|
*
|
|
123
|
-
*
|
|
116
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
124
117
|
*
|
|
125
118
|
* @example
|
|
126
119
|
* cloud_ssdData
|
|
@@ -128,7 +121,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
128
121
|
diskName?: string;
|
|
129
122
|
/**
|
|
130
123
|
* @remarks
|
|
131
|
-
* > This parameter is not
|
|
124
|
+
* > This parameter is not publicly available.
|
|
132
125
|
*
|
|
133
126
|
* @example
|
|
134
127
|
* null
|
|
@@ -136,15 +129,14 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
136
129
|
encryptAlgorithm?: string;
|
|
137
130
|
/**
|
|
138
131
|
* @remarks
|
|
139
|
-
* Specifies whether
|
|
140
|
-
*
|
|
141
|
-
* - true: Encrypts the disk.
|
|
132
|
+
* Specifies whether data disk N is encrypted. Valid values:
|
|
142
133
|
*
|
|
143
|
-
* -
|
|
134
|
+
* - true: encrypted.
|
|
135
|
+
* - false: not encrypted.
|
|
144
136
|
*
|
|
145
137
|
* Default value: false.
|
|
146
138
|
*
|
|
147
|
-
*
|
|
139
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
148
140
|
*
|
|
149
141
|
* @example
|
|
150
142
|
* false
|
|
@@ -152,7 +144,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
152
144
|
encrypted?: boolean;
|
|
153
145
|
/**
|
|
154
146
|
* @remarks
|
|
155
|
-
* The KMS key
|
|
147
|
+
* The ID of the KMS key for the data disk. If both a launch template and launch configuration are specified, the launch template takes precedence.
|
|
156
148
|
*
|
|
157
149
|
* @example
|
|
158
150
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -160,19 +152,16 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
160
152
|
kmsKeyId?: string;
|
|
161
153
|
/**
|
|
162
154
|
* @remarks
|
|
163
|
-
* The performance level of the
|
|
164
|
-
*
|
|
165
|
-
* - PL0: Up to 10,000 random read/write IOPS per disk.
|
|
155
|
+
* The performance level of the enterprise SSD used as a data disk. The value of N must be consistent with the N in `LaunchConfiguration.DataDisk.N.Category`. Valid values:
|
|
166
156
|
*
|
|
167
|
-
* -
|
|
157
|
+
* - PL0: a single disk can deliver up to 10,000 random read/write IOPS.
|
|
158
|
+
* - PL1 (default): a single disk can deliver up to 50,000 random read/write IOPS.
|
|
159
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
160
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
168
161
|
*
|
|
169
|
-
*
|
|
162
|
+
* For information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
170
163
|
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
* For more information about selecting ESSD performance levels, see [ESSD](https://help.aliyun.com/document_detail/122389.html).
|
|
174
|
-
*
|
|
175
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
164
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
176
165
|
*
|
|
177
166
|
* @example
|
|
178
167
|
* PL1
|
|
@@ -180,11 +169,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
180
169
|
performanceLevel?: string;
|
|
181
170
|
/**
|
|
182
171
|
* @remarks
|
|
183
|
-
* The provisioned read/write IOPS
|
|
172
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}.
|
|
184
173
|
*
|
|
185
174
|
* Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
186
175
|
*
|
|
187
|
-
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
176
|
+
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
188
177
|
*
|
|
189
178
|
* @example
|
|
190
179
|
* 40000
|
|
@@ -192,27 +181,20 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
192
181
|
provisionedIops?: number;
|
|
193
182
|
/**
|
|
194
183
|
* @remarks
|
|
195
|
-
* The size of data disk N
|
|
196
|
-
*
|
|
197
|
-
* - cloud_efficiency: 20–32768.
|
|
184
|
+
* The size of data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:
|
|
198
185
|
*
|
|
199
|
-
* -
|
|
186
|
+
* - cloud_efficiency: 20 to 32768.
|
|
187
|
+
* - cloud_ssd: 20 to 32768.
|
|
188
|
+
* - cloud_essd: depends on the value of `LaunchConfiguration.DataDisk.N.PerformanceLevel`.
|
|
189
|
+
* - PL0: 40 to 32768.
|
|
190
|
+
* - PL1: 20 to 32768.
|
|
191
|
+
* - PL2: 461 to 32768.
|
|
192
|
+
* - PL3: 1261 to 32768.
|
|
193
|
+
* - cloud: 5 to 2000.
|
|
200
194
|
*
|
|
201
|
-
*
|
|
195
|
+
* > The value of this parameter must be greater than or equal to the size of the snapshot specified by `LaunchConfiguration.DataDisk.N.SnapshotId`.
|
|
202
196
|
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* - PL1: 20–32768.
|
|
206
|
-
*
|
|
207
|
-
* - PL2: 461–32768.
|
|
208
|
-
*
|
|
209
|
-
* - PL3: 1261–32768
|
|
210
|
-
*
|
|
211
|
-
* - cloud: 5–2000.
|
|
212
|
-
*
|
|
213
|
-
* > The value must be greater than or equal to the size of the snapshot specified by `LaunchConfiguration.DataDisk.N.SnapshotId`.
|
|
214
|
-
*
|
|
215
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
197
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
216
198
|
*
|
|
217
199
|
* @example
|
|
218
200
|
* 20
|
|
@@ -220,11 +202,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
220
202
|
size?: number;
|
|
221
203
|
/**
|
|
222
204
|
* @remarks
|
|
223
|
-
* The snapshot used to create data disk N.
|
|
205
|
+
* The ID of the snapshot used to create data disk N. Valid values of N: 1 to 16.
|
|
224
206
|
*
|
|
225
|
-
* After this parameter
|
|
207
|
+
* After you specify this parameter, the `LaunchConfiguration.DataDisk.N.Size` parameter is ignored. The actual size of the created disk is the size of the specified snapshot. Snapshots created on or before July 15, 2013 cannot be used. Requests that use such snapshots are rejected.
|
|
226
208
|
*
|
|
227
|
-
*
|
|
209
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
228
210
|
*
|
|
229
211
|
* @example
|
|
230
212
|
* s-bp17441ohwka0yuh****
|
|
@@ -244,11 +226,10 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
244
226
|
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk extends $dara.Model {
|
|
245
227
|
/**
|
|
246
228
|
* @remarks
|
|
247
|
-
* The automatic snapshot policy
|
|
229
|
+
* The ID of the automatic snapshot policy to apply to the system disk.
|
|
248
230
|
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
231
|
+
* After you set this parameter, note the following items:
|
|
232
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
252
233
|
*
|
|
253
234
|
* @example
|
|
254
235
|
* sp-bp67acfmxazb4p****
|
|
@@ -256,13 +237,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
256
237
|
autoSnapshotPolicyId?: string;
|
|
257
238
|
/**
|
|
258
239
|
* @remarks
|
|
259
|
-
* Specifies whether to enable performance burst. Valid values:
|
|
260
|
-
*
|
|
261
|
-
* - true: Enables performance burst.
|
|
240
|
+
* Specifies whether to enable the performance burst feature. Valid values:
|
|
262
241
|
*
|
|
263
|
-
* -
|
|
242
|
+
* - true: enables the feature.
|
|
243
|
+
* - false: does not enable the feature.
|
|
264
244
|
*
|
|
265
|
-
* > This parameter is supported only when `SystemDisk.Category` is set to `cloud_auto`. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
245
|
+
* > This parameter is supported only when `SystemDisk.Category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disk](https://help.aliyun.com/document_detail/368372.html).
|
|
266
246
|
*
|
|
267
247
|
* @example
|
|
268
248
|
* false
|
|
@@ -272,15 +252,14 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
272
252
|
* @remarks
|
|
273
253
|
* The encryption algorithm for the system disk. Valid values:
|
|
274
254
|
*
|
|
275
|
-
* - aes-256
|
|
276
|
-
*
|
|
277
|
-
* - sm4-128.
|
|
255
|
+
* - aes-256
|
|
256
|
+
* - sm4-128
|
|
278
257
|
*
|
|
279
258
|
* Default value: aes-256.
|
|
280
259
|
*
|
|
281
|
-
*
|
|
260
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
282
261
|
*
|
|
283
|
-
* > This parameter is not
|
|
262
|
+
* > This parameter is not publicly available.
|
|
284
263
|
*
|
|
285
264
|
* @example
|
|
286
265
|
* aes-256
|
|
@@ -288,15 +267,15 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
288
267
|
encryptAlgorithm?: string;
|
|
289
268
|
/**
|
|
290
269
|
* @remarks
|
|
291
|
-
* Specifies whether
|
|
270
|
+
* Specifies whether the system disk is encrypted. Valid values:
|
|
292
271
|
*
|
|
293
|
-
* - true:
|
|
272
|
+
* - true: encrypted.
|
|
294
273
|
*
|
|
295
|
-
* - false:
|
|
274
|
+
* - false: not encrypted.
|
|
296
275
|
*
|
|
297
276
|
* Default value: false.
|
|
298
277
|
*
|
|
299
|
-
*
|
|
278
|
+
* If you specify both.
|
|
300
279
|
*
|
|
301
280
|
* @example
|
|
302
281
|
* false
|
|
@@ -304,9 +283,9 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
304
283
|
encrypted?: string;
|
|
305
284
|
/**
|
|
306
285
|
* @remarks
|
|
307
|
-
* The KMS key ID
|
|
286
|
+
* The KMS key ID of the system disk.
|
|
308
287
|
*
|
|
309
|
-
* When both a launch template and launch configuration
|
|
288
|
+
* When both a launch template and launch configuration information are specified, the launch template takes precedence.
|
|
310
289
|
*
|
|
311
290
|
* @example
|
|
312
291
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -314,11 +293,10 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
314
293
|
KMSKeyId?: string;
|
|
315
294
|
/**
|
|
316
295
|
* @remarks
|
|
317
|
-
* The provisioned read/write IOPS
|
|
318
|
-
*
|
|
319
|
-
* Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
296
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}.
|
|
320
297
|
*
|
|
321
|
-
*
|
|
298
|
+
* Baseline performance = min{1,800 + 50 × Capacity, 50,000}.
|
|
299
|
+
* > This parameter is supported only when SystemDisk.Category is set to cloud_auto. For more information, see [ESSD AutoPL disk](https://help.aliyun.com/document_detail/368372.html).
|
|
322
300
|
*
|
|
323
301
|
* @example
|
|
324
302
|
* 40000
|
|
@@ -338,7 +316,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
338
316
|
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag extends $dara.Model {
|
|
339
317
|
/**
|
|
340
318
|
* @remarks
|
|
341
|
-
* The tag key of the instance.
|
|
319
|
+
* The tag key of the instance. Valid values of N: 1 to 20. The tag key cannot be an empty string. It can be up to 128 characters in length and cannot start with aliyun or acs:. It cannot contain `http://` or `https://`. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
342
320
|
*
|
|
343
321
|
* @example
|
|
344
322
|
* TestKey
|
|
@@ -346,7 +324,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
346
324
|
key?: string;
|
|
347
325
|
/**
|
|
348
326
|
* @remarks
|
|
349
|
-
* The tag value of the instance.
|
|
327
|
+
* The tag value of the instance. Valid values of N: 1 to 20. The tag value can be an empty string. It can be up to 128 characters in length and cannot start with acs:. It cannot contain `http://` or `https://`. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
350
328
|
*
|
|
351
329
|
* @example
|
|
352
330
|
* TestValue
|
|
@@ -368,7 +346,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
368
346
|
* @remarks
|
|
369
347
|
* The number of CPU cores.
|
|
370
348
|
*
|
|
371
|
-
* Default value:
|
|
349
|
+
* Default value: see [Specify and view CPU options](https://www.alibabacloud.com/help/en/ecs/user-guide/specify-and-view-cpu-options).
|
|
372
350
|
*
|
|
373
351
|
* @example
|
|
374
352
|
* 2
|
|
@@ -376,13 +354,13 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
376
354
|
core?: number;
|
|
377
355
|
/**
|
|
378
356
|
* @remarks
|
|
379
|
-
* The number of CPU
|
|
357
|
+
* The number of threads per CPU core. The number of vCPUs of the ECS instance = CpuOptions.Core value × CpuOptions.ThreadsPerCore value.
|
|
380
358
|
*
|
|
381
|
-
* CpuOptions.ThreadsPerCore
|
|
359
|
+
* If CpuOptions.ThreadsPerCore is set to 1, CPU hyper-threading is disabled.
|
|
382
360
|
*
|
|
383
|
-
* Only specific instance types support
|
|
361
|
+
* Only specific instance types support custom CPU thread counts.
|
|
384
362
|
*
|
|
385
|
-
*
|
|
363
|
+
* For valid values and default values, see [Specify and view CPU options](https://www.alibabacloud.com/help/en/ecs/user-guide/specify-and-view-cpu-options).
|
|
386
364
|
*
|
|
387
365
|
* @example
|
|
388
366
|
* 2
|
|
@@ -402,11 +380,9 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
402
380
|
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
403
381
|
/**
|
|
404
382
|
* @remarks
|
|
405
|
-
* Specifies whether
|
|
406
|
-
*
|
|
407
|
-
* -
|
|
408
|
-
*
|
|
409
|
-
* - false: Not supported.
|
|
383
|
+
* Specifies whether the instance that uses this image supports logon as the ecs-user user. Valid values:
|
|
384
|
+
* - true: supported.
|
|
385
|
+
* - false: not supported.
|
|
410
386
|
*
|
|
411
387
|
* @example
|
|
412
388
|
* false
|
|
@@ -453,18 +429,18 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
453
429
|
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends $dara.Model {
|
|
454
430
|
/**
|
|
455
431
|
* @remarks
|
|
456
|
-
* > This parameter is in invitational preview and is not
|
|
432
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
457
433
|
*/
|
|
458
434
|
arn?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn[];
|
|
459
435
|
/**
|
|
460
436
|
* @remarks
|
|
461
|
-
* The automatic release time
|
|
437
|
+
* The automatic release time of the pay-as-you-go instance. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
|
|
462
438
|
*
|
|
463
|
-
* - If seconds (`ss`)
|
|
439
|
+
* - If the value of seconds (`ss`) is not `00`, the time is automatically rounded down to the start of the current minute (`mm`).
|
|
464
440
|
*
|
|
465
441
|
* - The earliest release time is 30 minutes after the current time.
|
|
466
442
|
*
|
|
467
|
-
* - The latest release time cannot
|
|
443
|
+
* - The latest release time cannot be more than three years from the current time.
|
|
468
444
|
*
|
|
469
445
|
* @example
|
|
470
446
|
* 2018-01-01T12:05:00Z
|
|
@@ -472,15 +448,14 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
472
448
|
autoReleaseTime?: string;
|
|
473
449
|
/**
|
|
474
450
|
* @remarks
|
|
475
|
-
* The running mode of burstable
|
|
451
|
+
* The running mode of the burstable instance. Valid values:
|
|
476
452
|
*
|
|
477
|
-
* - Standard:
|
|
453
|
+
* - Standard: standard mode. For more information about instance performance, see the performance constrained mode section in [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
454
|
+
* - Unlimited: unlimited mode. For more information about instance performance, see the unlimited mode section in [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
478
455
|
*
|
|
479
|
-
*
|
|
456
|
+
* Default value: none.
|
|
480
457
|
*
|
|
481
|
-
*
|
|
482
|
-
*
|
|
483
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
458
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
484
459
|
*
|
|
485
460
|
* @example
|
|
486
461
|
* Standard
|
|
@@ -488,12 +463,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
488
463
|
creditSpecification?: string;
|
|
489
464
|
/**
|
|
490
465
|
* @remarks
|
|
491
|
-
* The list of data disk configurations
|
|
466
|
+
* The list of data disk configurations in the launch configuration.
|
|
492
467
|
*/
|
|
493
468
|
dataDisk?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk[];
|
|
494
469
|
/**
|
|
495
470
|
* @remarks
|
|
496
|
-
* The deployment set
|
|
471
|
+
* The ID of the deployment set.
|
|
497
472
|
*
|
|
498
473
|
* @example
|
|
499
474
|
* ds-bp1frxuzdg87zh4p****
|
|
@@ -501,17 +476,13 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
501
476
|
deploymentSetId?: string;
|
|
502
477
|
/**
|
|
503
478
|
* @remarks
|
|
504
|
-
* The hostname of the instance.
|
|
505
|
-
*
|
|
506
|
-
* - Periods (.) and hyphens (-) cannot be the first or last character and cannot appear consecutively.
|
|
507
|
-
*
|
|
508
|
-
* - Windows instances: 2–15 characters. Periods (.) are not supported. Cannot consist of only digits. Can contain letters, digits, and hyphens (-).
|
|
479
|
+
* The hostname of the instance. The following limits apply:
|
|
509
480
|
*
|
|
510
|
-
* -
|
|
511
|
-
*
|
|
512
|
-
* -
|
|
513
|
-
*
|
|
514
|
-
* -
|
|
481
|
+
* - Periods (.) and hyphens (-) cannot be used as the first or last characters and cannot be used consecutively.
|
|
482
|
+
* - Windows instances: The hostname must be 2 to 15 characters in length and cannot contain periods (.) or consist entirely of digits. It can contain letters, digits, and hyphens (-).
|
|
483
|
+
* - Instances of other types (such as Linux): The hostname must be 2 to 64 characters in length and can contain multiple periods (.). Each segment between periods can contain letters, digits, and hyphens (-).
|
|
484
|
+
* - You cannot specify both `LaunchConfiguration.HostName` and `LaunchConfiguration.HostNames.N`. Otherwise, an error is returned.
|
|
485
|
+
* - If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
515
486
|
*
|
|
516
487
|
* @example
|
|
517
488
|
* k8s-node-[1,4]-ecshost
|
|
@@ -519,15 +490,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
519
490
|
hostName?: string;
|
|
520
491
|
/**
|
|
521
492
|
* @remarks
|
|
522
|
-
* The list of hostnames for one or more instances.
|
|
523
|
-
*
|
|
524
|
-
* - This parameter takes effect only when creating an auto provisioning group with `AutoProvisioningGroupType=instant`.
|
|
493
|
+
* The list of hostnames for one or more instances. The following limits apply:
|
|
525
494
|
*
|
|
526
|
-
* -
|
|
527
|
-
*
|
|
528
|
-
* - Periods (.) and hyphens (-) cannot be the first or last
|
|
529
|
-
*
|
|
530
|
-
* - When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
495
|
+
* - This parameter takes effect only when you create a one-time synchronous delivery auto provisioning group (`AutoProvisioningGroupType=instant`).
|
|
496
|
+
* - N indicates the number of instances. Valid values of N: 1 to 1000. The value must be consistent with the TotalTargetCapacity parameter.
|
|
497
|
+
* - Periods (.) and hyphens (-) cannot be used as the first or last characters and cannot be used consecutively.
|
|
498
|
+
* - If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
531
499
|
*
|
|
532
500
|
* @example
|
|
533
501
|
* ecs-host-01
|
|
@@ -535,7 +503,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
535
503
|
hostNames?: string[];
|
|
536
504
|
/**
|
|
537
505
|
* @remarks
|
|
538
|
-
* The image family
|
|
506
|
+
* The name of the image family. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `aliyun` or `acs:`. The name cannot contain `http://` or `https://`. The name can contain digits, colons (:), underscores (_), or hyphens (-).
|
|
539
507
|
*
|
|
540
508
|
* @example
|
|
541
509
|
* hangzhou-daily-update
|
|
@@ -543,7 +511,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
543
511
|
imageFamily?: string;
|
|
544
512
|
/**
|
|
545
513
|
* @remarks
|
|
546
|
-
* The
|
|
514
|
+
* The ID of the image used to launch instances. You can call [DescribeImages](https://help.aliyun.com/document_detail/25534.html) to query available image resources. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
547
515
|
*
|
|
548
516
|
* @example
|
|
549
517
|
* m-bp1g7004ksh0oeuc****
|
|
@@ -551,7 +519,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
551
519
|
imageId?: string;
|
|
552
520
|
/**
|
|
553
521
|
* @remarks
|
|
554
|
-
* The instance
|
|
522
|
+
* The description of the instance. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
555
523
|
*
|
|
556
524
|
* @example
|
|
557
525
|
* Instance_Description
|
|
@@ -559,13 +527,13 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
559
527
|
instanceDescription?: string;
|
|
560
528
|
/**
|
|
561
529
|
* @remarks
|
|
562
|
-
* The instance
|
|
530
|
+
* The name of the instance. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with `http://` or `https://`. It can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
563
531
|
*
|
|
564
|
-
* Default value:
|
|
532
|
+
* Default value: the `InstanceId` of the instance.
|
|
565
533
|
*
|
|
566
|
-
*
|
|
534
|
+
* When you create multiple ECS instances, you can batch configure sequential instance names. For more information, see [Batch configure sequential names or hostnames for multiple instances](https://help.aliyun.com/document_detail/196048.html).
|
|
567
535
|
*
|
|
568
|
-
*
|
|
536
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
569
537
|
*
|
|
570
538
|
* @example
|
|
571
539
|
* k8s-node-[1,4]-alibabacloud
|
|
@@ -573,15 +541,14 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
573
541
|
instanceName?: string;
|
|
574
542
|
/**
|
|
575
543
|
* @remarks
|
|
576
|
-
* The network
|
|
577
|
-
*
|
|
578
|
-
* - PayByBandwidth: Pay-by-bandwidth.
|
|
544
|
+
* The billing method for network usage. Valid values:
|
|
579
545
|
*
|
|
580
|
-
* -
|
|
546
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
547
|
+
* - PayByTraffic: pay-by-traffic.
|
|
581
548
|
*
|
|
582
|
-
* >
|
|
549
|
+
* > In pay-by-traffic mode, the peak inbound and outbound bandwidths are used as upper limits of bandwidths instead of guaranteed performance metrics. When resources are contended, the peak bandwidths may be limited. If you require guaranteed bandwidth, use pay-by-bandwidth.
|
|
583
550
|
*
|
|
584
|
-
*
|
|
551
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
585
552
|
*
|
|
586
553
|
* @example
|
|
587
554
|
* PayByTraffic
|
|
@@ -589,13 +556,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
589
556
|
internetChargeType?: string;
|
|
590
557
|
/**
|
|
591
558
|
* @remarks
|
|
592
|
-
* The maximum inbound public bandwidth
|
|
559
|
+
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
593
560
|
*
|
|
594
|
-
* -
|
|
561
|
+
* - If the maximum outbound public bandwidth is less than or equal to 10 Mbit/s: 1 to 10. Default value: 10.
|
|
562
|
+
* - If the maximum outbound public bandwidth is greater than 10 Mbit/s: 1 to the value of `LaunchConfiguration.InternetMaxBandwidthOut`. Default value: the value of `LaunchConfiguration.InternetMaxBandwidthOut`.
|
|
595
563
|
*
|
|
596
|
-
*
|
|
597
|
-
*
|
|
598
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
564
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
599
565
|
*
|
|
600
566
|
* @example
|
|
601
567
|
* 10
|
|
@@ -603,11 +569,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
603
569
|
internetMaxBandwidthIn?: number;
|
|
604
570
|
/**
|
|
605
571
|
* @remarks
|
|
606
|
-
* The maximum outbound public bandwidth
|
|
572
|
+
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
607
573
|
*
|
|
608
574
|
* Default value: 0.
|
|
609
575
|
*
|
|
610
|
-
*
|
|
576
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
611
577
|
*
|
|
612
578
|
* @example
|
|
613
579
|
* 10
|
|
@@ -615,15 +581,14 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
615
581
|
internetMaxBandwidthOut?: number;
|
|
616
582
|
/**
|
|
617
583
|
* @remarks
|
|
618
|
-
* Specifies whether the instance is I/O optimized. Valid values:
|
|
619
|
-
*
|
|
620
|
-
* - none: Not I/O optimized.
|
|
584
|
+
* Specifies whether the instance is an I/O optimized instance. Valid values:
|
|
621
585
|
*
|
|
622
|
-
* -
|
|
586
|
+
* - none: non-I/O optimization.
|
|
587
|
+
* - optimized: I/O optimization.
|
|
623
588
|
*
|
|
624
589
|
* For retired instance types, the default value is none. For other instance types, the default value is optimized.
|
|
625
590
|
*
|
|
626
|
-
*
|
|
591
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
627
592
|
*
|
|
628
593
|
* @example
|
|
629
594
|
* optimized
|
|
@@ -631,13 +596,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
631
596
|
ioOptimized?: string;
|
|
632
597
|
/**
|
|
633
598
|
* @remarks
|
|
634
|
-
* The key pair
|
|
635
|
-
*
|
|
636
|
-
* - For Windows instances, this parameter is ignored. Default value: empty.
|
|
599
|
+
* The name of the key pair.
|
|
637
600
|
*
|
|
638
|
-
* -
|
|
601
|
+
* - For Windows instances, this parameter is ignored and is empty by default.
|
|
602
|
+
* - For Linux instances, password-based logon is disabled during initialization.
|
|
639
603
|
*
|
|
640
|
-
*
|
|
604
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
641
605
|
*
|
|
642
606
|
* @example
|
|
643
607
|
* KeyPair_Name
|
|
@@ -645,13 +609,13 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
645
609
|
keyPairName?: string;
|
|
646
610
|
/**
|
|
647
611
|
* @remarks
|
|
648
|
-
* The instance
|
|
612
|
+
* The password of the instance. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The following special characters are supported:
|
|
649
613
|
*
|
|
650
614
|
* ``()`~!@#$%^&*-_+=|{}`[]`:;\\"<>,.?/``
|
|
651
615
|
*
|
|
652
616
|
* For Windows instances, the password cannot start with a forward slash (/).
|
|
653
617
|
*
|
|
654
|
-
*
|
|
618
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
655
619
|
*
|
|
656
620
|
* @example
|
|
657
621
|
* EcsV587!
|
|
@@ -661,11 +625,10 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
661
625
|
* @remarks
|
|
662
626
|
* Specifies whether to use the password preset in the image. Valid values:
|
|
663
627
|
*
|
|
664
|
-
* - true:
|
|
628
|
+
* - true: uses the preset password.
|
|
629
|
+
* - false: does not use the preset password.
|
|
665
630
|
*
|
|
666
|
-
*
|
|
667
|
-
*
|
|
668
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
631
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
669
632
|
*
|
|
670
633
|
* @example
|
|
671
634
|
* true
|
|
@@ -673,7 +636,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
673
636
|
passwordInherit?: boolean;
|
|
674
637
|
/**
|
|
675
638
|
* @remarks
|
|
676
|
-
* The
|
|
639
|
+
* The name of the instance RAM role. You can call the RAM API [ListRoles](https://help.aliyun.com/document_detail/28713.html) to query the instance RAM roles that you have created. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
677
640
|
*
|
|
678
641
|
* @example
|
|
679
642
|
* RAM_Name
|
|
@@ -681,7 +644,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
681
644
|
ramRoleName?: string;
|
|
682
645
|
/**
|
|
683
646
|
* @remarks
|
|
684
|
-
* The resource group
|
|
647
|
+
* The ID of the resource group to which the instance belongs. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
685
648
|
*
|
|
686
649
|
* @example
|
|
687
650
|
* rg-bp67acfmxazb4p****
|
|
@@ -691,11 +654,10 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
691
654
|
* @remarks
|
|
692
655
|
* Specifies whether to enable security hardening. Valid values:
|
|
693
656
|
*
|
|
694
|
-
* -
|
|
695
|
-
*
|
|
696
|
-
* - Deactive: Disables security hardening. Applies to all image types.
|
|
657
|
+
* - Active: enables security hardening. This value is applicable only to public images.
|
|
658
|
+
* - Deactive: disables security hardening. This value is applicable to all image types.
|
|
697
659
|
*
|
|
698
|
-
*
|
|
660
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
699
661
|
*
|
|
700
662
|
* @example
|
|
701
663
|
* Active
|
|
@@ -703,7 +665,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
703
665
|
securityEnhancementStrategy?: string;
|
|
704
666
|
/**
|
|
705
667
|
* @remarks
|
|
706
|
-
* The security group
|
|
668
|
+
* The ID of the security group to which the instance belongs. If both a launch template and launch configuration information are specified, the launch template takes precedence.
|
|
707
669
|
*
|
|
708
670
|
* @example
|
|
709
671
|
* sg-bp15ed6xe1yxeycg****
|
|
@@ -716,24 +678,21 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
716
678
|
securityGroupIds?: string[];
|
|
717
679
|
/**
|
|
718
680
|
* @remarks
|
|
719
|
-
*
|
|
681
|
+
* The system disk information of the instance. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
720
682
|
*/
|
|
721
683
|
systemDisk?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk;
|
|
722
684
|
/**
|
|
723
685
|
* @remarks
|
|
724
686
|
* The category of the system disk. Valid values:
|
|
725
687
|
*
|
|
726
|
-
* -
|
|
727
|
-
*
|
|
728
|
-
* -
|
|
688
|
+
* - cloud_efficiency: ultra disk.
|
|
689
|
+
* - cloud_ssd: standard SSD.
|
|
690
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
691
|
+
* - cloud: basic disk.
|
|
729
692
|
*
|
|
730
|
-
* -
|
|
693
|
+
* For retired instance types that are non-I/O optimization instances, the default value is cloud. For other instance types, the default value is cloud_efficiency.
|
|
731
694
|
*
|
|
732
|
-
*
|
|
733
|
-
*
|
|
734
|
-
* For retired instance types that are not I/O optimized, the default value is cloud. Otherwise, the default value is cloud_efficiency.
|
|
735
|
-
*
|
|
736
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
695
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
737
696
|
*
|
|
738
697
|
* @example
|
|
739
698
|
* cloud_ssd
|
|
@@ -743,7 +702,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
743
702
|
* @remarks
|
|
744
703
|
* The description of the system disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
745
704
|
*
|
|
746
|
-
*
|
|
705
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
747
706
|
*
|
|
748
707
|
* @example
|
|
749
708
|
* SystemDisk_Description
|
|
@@ -751,11 +710,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
751
710
|
systemDiskDescription?: string;
|
|
752
711
|
/**
|
|
753
712
|
* @remarks
|
|
754
|
-
* The name of the system disk. The name must be 2 to 128 characters in length and can contain
|
|
713
|
+
* The name of the system disk. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with `http://` or `https://`. It can contain digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
755
714
|
*
|
|
756
715
|
* Default value: empty.
|
|
757
716
|
*
|
|
758
|
-
*
|
|
717
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
759
718
|
*
|
|
760
719
|
* @example
|
|
761
720
|
* cloud_ssdSystem
|
|
@@ -763,19 +722,16 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
763
722
|
systemDiskName?: string;
|
|
764
723
|
/**
|
|
765
724
|
* @remarks
|
|
766
|
-
* The performance level of the
|
|
767
|
-
*
|
|
768
|
-
* - PL0 (default): Up to 10,000 random read/write IOPS per disk.
|
|
769
|
-
*
|
|
770
|
-
* - PL1: Up to 50,000 random read/write IOPS per disk.
|
|
771
|
-
*
|
|
772
|
-
* - PL2: Up to 100,000 random read/write IOPS per disk.
|
|
725
|
+
* The performance level (PL) of the enterprise SSD used as the system disk. Valid values:
|
|
773
726
|
*
|
|
774
|
-
* -
|
|
727
|
+
* - PL0 (default): a single disk can deliver up to 10,000 random read/write IOPS.
|
|
728
|
+
* - PL1: a single disk can deliver up to 50,000 random read/write IOPS.
|
|
729
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
730
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
775
731
|
*
|
|
776
|
-
* For
|
|
732
|
+
* For information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
777
733
|
*
|
|
778
|
-
*
|
|
734
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
779
735
|
*
|
|
780
736
|
* @example
|
|
781
737
|
* PL0
|
|
@@ -783,11 +739,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
783
739
|
systemDiskPerformanceLevel?: string;
|
|
784
740
|
/**
|
|
785
741
|
* @remarks
|
|
786
|
-
* The size of the system disk
|
|
742
|
+
* The size of the system disk. Unit: GiB. Valid values: 20 to 500. The value of this parameter must be greater than or equal to max{20, size of the image specified by LaunchConfiguration.ImageId}.
|
|
787
743
|
*
|
|
788
744
|
* Default value: max{40, size of the image specified by LaunchConfiguration.ImageId}.
|
|
789
745
|
*
|
|
790
|
-
*
|
|
746
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
791
747
|
*
|
|
792
748
|
* @example
|
|
793
749
|
* 40
|
|
@@ -795,12 +751,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
795
751
|
systemDiskSize?: number;
|
|
796
752
|
/**
|
|
797
753
|
* @remarks
|
|
798
|
-
* The list of tags
|
|
754
|
+
* The list of tags in the launch configuration.
|
|
799
755
|
*/
|
|
800
756
|
tag?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag[];
|
|
801
757
|
/**
|
|
802
758
|
* @remarks
|
|
803
|
-
*
|
|
759
|
+
* Instance user data of the instance. Instance user data must be Base64-encoded. The maximum size of the raw data is 32 KB. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
804
760
|
*
|
|
805
761
|
* @example
|
|
806
762
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
@@ -808,11 +764,10 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
808
764
|
userData?: string;
|
|
809
765
|
/**
|
|
810
766
|
* @remarks
|
|
811
|
-
* Specifies whether to enable auto-renewal.
|
|
767
|
+
* Specifies whether to enable auto-renewal. This parameter takes effect when you create subscription instances. Valid values:
|
|
812
768
|
*
|
|
813
|
-
* - true:
|
|
814
|
-
*
|
|
815
|
-
* - false (default): Disables auto-renewal.
|
|
769
|
+
* - true: enables auto-renewal.
|
|
770
|
+
* - false (default): does not enable auto-renewal.
|
|
816
771
|
*
|
|
817
772
|
* @example
|
|
818
773
|
* true
|
|
@@ -820,21 +775,15 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
820
775
|
autoRenew?: boolean;
|
|
821
776
|
/**
|
|
822
777
|
* @remarks
|
|
823
|
-
* The auto-renewal
|
|
778
|
+
* The auto-renewal period. Valid values:
|
|
824
779
|
*
|
|
825
780
|
* <props="china">
|
|
781
|
+
* - If PeriodUnit is set to Week: 1, 2, and 3.
|
|
782
|
+
* - If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
826
783
|
*
|
|
827
|
-
* - When PeriodUnit=Week: 1, 2, 3.
|
|
828
|
-
*
|
|
829
|
-
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
830
|
-
*
|
|
831
|
-
*
|
|
832
|
-
*
|
|
833
|
-
* <props="intl">
|
|
834
|
-
*
|
|
835
|
-
* When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
836
784
|
*
|
|
837
785
|
*
|
|
786
|
+
* <props="intl">If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
838
787
|
*
|
|
839
788
|
* Default value: 1.
|
|
840
789
|
*
|
|
@@ -844,39 +793,30 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
844
793
|
autoRenewPeriod?: number;
|
|
845
794
|
/**
|
|
846
795
|
* @remarks
|
|
847
|
-
* CPU
|
|
796
|
+
* The CPU-related configurations.
|
|
848
797
|
*/
|
|
849
798
|
cpuOptions?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationCpuOptions;
|
|
850
799
|
/**
|
|
851
800
|
* @remarks
|
|
852
|
-
*
|
|
801
|
+
* The image-related property information.
|
|
853
802
|
*
|
|
854
|
-
*
|
|
855
|
-
*
|
|
856
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
803
|
+
* After you set this parameter, note the following items:
|
|
804
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
857
805
|
*/
|
|
858
806
|
imageOptions?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions;
|
|
859
807
|
/**
|
|
860
808
|
* @remarks
|
|
861
|
-
* The subscription duration
|
|
809
|
+
* The subscription duration of the resource. Unit: specified by `PeriodUnit`. This parameter is required when you create subscription instances. Valid values:
|
|
862
810
|
*
|
|
863
811
|
* <props="china">
|
|
812
|
+
* - If PeriodUnit is set to Week, valid values of Period: 1, 2, 3, and 4.
|
|
813
|
+
* - If PeriodUnit is set to Month, valid values of Period: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
864
814
|
*
|
|
865
|
-
* - When PeriodUnit=Week, Period values: 1, 2, 3, 4.
|
|
866
|
-
*
|
|
867
|
-
* - When PeriodUnit=Month, Period values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
|
|
868
|
-
*
|
|
869
|
-
*
|
|
870
|
-
*
|
|
871
|
-
* <props="intl">
|
|
872
815
|
*
|
|
873
|
-
* When PeriodUnit=Month, Period values: 1, 2, 3, 6, 12.
|
|
874
816
|
*
|
|
817
|
+
* <props="intl">If PeriodUnit is set to Month, valid values of Period: 1, 2, 3, 6, and 12.
|
|
875
818
|
*
|
|
876
|
-
*
|
|
877
|
-
* <props="partner">
|
|
878
|
-
*
|
|
879
|
-
* When PeriodUnit=Month, Period values: 1, 2, 3, 6, 12.
|
|
819
|
+
* <props="partner">If PeriodUnit is set to Month, valid values of Period: 1, 2, 3, 6, and 12.
|
|
880
820
|
*
|
|
881
821
|
* @example
|
|
882
822
|
* 1
|
|
@@ -884,19 +824,15 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
884
824
|
period?: number;
|
|
885
825
|
/**
|
|
886
826
|
* @remarks
|
|
887
|
-
* The
|
|
827
|
+
* The unit of the subscription billable methods duration. Valid values:
|
|
888
828
|
*
|
|
889
829
|
* <props="china">
|
|
830
|
+
* - Week
|
|
831
|
+
* - Month (default)
|
|
890
832
|
*
|
|
891
|
-
* - Week.
|
|
892
|
-
*
|
|
893
|
-
* - Month (default).
|
|
894
833
|
*
|
|
895
834
|
*
|
|
896
|
-
*
|
|
897
|
-
* <props="intl">
|
|
898
|
-
*
|
|
899
|
-
* Month (default).
|
|
835
|
+
* <props="intl">Month (default).
|
|
900
836
|
*
|
|
901
837
|
* @example
|
|
902
838
|
* Month
|
|
@@ -906,17 +842,14 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
906
842
|
securityOptions?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSecurityOptions;
|
|
907
843
|
/**
|
|
908
844
|
* @remarks
|
|
909
|
-
* The
|
|
910
|
-
*
|
|
911
|
-
* -
|
|
845
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
846
|
+
* - 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not subject to automatic release within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the marketplace price and checks the resource inventory to determine whether to retain or revoke the instance.
|
|
847
|
+
* - 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 marketplace price and checks the resource inventory to determine whether to retain or revoke the instance.
|
|
912
848
|
*
|
|
913
|
-
*
|
|
849
|
+
* Alibaba Cloud sends an ECS system event notification 5 minutes before the instance is released. Spot instances are billed by second. Select an appropriate protection period based on the expected task execution duration.
|
|
914
850
|
*
|
|
915
|
-
*
|
|
916
|
-
*
|
|
917
|
-
* Note:
|
|
918
|
-
*
|
|
919
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
851
|
+
* After you set this parameter, note the following items:
|
|
852
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
920
853
|
*
|
|
921
854
|
* @example
|
|
922
855
|
* 1
|
|
@@ -924,19 +857,18 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
924
857
|
spotDuration?: number;
|
|
925
858
|
/**
|
|
926
859
|
* @remarks
|
|
927
|
-
* The
|
|
860
|
+
* The spot instance break mode. Valid values:
|
|
928
861
|
*
|
|
929
|
-
* - Terminate:
|
|
862
|
+
* - Terminate: directly releases the instance.
|
|
930
863
|
*
|
|
931
|
-
* - Stop:
|
|
864
|
+
* - Stop: puts the instance into economical mode.
|
|
932
865
|
*
|
|
933
866
|
* For more information about economical mode, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
|
|
934
867
|
*
|
|
935
868
|
* Default value: Terminate.
|
|
936
869
|
*
|
|
937
|
-
*
|
|
938
|
-
*
|
|
939
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
870
|
+
* After you set this parameter, note the following items:
|
|
871
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
940
872
|
*
|
|
941
873
|
* @example
|
|
942
874
|
* Terminate
|
|
@@ -974,15 +906,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestCandidateOptions ex
|
|
|
974
906
|
export declare class CreateAutoProvisioningGroupShrinkRequestDataDiskConfig extends $dara.Model {
|
|
975
907
|
/**
|
|
976
908
|
* @remarks
|
|
977
|
-
* The data disk
|
|
909
|
+
* The category of the data disk. You can specify multiple candidate disk categories. The specified order determines the priority of each disk category. When a disk category is unavailable, the system automatically switches to the next category. Valid values:
|
|
978
910
|
*
|
|
979
|
-
* -
|
|
980
|
-
*
|
|
981
|
-
* -
|
|
982
|
-
*
|
|
983
|
-
* - cloud_essd: ESSD.
|
|
984
|
-
*
|
|
985
|
-
* - cloud: Basic disk.
|
|
911
|
+
* - cloud_efficiency: ultra disk.
|
|
912
|
+
* - cloud_ssd: standard SSD.
|
|
913
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
914
|
+
* - cloud: basic disk.
|
|
986
915
|
*
|
|
987
916
|
* @example
|
|
988
917
|
* cloud_efficiency
|
|
@@ -1007,13 +936,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
1007
936
|
architectures?: string[];
|
|
1008
937
|
/**
|
|
1009
938
|
* @remarks
|
|
1010
|
-
* Specifies whether
|
|
939
|
+
* Specifies whether to include burstable instance types. Valid values:
|
|
1011
940
|
*
|
|
1012
|
-
* - Exclude:
|
|
1013
|
-
*
|
|
1014
|
-
* -
|
|
1015
|
-
*
|
|
1016
|
-
* - Required: Includes only burstable instance types.
|
|
941
|
+
* - Exclude: excludes burstable instance types.
|
|
942
|
+
* - Include: includes burstable instance types.
|
|
943
|
+
* - Required: includes only burstable instance types.
|
|
1017
944
|
*
|
|
1018
945
|
* Default value: Include.
|
|
1019
946
|
*
|
|
@@ -1023,7 +950,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
1023
950
|
burstablePerformance?: string;
|
|
1024
951
|
/**
|
|
1025
952
|
* @remarks
|
|
1026
|
-
* The list of vCPU counts for instance types.
|
|
953
|
+
* The list of vCPU core counts for instance types.
|
|
1027
954
|
*/
|
|
1028
955
|
cores?: number[];
|
|
1029
956
|
/**
|
|
@@ -1033,7 +960,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
1033
960
|
excludedInstanceTypes?: string[];
|
|
1034
961
|
/**
|
|
1035
962
|
* @remarks
|
|
1036
|
-
* The image ID.
|
|
963
|
+
* The image ID. You can use this parameter to set the image for the current resource pool. If not set, the image specified in `LaunchConfiguration.ImageId` or the launch template is used by default. You can call [DescribeImages](https://help.aliyun.com/document_detail/25534.html) to query available image resources.
|
|
1037
964
|
* Note: This parameter is supported only when `AutoProvisioningGroupType = instant`.
|
|
1038
965
|
*
|
|
1039
966
|
* @example
|
|
@@ -1042,15 +969,13 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
1042
969
|
imageId?: string;
|
|
1043
970
|
/**
|
|
1044
971
|
* @remarks
|
|
1045
|
-
* The instance family
|
|
1046
|
-
*
|
|
1047
|
-
* - EntryLevel: Entry-level, or shared-resource instances. Lower cost but no guaranteed stable computing performance. Suitable for workloads with low average CPU usage. For more information, see [Shared-resource instances](https://help.aliyun.com/document_detail/108489.html).
|
|
972
|
+
* The level of the instance family, used to filter instance types that meet the requirements. Valid values:
|
|
1048
973
|
*
|
|
1049
|
-
* -
|
|
974
|
+
* - EntryLevel: entry level, which refers to shared instance types. Lower cost but no guarantee of stable computing performance. Suitable for scenarios with low average CPU utilization. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
|
|
975
|
+
* - EnterpriseLevel: enterprise level. Stable performance with dedicated resources. Suitable for scenarios that require high stability. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
976
|
+
* - CreditEntryLevel: credit-based entry level, which refers to burstable instances. Uses CPU credits to ensure computing performance. Suitable for scenarios with low average CPU utilization and occasional bursts. For more information, see [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
1050
977
|
*
|
|
1051
|
-
*
|
|
1052
|
-
*
|
|
1053
|
-
* N ranges from 1 to 10.
|
|
978
|
+
* Valid values of N: 1 to 10.
|
|
1054
979
|
*
|
|
1055
980
|
* @example
|
|
1056
981
|
* EnterpriseLevel
|
|
@@ -1058,7 +983,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
1058
983
|
instanceFamilyLevel?: string;
|
|
1059
984
|
/**
|
|
1060
985
|
* @remarks
|
|
1061
|
-
* The instance type
|
|
986
|
+
* The instance type in the extended launch template. Valid values of N: 1 to 20. For valid values, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
1062
987
|
*
|
|
1063
988
|
* @example
|
|
1064
989
|
* ecs.g5.large
|
|
@@ -1066,9 +991,9 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
1066
991
|
instanceType?: string;
|
|
1067
992
|
/**
|
|
1068
993
|
* @remarks
|
|
1069
|
-
* The maximum
|
|
994
|
+
* The maximum price for spot instances in the extended launch template.
|
|
1070
995
|
*
|
|
1071
|
-
* > After
|
|
996
|
+
* > After you set `LaunchTemplateConfig`, `LaunchTemplateConfig.N.MaxPrice` is required.
|
|
1072
997
|
*
|
|
1073
998
|
* @example
|
|
1074
999
|
* 3
|
|
@@ -1076,7 +1001,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
1076
1001
|
maxPrice?: number;
|
|
1077
1002
|
/**
|
|
1078
1003
|
* @remarks
|
|
1079
|
-
* > This parameter is in invitational preview and is not
|
|
1004
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
1080
1005
|
*
|
|
1081
1006
|
* @example
|
|
1082
1007
|
* false
|
|
@@ -1097,9 +1022,9 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
1097
1022
|
priority?: number;
|
|
1098
1023
|
/**
|
|
1099
1024
|
* @remarks
|
|
1100
|
-
* The ID of the
|
|
1025
|
+
* The ID of the vSwitch to which the ECS instance in the extended launch template is connected. The zone of the ECS instance created from the extended template is determined by the vSwitch.
|
|
1101
1026
|
*
|
|
1102
|
-
* >
|
|
1027
|
+
* > If you specify LaunchTemplateConfig, LaunchTemplateConfig.N.VSwitchId is required.
|
|
1103
1028
|
*
|
|
1104
1029
|
* @example
|
|
1105
1030
|
* vsw-sn5bsitu4lfzgc5o7****
|
|
@@ -1107,13 +1032,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
1107
1032
|
vSwitchId?: string;
|
|
1108
1033
|
/**
|
|
1109
1034
|
* @remarks
|
|
1110
|
-
* The weight of the instance type in the extended launch template. A higher value indicates
|
|
1111
|
-
*
|
|
1112
|
-
* You can calculate the weight based on the computing power of the specified instance type and the minimum computing power required per node in the cluster. For example, if the minimum computing power per node is 8 vCPUs and 60 GiB memory:
|
|
1035
|
+
* The weight of the instance type in the extended launch template. A higher value indicates that a single instance can meet more computing power requirements, which reduces the number of instances required. Valid values: greater than 0.
|
|
1113
1036
|
*
|
|
1114
|
-
*
|
|
1037
|
+
* You can calculate the weight based on the computing power of the specified instance type and the minimum computing power of a single node in the cluster. For example, if the minimum computing power of a single node is 8 vCPUs and 60 GiB:
|
|
1115
1038
|
*
|
|
1116
|
-
* -
|
|
1039
|
+
* - The weight of an instance type with 8 vCPUs and 60 GiB can be set to 1.
|
|
1040
|
+
* - The weight of an instance type with 16 vCPUs and 120 GiB can be set to 2.
|
|
1117
1041
|
*
|
|
1118
1042
|
* @example
|
|
1119
1043
|
* 2
|
|
@@ -1133,14 +1057,14 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
1133
1057
|
export declare class CreateAutoProvisioningGroupShrinkRequestPrePaidOptionsSpecifyCapacityDistribution extends $dara.Model {
|
|
1134
1058
|
/**
|
|
1135
1059
|
* @remarks
|
|
1136
|
-
* The set of instance types.
|
|
1060
|
+
* The set of instance types. Duplicate values are not allowed, and the instance types must be within the range of LaunchTemplateConfig.InstanceType.
|
|
1137
1061
|
*/
|
|
1138
1062
|
instanceTypes?: string[];
|
|
1139
1063
|
/**
|
|
1140
1064
|
* @remarks
|
|
1141
1065
|
* The minimum number of instances to deliver within the `InstanceTypes` range.
|
|
1142
1066
|
*
|
|
1143
|
-
* >
|
|
1067
|
+
* > The sum of all MinTargetCapacity values (`sum(MinTargetCapacity) <= TotalTargetCapacity`) cannot exceed TotalTargetCapacity. If any instance type set cannot meet the MinTargetCapacity requirement due to insufficient inventory or other reasons, the entire request fails.
|
|
1144
1068
|
*
|
|
1145
1069
|
* @example
|
|
1146
1070
|
* 5
|
|
@@ -1177,15 +1101,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestPrePaidOptions exte
|
|
|
1177
1101
|
export declare class CreateAutoProvisioningGroupShrinkRequestSystemDiskConfig extends $dara.Model {
|
|
1178
1102
|
/**
|
|
1179
1103
|
* @remarks
|
|
1180
|
-
* The system disk
|
|
1181
|
-
*
|
|
1182
|
-
* - cloud_efficiency: Ultra disk.
|
|
1183
|
-
*
|
|
1184
|
-
* - cloud_ssd: Standard SSD.
|
|
1185
|
-
*
|
|
1186
|
-
* - cloud_essd: ESSD.
|
|
1104
|
+
* The category of the system disk. You can specify multiple candidate disk categories. The specified order determines the priority of each disk category. When a disk category is unavailable, the system automatically switches to the next category. Valid values:
|
|
1187
1105
|
*
|
|
1188
|
-
* -
|
|
1106
|
+
* - cloud_efficiency: ultra disk.
|
|
1107
|
+
* - cloud_ssd: standard SSD.
|
|
1108
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
1109
|
+
* - cloud: basic disk.
|
|
1189
1110
|
*
|
|
1190
1111
|
* @example
|
|
1191
1112
|
* cloud_ssd
|
|
@@ -1207,7 +1128,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestTag extends $dara.M
|
|
|
1207
1128
|
* @remarks
|
|
1208
1129
|
* The tag key of the auto provisioning group.
|
|
1209
1130
|
*
|
|
1210
|
-
*
|
|
1131
|
+
* 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 aliyun or acs:. The tag key cannot contain http:// or https://.
|
|
1211
1132
|
*
|
|
1212
1133
|
* @example
|
|
1213
1134
|
* TestKey
|
|
@@ -1217,7 +1138,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestTag extends $dara.M
|
|
|
1217
1138
|
* @remarks
|
|
1218
1139
|
* The tag value of the auto provisioning group.
|
|
1219
1140
|
*
|
|
1220
|
-
*
|
|
1141
|
+
* Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain http:// or https://.
|
|
1221
1142
|
*
|
|
1222
1143
|
* @example
|
|
1223
1144
|
* TestValue
|
|
@@ -1238,7 +1159,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1238
1159
|
launchConfiguration?: CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration;
|
|
1239
1160
|
/**
|
|
1240
1161
|
* @remarks
|
|
1241
|
-
* The name of the auto provisioning group. The name must be 2 to 128 characters in length and can contain
|
|
1162
|
+
* The name of the auto provisioning group. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), and hyphens (-).
|
|
1242
1163
|
*
|
|
1243
1164
|
* @example
|
|
1244
1165
|
* apg-test
|
|
@@ -1248,11 +1169,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1248
1169
|
* @remarks
|
|
1249
1170
|
* The delivery type of the auto provisioning group. Valid values:
|
|
1250
1171
|
*
|
|
1251
|
-
* - request:
|
|
1172
|
+
* - request: one-time asynchronous delivery. The group delivers an instance cluster asynchronously only at startup. If scheduling fails, no retry is performed.
|
|
1252
1173
|
*
|
|
1253
|
-
* - instant:
|
|
1174
|
+
* - instant: one-time synchronous delivery. The group synchronously creates instances only at startup and returns the list of successfully created instances and the causes of creation failures in the response.
|
|
1254
1175
|
*
|
|
1255
|
-
* - maintain:
|
|
1176
|
+
* - maintain: continuous delivery. The group attempts to deliver an instance cluster at startup and monitors real-time capacity. If the target capacity is not reached, the group continues to create ECS instances.
|
|
1256
1177
|
*
|
|
1257
1178
|
* Default value: maintain.
|
|
1258
1179
|
*
|
|
@@ -1263,7 +1184,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1263
1184
|
candidateOptions?: CreateAutoProvisioningGroupShrinkRequestCandidateOptions;
|
|
1264
1185
|
/**
|
|
1265
1186
|
* @remarks
|
|
1266
|
-
*
|
|
1187
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
1267
1188
|
*
|
|
1268
1189
|
* @example
|
|
1269
1190
|
* 0c593ea1-3bea-11e9-b96b-88e9fe637760
|
|
@@ -1271,16 +1192,15 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1271
1192
|
clientToken?: string;
|
|
1272
1193
|
/**
|
|
1273
1194
|
* @remarks
|
|
1274
|
-
* The list of data disk configurations
|
|
1195
|
+
* The list of data disk configurations.
|
|
1275
1196
|
*/
|
|
1276
1197
|
dataDiskConfig?: CreateAutoProvisioningGroupShrinkRequestDataDiskConfig[];
|
|
1277
1198
|
/**
|
|
1278
1199
|
* @remarks
|
|
1279
|
-
*
|
|
1200
|
+
* The billing method for the capacity difference when the sum of `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` is less than `TotalTargetCapacity`. Valid values:
|
|
1280
1201
|
*
|
|
1281
|
-
* - PayAsYouGo:
|
|
1282
|
-
*
|
|
1283
|
-
* - Spot: Spot instances.
|
|
1202
|
+
* - PayAsYouGo: pay-as-you-go instances.
|
|
1203
|
+
* - Spot: spot instances.
|
|
1284
1204
|
*
|
|
1285
1205
|
* Default value: Spot.
|
|
1286
1206
|
*
|
|
@@ -1298,11 +1218,10 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1298
1218
|
description?: string;
|
|
1299
1219
|
/**
|
|
1300
1220
|
* @remarks
|
|
1301
|
-
* Specifies whether to release instances when the real-time capacity of the auto provisioning group exceeds the target capacity and scale-in is triggered. Valid values:
|
|
1302
|
-
*
|
|
1303
|
-
* - termination: Releases scaled-in instances.
|
|
1221
|
+
* Specifies whether to release instances when the real-time capacity of the auto provisioning group exceeds the target capacity and a scale-in event is triggered. Valid values:
|
|
1304
1222
|
*
|
|
1305
|
-
* -
|
|
1223
|
+
* - termination: releases the scaled-in instances.
|
|
1224
|
+
* - no-termination: only removes the scaled-in instances from the auto provisioning group.
|
|
1306
1225
|
*
|
|
1307
1226
|
* Default value: no-termination.
|
|
1308
1227
|
*
|
|
@@ -1313,7 +1232,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1313
1232
|
executionMode?: string;
|
|
1314
1233
|
/**
|
|
1315
1234
|
* @remarks
|
|
1316
|
-
* > This parameter is in invitational preview and is not
|
|
1235
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
1317
1236
|
*
|
|
1318
1237
|
* @example
|
|
1319
1238
|
* false
|
|
@@ -1321,12 +1240,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1321
1240
|
hibernationOptionsConfigured?: boolean;
|
|
1322
1241
|
/**
|
|
1323
1242
|
* @remarks
|
|
1324
|
-
* The list of extended launch
|
|
1243
|
+
* The list of extended launch templates.
|
|
1325
1244
|
*/
|
|
1326
1245
|
launchTemplateConfig?: CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig[];
|
|
1327
1246
|
/**
|
|
1328
1247
|
* @remarks
|
|
1329
|
-
* The ID of the launch template associated with the auto provisioning group.
|
|
1248
|
+
* The ID of the instance launch template associated with the auto provisioning group. You can invoke [DescribeLaunchTemplates](https://help.aliyun.com/document_detail/73759.html) to query active instance launch templates. If you specify both a launch template and launch configuration information (`LaunchConfiguration.*`), the launch template takes precedence.
|
|
1330
1249
|
*
|
|
1331
1250
|
* @example
|
|
1332
1251
|
* lt-bp1fgzds4bdogu03****
|
|
@@ -1334,9 +1253,9 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1334
1253
|
launchTemplateId?: string;
|
|
1335
1254
|
/**
|
|
1336
1255
|
* @remarks
|
|
1337
|
-
* The version of the launch template associated with the auto provisioning group.
|
|
1256
|
+
* The version of the instance launch template associated with the auto provisioning group. You can invoke [DescribeLaunchTemplateVersions](https://help.aliyun.com/document_detail/73761.html) to query active instance launch template versions.
|
|
1338
1257
|
*
|
|
1339
|
-
* Default value:
|
|
1258
|
+
* Default value: the default version of the launch template.
|
|
1340
1259
|
*
|
|
1341
1260
|
* @example
|
|
1342
1261
|
* 1
|
|
@@ -1346,7 +1265,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1346
1265
|
* @remarks
|
|
1347
1266
|
* The maximum price for spot instances in the auto provisioning group.
|
|
1348
1267
|
*
|
|
1349
|
-
* > If both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are
|
|
1268
|
+
* > If both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the lower value is used.
|
|
1350
1269
|
*
|
|
1351
1270
|
* @example
|
|
1352
1271
|
* 2
|
|
@@ -1354,15 +1273,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1354
1273
|
maxSpotPrice?: number;
|
|
1355
1274
|
/**
|
|
1356
1275
|
* @remarks
|
|
1357
|
-
* The minimum target capacity of the auto provisioning group. Valid values
|
|
1358
|
-
*
|
|
1359
|
-
* Note:
|
|
1360
|
-
*
|
|
1361
|
-
* - This parameter takes effect only when creating an auto provisioning group with `AutoProvisioningGroupType=instant`.
|
|
1362
|
-
*
|
|
1363
|
-
* - If the instance inventory in the region is less than this value, the API call fails and no instances are created.
|
|
1364
|
-
*
|
|
1365
|
-
* - If the instance inventory in the region is greater than this value, instances are created based on other configured parameters.
|
|
1276
|
+
* The minimum target capacity of the auto provisioning group. Valid values
|
|
1366
1277
|
*
|
|
1367
1278
|
* @example
|
|
1368
1279
|
* 20
|
|
@@ -1372,11 +1283,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1372
1283
|
ownerId?: number;
|
|
1373
1284
|
/**
|
|
1374
1285
|
* @remarks
|
|
1375
|
-
* The
|
|
1286
|
+
* The policy for creating pay-as-you-go instances. Valid values:
|
|
1376
1287
|
*
|
|
1377
|
-
* - lowest-price:
|
|
1288
|
+
* - lowest-price: cost optimization policy. Selects the instance type with the lowest price.
|
|
1378
1289
|
*
|
|
1379
|
-
* - prioritized:
|
|
1290
|
+
* - prioritized: priority-based policy. Creates instances based on the priority specified by `LaunchTemplateConfig.N.Priority`.
|
|
1380
1291
|
*
|
|
1381
1292
|
* Default value: lowest-price.
|
|
1382
1293
|
*
|
|
@@ -1386,7 +1297,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1386
1297
|
payAsYouGoAllocationStrategy?: string;
|
|
1387
1298
|
/**
|
|
1388
1299
|
* @remarks
|
|
1389
|
-
* The target capacity
|
|
1300
|
+
* The target capacity of pay-as-you-go instances in the auto provisioning group. Valid values: less than or equal to the parameter value of `TotalTargetCapacity`.
|
|
1390
1301
|
*
|
|
1391
1302
|
* @example
|
|
1392
1303
|
* 30
|
|
@@ -1394,12 +1305,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1394
1305
|
payAsYouGoTargetCapacity?: string;
|
|
1395
1306
|
/**
|
|
1396
1307
|
* @remarks
|
|
1397
|
-
*
|
|
1308
|
+
* The detailed capacity configuration for subscription instances.
|
|
1398
1309
|
*/
|
|
1399
1310
|
prePaidOptions?: CreateAutoProvisioningGroupShrinkRequestPrePaidOptions;
|
|
1400
1311
|
/**
|
|
1401
1312
|
* @remarks
|
|
1402
|
-
* The
|
|
1313
|
+
* The ID of the region in which the auto provisioning group resides. You can invoke [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
1403
1314
|
*
|
|
1404
1315
|
* This parameter is required.
|
|
1405
1316
|
*
|
|
@@ -1409,7 +1320,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1409
1320
|
regionId?: string;
|
|
1410
1321
|
/**
|
|
1411
1322
|
* @remarks
|
|
1412
|
-
* The resource group
|
|
1323
|
+
* The ID of the resource group to which the auto provisioning group belongs.
|
|
1413
1324
|
*
|
|
1414
1325
|
* @example
|
|
1415
1326
|
* rg-bp67acfmxazb4p****
|
|
@@ -1419,22 +1330,20 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1419
1330
|
resourceOwnerId?: number;
|
|
1420
1331
|
/**
|
|
1421
1332
|
* @remarks
|
|
1422
|
-
* The resource pool
|
|
1423
|
-
*
|
|
1424
|
-
* - This parameter takes effect only when
|
|
1425
|
-
*
|
|
1426
|
-
* - This parameter takes effect only when creating an auto provisioning group with `AutoProvisioningGroupType=instant`.
|
|
1333
|
+
* The resource pool policy used to create instances. After you set this parameter, note the following items:
|
|
1334
|
+
* - This parameter takes effect only when you create pay-as-you-go instances.
|
|
1335
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (`AutoProvisioningGroupType=instant`).
|
|
1427
1336
|
*/
|
|
1428
1337
|
resourcePoolOptionsShrink?: string;
|
|
1429
1338
|
/**
|
|
1430
1339
|
* @remarks
|
|
1431
|
-
* The
|
|
1340
|
+
* The policy for creating spot instances. Valid values:
|
|
1432
1341
|
*
|
|
1433
|
-
* - lowest-price:
|
|
1342
|
+
* - lowest-price: cost optimization policy. Selects the instance type with the lowest price.
|
|
1434
1343
|
*
|
|
1435
|
-
* - diversified:
|
|
1344
|
+
* - diversified: balanced zone distribution policy. Creates instances in the zones specified in the extended launch template and evenly distributes them across zones.
|
|
1436
1345
|
*
|
|
1437
|
-
* - capacity-optimized:
|
|
1346
|
+
* - capacity-optimized: capacity optimization distribution policy. Selects the optimal instance type and zone based on inventory availability.
|
|
1438
1347
|
*
|
|
1439
1348
|
* Default value: lowest-price.
|
|
1440
1349
|
*
|
|
@@ -1444,11 +1353,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1444
1353
|
spotAllocationStrategy?: string;
|
|
1445
1354
|
/**
|
|
1446
1355
|
* @remarks
|
|
1447
|
-
* The
|
|
1356
|
+
* The action to take when a spot instance is interrupted. Valid values:
|
|
1448
1357
|
*
|
|
1449
|
-
* - stop:
|
|
1358
|
+
* - stop: stops the instance.
|
|
1450
1359
|
*
|
|
1451
|
-
* - terminate:
|
|
1360
|
+
* - terminate: releases the instance.
|
|
1452
1361
|
*
|
|
1453
1362
|
* Default value: terminate.
|
|
1454
1363
|
*
|
|
@@ -1458,9 +1367,9 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1458
1367
|
spotInstanceInterruptionBehavior?: string;
|
|
1459
1368
|
/**
|
|
1460
1369
|
* @remarks
|
|
1461
|
-
* Takes effect
|
|
1370
|
+
* Takes effect when `SpotAllocationStrategy` is set to `lowest-price`. Specifies the number of instance types with the lowest prices from which the auto provisioning group creates instances.
|
|
1462
1371
|
*
|
|
1463
|
-
* Valid values:
|
|
1372
|
+
* Valid values: less than the value of N in `LaunchTemplateConfig.N`.
|
|
1464
1373
|
*
|
|
1465
1374
|
* @example
|
|
1466
1375
|
* 2
|
|
@@ -1468,7 +1377,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1468
1377
|
spotInstancePoolsToUseCount?: number;
|
|
1469
1378
|
/**
|
|
1470
1379
|
* @remarks
|
|
1471
|
-
* The target capacity
|
|
1380
|
+
* The target capacity of spot instances in the auto provisioning group. Valid values: less than or equal to the parameter value of `TotalTargetCapacity`.
|
|
1472
1381
|
*
|
|
1473
1382
|
* @example
|
|
1474
1383
|
* 20
|
|
@@ -1476,21 +1385,20 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1476
1385
|
spotTargetCapacity?: string;
|
|
1477
1386
|
/**
|
|
1478
1387
|
* @remarks
|
|
1479
|
-
* The list of system disk configurations
|
|
1388
|
+
* The list of system disk configurations.
|
|
1480
1389
|
*/
|
|
1481
1390
|
systemDiskConfig?: CreateAutoProvisioningGroupShrinkRequestSystemDiskConfig[];
|
|
1482
1391
|
/**
|
|
1483
1392
|
* @remarks
|
|
1484
|
-
* The
|
|
1393
|
+
* The tags to attach to the auto provisioning group.
|
|
1485
1394
|
*/
|
|
1486
1395
|
tag?: CreateAutoProvisioningGroupShrinkRequestTag[];
|
|
1487
1396
|
/**
|
|
1488
1397
|
* @remarks
|
|
1489
|
-
* Specifies whether to release instances
|
|
1398
|
+
* Specifies whether to release instances auto provisioning group when the auto-provisioning group is deleted. Valid values:
|
|
1490
1399
|
*
|
|
1491
|
-
* - true:
|
|
1492
|
-
*
|
|
1493
|
-
* - false: Retains instances in the group.
|
|
1400
|
+
* - true: releases instances auto provisioning group.
|
|
1401
|
+
* - false: retains instances auto provisioning group.
|
|
1494
1402
|
*
|
|
1495
1403
|
* Default value: false.
|
|
1496
1404
|
*
|
|
@@ -1500,11 +1408,10 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1500
1408
|
terminateInstances?: boolean;
|
|
1501
1409
|
/**
|
|
1502
1410
|
* @remarks
|
|
1503
|
-
* Specifies whether to release instances
|
|
1504
|
-
*
|
|
1505
|
-
* - true: Releases instances in the group.
|
|
1411
|
+
* Specifies whether to release instances auto provisioning group when the auto-provisioning group expires. Valid values:
|
|
1506
1412
|
*
|
|
1507
|
-
* -
|
|
1413
|
+
* - true: releases instances auto provisioning group.
|
|
1414
|
+
* - false: only removes instances from the auto-provisioning group.
|
|
1508
1415
|
*
|
|
1509
1416
|
* Default value: false.
|
|
1510
1417
|
*
|
|
@@ -1514,9 +1421,9 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1514
1421
|
terminateInstancesWithExpiration?: boolean;
|
|
1515
1422
|
/**
|
|
1516
1423
|
* @remarks
|
|
1517
|
-
* The total target capacity of the auto provisioning group. Valid values:
|
|
1424
|
+
* The total target capacity of the auto provisioning group. Valid values: positive integers.
|
|
1518
1425
|
*
|
|
1519
|
-
* The total capacity must be greater than or equal to the sum of `PayAsYouGoTargetCapacity` (target capacity
|
|
1426
|
+
* The total capacity must be greater than or equal to the sum of `PayAsYouGoTargetCapacity` (the target capacity of pay-as-you-go instances) and `SpotTargetCapacity` (the target capacity of spot instances).
|
|
1520
1427
|
*
|
|
1521
1428
|
* This parameter is required.
|
|
1522
1429
|
*
|
|
@@ -1526,11 +1433,11 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1526
1433
|
totalTargetCapacity?: string;
|
|
1527
1434
|
/**
|
|
1528
1435
|
* @remarks
|
|
1529
|
-
* The
|
|
1436
|
+
* The time when the auto provisioning group is started. Used together with `ValidUntil` to determine the valid period.
|
|
1530
1437
|
*
|
|
1531
|
-
* Specify the time in [ISO 8601](https://help.aliyun.com/document_detail/25696.html)
|
|
1438
|
+
* Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0.
|
|
1532
1439
|
*
|
|
1533
|
-
* Default value:
|
|
1440
|
+
* Default value: the UNIX timestamp at which the request takes effect immediately.
|
|
1534
1441
|
*
|
|
1535
1442
|
* @example
|
|
1536
1443
|
* 2019-04-01T15:10:20Z
|
|
@@ -1538,9 +1445,9 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
1538
1445
|
validFrom?: string;
|
|
1539
1446
|
/**
|
|
1540
1447
|
* @remarks
|
|
1541
|
-
* The
|
|
1448
|
+
* The time when the auto provisioning group expires. Used together with `ValidFrom` to determine the valid period.
|
|
1542
1449
|
*
|
|
1543
|
-
* Specify the time in [ISO 8601](https://help.aliyun.com/document_detail/25696.html)
|
|
1450
|
+
* Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0.
|
|
1544
1451
|
*
|
|
1545
1452
|
* Default value: 2099-12-31T23:59:59Z.
|
|
1546
1453
|
*
|