@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
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationArn extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* > This parameter is in invitational preview and is not
|
|
8
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 123456789012****
|
|
@@ -13,7 +13,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationArn extends $d
|
|
|
13
13
|
assumeRoleFor?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* > This parameter is in invitational preview and is not
|
|
16
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 34458433936495****:alice
|
|
@@ -21,7 +21,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationArn extends $d
|
|
|
21
21
|
roleType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* > This parameter is in invitational preview and is not
|
|
24
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* acs:ram::123456789012****:role/adminrole
|
|
@@ -55,11 +55,10 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationArn extends $d
|
|
|
55
55
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The automatic snapshot policy
|
|
58
|
+
* The ID of the automatic snapshot policy applied to the data disk.
|
|
59
59
|
*
|
|
60
60
|
* Note:
|
|
61
|
-
*
|
|
62
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
61
|
+
* - This parameter takes effect only when you create a one-time synchronous delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
63
62
|
*
|
|
64
63
|
* @example
|
|
65
64
|
* sp-bp67acfmxazb4p****
|
|
@@ -67,13 +66,12 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
67
66
|
autoSnapshotPolicyId?: string;
|
|
68
67
|
/**
|
|
69
68
|
* @remarks
|
|
70
|
-
* Specifies whether to enable performance burst. Valid values:
|
|
71
|
-
*
|
|
72
|
-
* - true: Enables performance burst.
|
|
69
|
+
* Specifies whether to enable the performance burst feature. Valid values:
|
|
73
70
|
*
|
|
74
|
-
* -
|
|
71
|
+
* - true: enables the feature.
|
|
72
|
+
* - false: disables the feature.
|
|
75
73
|
*
|
|
76
|
-
* > 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).
|
|
74
|
+
* > 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).
|
|
77
75
|
*
|
|
78
76
|
* @example
|
|
79
77
|
* false
|
|
@@ -81,19 +79,16 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
81
79
|
burstingEnabled?: boolean;
|
|
82
80
|
/**
|
|
83
81
|
* @remarks
|
|
84
|
-
* The category of data disk N.
|
|
85
|
-
*
|
|
86
|
-
* - cloud_efficiency: Ultra disk.
|
|
82
|
+
* The category of data disk N. Valid values of N: 1 to 16. Valid values:
|
|
87
83
|
*
|
|
88
|
-
* -
|
|
89
|
-
*
|
|
90
|
-
* - cloud_essd: ESSD.
|
|
91
|
-
*
|
|
92
|
-
* - cloud: Basic disk.
|
|
84
|
+
* - cloud_efficiency: ultra disk.
|
|
85
|
+
* - cloud_ssd: standard SSD.
|
|
86
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
87
|
+
* - cloud: basic disk.
|
|
93
88
|
*
|
|
94
89
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
95
90
|
*
|
|
96
|
-
*
|
|
91
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
97
92
|
*
|
|
98
93
|
* @example
|
|
99
94
|
* cloud_ssd
|
|
@@ -101,15 +96,13 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
101
96
|
category?: string;
|
|
102
97
|
/**
|
|
103
98
|
* @remarks
|
|
104
|
-
* Specifies whether
|
|
105
|
-
*
|
|
106
|
-
* -
|
|
107
|
-
*
|
|
108
|
-
* - false: Does not release the data disk with the instance.
|
|
99
|
+
* Specifies whether the data disk is released when the instance is released. Valid values:
|
|
100
|
+
* - true: the data disk is released when the instance is released.
|
|
101
|
+
* - false: the data disk is not released when the instance is released.
|
|
109
102
|
*
|
|
110
103
|
* Default value: true.
|
|
111
104
|
*
|
|
112
|
-
*
|
|
105
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
113
106
|
*
|
|
114
107
|
* @example
|
|
115
108
|
* true
|
|
@@ -117,7 +110,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
117
110
|
deleteWithInstance?: boolean;
|
|
118
111
|
/**
|
|
119
112
|
* @remarks
|
|
120
|
-
* The description of the data disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
113
|
+
* 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.
|
|
121
114
|
*
|
|
122
115
|
* @example
|
|
123
116
|
* DataDisk_Description
|
|
@@ -125,7 +118,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
125
118
|
description?: string;
|
|
126
119
|
/**
|
|
127
120
|
* @remarks
|
|
128
|
-
* The mount point of the data disk.
|
|
121
|
+
* The mount point of the data disk. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
129
122
|
*
|
|
130
123
|
* @example
|
|
131
124
|
* /dev/vd1
|
|
@@ -133,11 +126,11 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
133
126
|
device?: string;
|
|
134
127
|
/**
|
|
135
128
|
* @remarks
|
|
136
|
-
* The name of the data disk. The name must be 2 to 128 characters in length and can contain
|
|
129
|
+
* 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 (-).
|
|
137
130
|
*
|
|
138
131
|
* Default value: empty.
|
|
139
132
|
*
|
|
140
|
-
*
|
|
133
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
141
134
|
*
|
|
142
135
|
* @example
|
|
143
136
|
* cloud_ssdData
|
|
@@ -145,7 +138,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
145
138
|
diskName?: string;
|
|
146
139
|
/**
|
|
147
140
|
* @remarks
|
|
148
|
-
* > This parameter is not
|
|
141
|
+
* > This parameter is not publicly available.
|
|
149
142
|
*
|
|
150
143
|
* @example
|
|
151
144
|
* null
|
|
@@ -153,15 +146,14 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
153
146
|
encryptAlgorithm?: string;
|
|
154
147
|
/**
|
|
155
148
|
* @remarks
|
|
156
|
-
* Specifies whether
|
|
157
|
-
*
|
|
158
|
-
* - true: Encrypts the disk.
|
|
149
|
+
* Specifies whether data disk N is encrypted. Valid values:
|
|
159
150
|
*
|
|
160
|
-
* -
|
|
151
|
+
* - true: encrypted.
|
|
152
|
+
* - false: not encrypted.
|
|
161
153
|
*
|
|
162
154
|
* Default value: false.
|
|
163
155
|
*
|
|
164
|
-
*
|
|
156
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
165
157
|
*
|
|
166
158
|
* @example
|
|
167
159
|
* false
|
|
@@ -169,7 +161,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
169
161
|
encrypted?: boolean;
|
|
170
162
|
/**
|
|
171
163
|
* @remarks
|
|
172
|
-
* The KMS key
|
|
164
|
+
* 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.
|
|
173
165
|
*
|
|
174
166
|
* @example
|
|
175
167
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -177,19 +169,16 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
177
169
|
kmsKeyId?: string;
|
|
178
170
|
/**
|
|
179
171
|
* @remarks
|
|
180
|
-
* The performance level of the
|
|
181
|
-
*
|
|
182
|
-
* - PL0: Up to 10,000 random read/write IOPS per disk.
|
|
172
|
+
* 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:
|
|
183
173
|
*
|
|
184
|
-
* -
|
|
174
|
+
* - PL0: a single disk can deliver up to 10,000 random read/write IOPS.
|
|
175
|
+
* - PL1 (default): a single disk can deliver up to 50,000 random read/write IOPS.
|
|
176
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
177
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
185
178
|
*
|
|
186
|
-
*
|
|
179
|
+
* For information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
187
180
|
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
* For more information about selecting ESSD performance levels, see [ESSD](https://help.aliyun.com/document_detail/122389.html).
|
|
191
|
-
*
|
|
192
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
181
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
193
182
|
*
|
|
194
183
|
* @example
|
|
195
184
|
* PL1
|
|
@@ -197,11 +186,11 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
197
186
|
performanceLevel?: string;
|
|
198
187
|
/**
|
|
199
188
|
* @remarks
|
|
200
|
-
* The provisioned read/write IOPS
|
|
189
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}.
|
|
201
190
|
*
|
|
202
191
|
* Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
203
192
|
*
|
|
204
|
-
* > 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).
|
|
193
|
+
* > 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).
|
|
205
194
|
*
|
|
206
195
|
* @example
|
|
207
196
|
* 40000
|
|
@@ -209,27 +198,20 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
209
198
|
provisionedIops?: number;
|
|
210
199
|
/**
|
|
211
200
|
* @remarks
|
|
212
|
-
* The size of data disk N
|
|
213
|
-
*
|
|
214
|
-
* - cloud_efficiency: 20–32768.
|
|
201
|
+
* The size of data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:
|
|
215
202
|
*
|
|
216
|
-
* -
|
|
203
|
+
* - cloud_efficiency: 20 to 32768.
|
|
204
|
+
* - cloud_ssd: 20 to 32768.
|
|
205
|
+
* - cloud_essd: depends on the value of `LaunchConfiguration.DataDisk.N.PerformanceLevel`.
|
|
206
|
+
* - PL0: 40 to 32768.
|
|
207
|
+
* - PL1: 20 to 32768.
|
|
208
|
+
* - PL2: 461 to 32768.
|
|
209
|
+
* - PL3: 1261 to 32768.
|
|
210
|
+
* - cloud: 5 to 2000.
|
|
217
211
|
*
|
|
218
|
-
*
|
|
212
|
+
* > The value of this parameter must be greater than or equal to the size of the snapshot specified by `LaunchConfiguration.DataDisk.N.SnapshotId`.
|
|
219
213
|
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
222
|
-
* - PL1: 20–32768.
|
|
223
|
-
*
|
|
224
|
-
* - PL2: 461–32768.
|
|
225
|
-
*
|
|
226
|
-
* - PL3: 1261–32768
|
|
227
|
-
*
|
|
228
|
-
* - cloud: 5–2000.
|
|
229
|
-
*
|
|
230
|
-
* > The value must be greater than or equal to the size of the snapshot specified by `LaunchConfiguration.DataDisk.N.SnapshotId`.
|
|
231
|
-
*
|
|
232
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
214
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
233
215
|
*
|
|
234
216
|
* @example
|
|
235
217
|
* 20
|
|
@@ -237,11 +219,11 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
237
219
|
size?: number;
|
|
238
220
|
/**
|
|
239
221
|
* @remarks
|
|
240
|
-
* The snapshot used to create data disk N.
|
|
222
|
+
* The ID of the snapshot used to create data disk N. Valid values of N: 1 to 16.
|
|
241
223
|
*
|
|
242
|
-
* After this parameter
|
|
224
|
+
* 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.
|
|
243
225
|
*
|
|
244
|
-
*
|
|
226
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
245
227
|
*
|
|
246
228
|
* @example
|
|
247
229
|
* s-bp17441ohwka0yuh****
|
|
@@ -297,11 +279,10 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
297
279
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk extends $dara.Model {
|
|
298
280
|
/**
|
|
299
281
|
* @remarks
|
|
300
|
-
* The automatic snapshot policy
|
|
282
|
+
* The ID of the automatic snapshot policy to apply to the system disk.
|
|
301
283
|
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
284
|
+
* After you set this parameter, note the following items:
|
|
285
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
305
286
|
*
|
|
306
287
|
* @example
|
|
307
288
|
* sp-bp67acfmxazb4p****
|
|
@@ -309,13 +290,12 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk ext
|
|
|
309
290
|
autoSnapshotPolicyId?: string;
|
|
310
291
|
/**
|
|
311
292
|
* @remarks
|
|
312
|
-
* Specifies whether to enable performance burst. Valid values:
|
|
313
|
-
*
|
|
314
|
-
* - true: Enables performance burst.
|
|
293
|
+
* Specifies whether to enable the performance burst feature. Valid values:
|
|
315
294
|
*
|
|
316
|
-
* -
|
|
295
|
+
* - true: enables the feature.
|
|
296
|
+
* - false: does not enable the feature.
|
|
317
297
|
*
|
|
318
|
-
* > 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).
|
|
298
|
+
* > 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).
|
|
319
299
|
*
|
|
320
300
|
* @example
|
|
321
301
|
* false
|
|
@@ -325,15 +305,14 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk ext
|
|
|
325
305
|
* @remarks
|
|
326
306
|
* The encryption algorithm for the system disk. Valid values:
|
|
327
307
|
*
|
|
328
|
-
* - aes-256
|
|
329
|
-
*
|
|
330
|
-
* - sm4-128.
|
|
308
|
+
* - aes-256
|
|
309
|
+
* - sm4-128
|
|
331
310
|
*
|
|
332
311
|
* Default value: aes-256.
|
|
333
312
|
*
|
|
334
|
-
*
|
|
313
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
335
314
|
*
|
|
336
|
-
* > This parameter is not
|
|
315
|
+
* > This parameter is not publicly available.
|
|
337
316
|
*
|
|
338
317
|
* @example
|
|
339
318
|
* aes-256
|
|
@@ -341,15 +320,15 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk ext
|
|
|
341
320
|
encryptAlgorithm?: string;
|
|
342
321
|
/**
|
|
343
322
|
* @remarks
|
|
344
|
-
* Specifies whether
|
|
323
|
+
* Specifies whether the system disk is encrypted. Valid values:
|
|
345
324
|
*
|
|
346
|
-
* - true:
|
|
325
|
+
* - true: encrypted.
|
|
347
326
|
*
|
|
348
|
-
* - false:
|
|
327
|
+
* - false: not encrypted.
|
|
349
328
|
*
|
|
350
329
|
* Default value: false.
|
|
351
330
|
*
|
|
352
|
-
*
|
|
331
|
+
* If you specify both.
|
|
353
332
|
*
|
|
354
333
|
* @example
|
|
355
334
|
* false
|
|
@@ -357,9 +336,9 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk ext
|
|
|
357
336
|
encrypted?: string;
|
|
358
337
|
/**
|
|
359
338
|
* @remarks
|
|
360
|
-
* The KMS key ID
|
|
339
|
+
* The KMS key ID of the system disk.
|
|
361
340
|
*
|
|
362
|
-
* When both a launch template and launch configuration
|
|
341
|
+
* When both a launch template and launch configuration information are specified, the launch template takes precedence.
|
|
363
342
|
*
|
|
364
343
|
* @example
|
|
365
344
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -367,11 +346,10 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk ext
|
|
|
367
346
|
KMSKeyId?: string;
|
|
368
347
|
/**
|
|
369
348
|
* @remarks
|
|
370
|
-
* The provisioned read/write IOPS
|
|
371
|
-
*
|
|
372
|
-
* Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
349
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}.
|
|
373
350
|
*
|
|
374
|
-
*
|
|
351
|
+
* Baseline performance = min{1,800 + 50 × Capacity, 50,000}.
|
|
352
|
+
* > 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).
|
|
375
353
|
*
|
|
376
354
|
* @example
|
|
377
355
|
* 40000
|
|
@@ -411,7 +389,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk ext
|
|
|
411
389
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationTag extends $dara.Model {
|
|
412
390
|
/**
|
|
413
391
|
* @remarks
|
|
414
|
-
* The tag key of the instance.
|
|
392
|
+
* 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.
|
|
415
393
|
*
|
|
416
394
|
* @example
|
|
417
395
|
* TestKey
|
|
@@ -419,7 +397,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationTag extends $d
|
|
|
419
397
|
key?: string;
|
|
420
398
|
/**
|
|
421
399
|
* @remarks
|
|
422
|
-
* The tag value of the instance.
|
|
400
|
+
* 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.
|
|
423
401
|
*
|
|
424
402
|
* @example
|
|
425
403
|
* TestValue
|
|
@@ -453,7 +431,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationCpuOptions ext
|
|
|
453
431
|
* @remarks
|
|
454
432
|
* The number of CPU cores.
|
|
455
433
|
*
|
|
456
|
-
* Default value:
|
|
434
|
+
* Default value: see [Specify and view CPU options](https://www.alibabacloud.com/help/en/ecs/user-guide/specify-and-view-cpu-options).
|
|
457
435
|
*
|
|
458
436
|
* @example
|
|
459
437
|
* 2
|
|
@@ -461,13 +439,13 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationCpuOptions ext
|
|
|
461
439
|
core?: number;
|
|
462
440
|
/**
|
|
463
441
|
* @remarks
|
|
464
|
-
* The number of CPU
|
|
442
|
+
* The number of threads per CPU core. The number of vCPUs of the ECS instance = CpuOptions.Core value × CpuOptions.ThreadsPerCore value.
|
|
465
443
|
*
|
|
466
|
-
* CpuOptions.ThreadsPerCore
|
|
444
|
+
* If CpuOptions.ThreadsPerCore is set to 1, CPU hyper-threading is disabled.
|
|
467
445
|
*
|
|
468
|
-
* Only specific instance types support
|
|
446
|
+
* Only specific instance types support custom CPU thread counts.
|
|
469
447
|
*
|
|
470
|
-
*
|
|
448
|
+
* 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).
|
|
471
449
|
*
|
|
472
450
|
* @example
|
|
473
451
|
* 2
|
|
@@ -499,11 +477,9 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationCpuOptions ext
|
|
|
499
477
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
500
478
|
/**
|
|
501
479
|
* @remarks
|
|
502
|
-
* Specifies whether
|
|
503
|
-
*
|
|
504
|
-
* -
|
|
505
|
-
*
|
|
506
|
-
* - false: Not supported.
|
|
480
|
+
* Specifies whether the instance that uses this image supports logon as the ecs-user user. Valid values:
|
|
481
|
+
* - true: supported.
|
|
482
|
+
* - false: not supported.
|
|
507
483
|
*
|
|
508
484
|
* @example
|
|
509
485
|
* false
|
|
@@ -582,18 +558,18 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSecurityOption
|
|
|
582
558
|
export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara.Model {
|
|
583
559
|
/**
|
|
584
560
|
* @remarks
|
|
585
|
-
* > This parameter is in invitational preview and is not
|
|
561
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
586
562
|
*/
|
|
587
563
|
arn?: CreateAutoProvisioningGroupRequestLaunchConfigurationArn[];
|
|
588
564
|
/**
|
|
589
565
|
* @remarks
|
|
590
|
-
* The automatic release time
|
|
566
|
+
* 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.
|
|
591
567
|
*
|
|
592
|
-
* - If seconds (`ss`)
|
|
568
|
+
* - If the value of seconds (`ss`) is not `00`, the time is automatically rounded down to the start of the current minute (`mm`).
|
|
593
569
|
*
|
|
594
570
|
* - The earliest release time is 30 minutes after the current time.
|
|
595
571
|
*
|
|
596
|
-
* - The latest release time cannot
|
|
572
|
+
* - The latest release time cannot be more than three years from the current time.
|
|
597
573
|
*
|
|
598
574
|
* @example
|
|
599
575
|
* 2018-01-01T12:05:00Z
|
|
@@ -601,15 +577,14 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
601
577
|
autoReleaseTime?: string;
|
|
602
578
|
/**
|
|
603
579
|
* @remarks
|
|
604
|
-
* The running mode of burstable
|
|
580
|
+
* The running mode of the burstable instance. Valid values:
|
|
605
581
|
*
|
|
606
|
-
* - Standard:
|
|
582
|
+
* - 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).
|
|
583
|
+
* - 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).
|
|
607
584
|
*
|
|
608
|
-
*
|
|
585
|
+
* Default value: none.
|
|
609
586
|
*
|
|
610
|
-
*
|
|
611
|
-
*
|
|
612
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
587
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
613
588
|
*
|
|
614
589
|
* @example
|
|
615
590
|
* Standard
|
|
@@ -617,12 +592,12 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
617
592
|
creditSpecification?: string;
|
|
618
593
|
/**
|
|
619
594
|
* @remarks
|
|
620
|
-
* The list of data disk configurations
|
|
595
|
+
* The list of data disk configurations in the launch configuration.
|
|
621
596
|
*/
|
|
622
597
|
dataDisk?: CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk[];
|
|
623
598
|
/**
|
|
624
599
|
* @remarks
|
|
625
|
-
* The deployment set
|
|
600
|
+
* The ID of the deployment set.
|
|
626
601
|
*
|
|
627
602
|
* @example
|
|
628
603
|
* ds-bp1frxuzdg87zh4p****
|
|
@@ -630,17 +605,13 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
630
605
|
deploymentSetId?: string;
|
|
631
606
|
/**
|
|
632
607
|
* @remarks
|
|
633
|
-
* The hostname of the instance.
|
|
634
|
-
*
|
|
635
|
-
* - Periods (.) and hyphens (-) cannot be the first or last character and cannot appear consecutively.
|
|
636
|
-
*
|
|
637
|
-
* - Windows instances: 2–15 characters. Periods (.) are not supported. Cannot consist of only digits. Can contain letters, digits, and hyphens (-).
|
|
608
|
+
* The hostname of the instance. The following limits apply:
|
|
638
609
|
*
|
|
639
|
-
* -
|
|
640
|
-
*
|
|
641
|
-
* -
|
|
642
|
-
*
|
|
643
|
-
* -
|
|
610
|
+
* - Periods (.) and hyphens (-) cannot be used as the first or last characters and cannot be used consecutively.
|
|
611
|
+
* - 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 (-).
|
|
612
|
+
* - 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 (-).
|
|
613
|
+
* - You cannot specify both `LaunchConfiguration.HostName` and `LaunchConfiguration.HostNames.N`. Otherwise, an error is returned.
|
|
614
|
+
* - If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
644
615
|
*
|
|
645
616
|
* @example
|
|
646
617
|
* k8s-node-[1,4]-ecshost
|
|
@@ -648,15 +619,12 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
648
619
|
hostName?: string;
|
|
649
620
|
/**
|
|
650
621
|
* @remarks
|
|
651
|
-
* The list of hostnames for one or more instances.
|
|
652
|
-
*
|
|
653
|
-
* - This parameter takes effect only when creating an auto provisioning group with `AutoProvisioningGroupType=instant`.
|
|
622
|
+
* The list of hostnames for one or more instances. The following limits apply:
|
|
654
623
|
*
|
|
655
|
-
* -
|
|
656
|
-
*
|
|
657
|
-
* - Periods (.) and hyphens (-) cannot be the first or last
|
|
658
|
-
*
|
|
659
|
-
* - When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
624
|
+
* - This parameter takes effect only when you create a one-time synchronous delivery auto provisioning group (`AutoProvisioningGroupType=instant`).
|
|
625
|
+
* - N indicates the number of instances. Valid values of N: 1 to 1000. The value must be consistent with the TotalTargetCapacity parameter.
|
|
626
|
+
* - Periods (.) and hyphens (-) cannot be used as the first or last characters and cannot be used consecutively.
|
|
627
|
+
* - If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
660
628
|
*
|
|
661
629
|
* @example
|
|
662
630
|
* ecs-host-01
|
|
@@ -664,7 +632,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
664
632
|
hostNames?: string[];
|
|
665
633
|
/**
|
|
666
634
|
* @remarks
|
|
667
|
-
* The image family
|
|
635
|
+
* 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 (-).
|
|
668
636
|
*
|
|
669
637
|
* @example
|
|
670
638
|
* hangzhou-daily-update
|
|
@@ -672,7 +640,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
672
640
|
imageFamily?: string;
|
|
673
641
|
/**
|
|
674
642
|
* @remarks
|
|
675
|
-
* The
|
|
643
|
+
* 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.
|
|
676
644
|
*
|
|
677
645
|
* @example
|
|
678
646
|
* m-bp1g7004ksh0oeuc****
|
|
@@ -680,7 +648,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
680
648
|
imageId?: string;
|
|
681
649
|
/**
|
|
682
650
|
* @remarks
|
|
683
|
-
* The instance
|
|
651
|
+
* 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.
|
|
684
652
|
*
|
|
685
653
|
* @example
|
|
686
654
|
* Instance_Description
|
|
@@ -688,13 +656,13 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
688
656
|
instanceDescription?: string;
|
|
689
657
|
/**
|
|
690
658
|
* @remarks
|
|
691
|
-
* The instance
|
|
659
|
+
* 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 (-).
|
|
692
660
|
*
|
|
693
|
-
* Default value:
|
|
661
|
+
* Default value: the `InstanceId` of the instance.
|
|
694
662
|
*
|
|
695
|
-
*
|
|
663
|
+
* 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).
|
|
696
664
|
*
|
|
697
|
-
*
|
|
665
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
698
666
|
*
|
|
699
667
|
* @example
|
|
700
668
|
* k8s-node-[1,4]-alibabacloud
|
|
@@ -702,15 +670,14 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
702
670
|
instanceName?: string;
|
|
703
671
|
/**
|
|
704
672
|
* @remarks
|
|
705
|
-
* The network
|
|
706
|
-
*
|
|
707
|
-
* - PayByBandwidth: Pay-by-bandwidth.
|
|
673
|
+
* The billing method for network usage. Valid values:
|
|
708
674
|
*
|
|
709
|
-
* -
|
|
675
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
676
|
+
* - PayByTraffic: pay-by-traffic.
|
|
710
677
|
*
|
|
711
|
-
* >
|
|
678
|
+
* > 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.
|
|
712
679
|
*
|
|
713
|
-
*
|
|
680
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
714
681
|
*
|
|
715
682
|
* @example
|
|
716
683
|
* PayByTraffic
|
|
@@ -718,13 +685,12 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
718
685
|
internetChargeType?: string;
|
|
719
686
|
/**
|
|
720
687
|
* @remarks
|
|
721
|
-
* The maximum inbound public bandwidth
|
|
688
|
+
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
722
689
|
*
|
|
723
|
-
* -
|
|
690
|
+
* - If the maximum outbound public bandwidth is less than or equal to 10 Mbit/s: 1 to 10. Default value: 10.
|
|
691
|
+
* - 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`.
|
|
724
692
|
*
|
|
725
|
-
*
|
|
726
|
-
*
|
|
727
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
693
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
728
694
|
*
|
|
729
695
|
* @example
|
|
730
696
|
* 10
|
|
@@ -732,11 +698,11 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
732
698
|
internetMaxBandwidthIn?: number;
|
|
733
699
|
/**
|
|
734
700
|
* @remarks
|
|
735
|
-
* The maximum outbound public bandwidth
|
|
701
|
+
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
736
702
|
*
|
|
737
703
|
* Default value: 0.
|
|
738
704
|
*
|
|
739
|
-
*
|
|
705
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
740
706
|
*
|
|
741
707
|
* @example
|
|
742
708
|
* 10
|
|
@@ -744,15 +710,14 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
744
710
|
internetMaxBandwidthOut?: number;
|
|
745
711
|
/**
|
|
746
712
|
* @remarks
|
|
747
|
-
* Specifies whether the instance is I/O optimized. Valid values:
|
|
748
|
-
*
|
|
749
|
-
* - none: Not I/O optimized.
|
|
713
|
+
* Specifies whether the instance is an I/O optimized instance. Valid values:
|
|
750
714
|
*
|
|
751
|
-
* -
|
|
715
|
+
* - none: non-I/O optimization.
|
|
716
|
+
* - optimized: I/O optimization.
|
|
752
717
|
*
|
|
753
718
|
* For retired instance types, the default value is none. For other instance types, the default value is optimized.
|
|
754
719
|
*
|
|
755
|
-
*
|
|
720
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
756
721
|
*
|
|
757
722
|
* @example
|
|
758
723
|
* optimized
|
|
@@ -760,13 +725,12 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
760
725
|
ioOptimized?: string;
|
|
761
726
|
/**
|
|
762
727
|
* @remarks
|
|
763
|
-
* The key pair
|
|
764
|
-
*
|
|
765
|
-
* - For Windows instances, this parameter is ignored. Default value: empty.
|
|
728
|
+
* The name of the key pair.
|
|
766
729
|
*
|
|
767
|
-
* -
|
|
730
|
+
* - For Windows instances, this parameter is ignored and is empty by default.
|
|
731
|
+
* - For Linux instances, password-based logon is disabled during initialization.
|
|
768
732
|
*
|
|
769
|
-
*
|
|
733
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
770
734
|
*
|
|
771
735
|
* @example
|
|
772
736
|
* KeyPair_Name
|
|
@@ -774,13 +738,13 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
774
738
|
keyPairName?: string;
|
|
775
739
|
/**
|
|
776
740
|
* @remarks
|
|
777
|
-
* The instance
|
|
741
|
+
* 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:
|
|
778
742
|
*
|
|
779
743
|
* ``()`~!@#$%^&*-_+=|{}`[]`:;\\"<>,.?/``
|
|
780
744
|
*
|
|
781
745
|
* For Windows instances, the password cannot start with a forward slash (/).
|
|
782
746
|
*
|
|
783
|
-
*
|
|
747
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
784
748
|
*
|
|
785
749
|
* @example
|
|
786
750
|
* EcsV587!
|
|
@@ -790,11 +754,10 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
790
754
|
* @remarks
|
|
791
755
|
* Specifies whether to use the password preset in the image. Valid values:
|
|
792
756
|
*
|
|
793
|
-
* - true:
|
|
757
|
+
* - true: uses the preset password.
|
|
758
|
+
* - false: does not use the preset password.
|
|
794
759
|
*
|
|
795
|
-
*
|
|
796
|
-
*
|
|
797
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
760
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
798
761
|
*
|
|
799
762
|
* @example
|
|
800
763
|
* true
|
|
@@ -802,7 +765,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
802
765
|
passwordInherit?: boolean;
|
|
803
766
|
/**
|
|
804
767
|
* @remarks
|
|
805
|
-
* The
|
|
768
|
+
* 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.
|
|
806
769
|
*
|
|
807
770
|
* @example
|
|
808
771
|
* RAM_Name
|
|
@@ -810,7 +773,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
810
773
|
ramRoleName?: string;
|
|
811
774
|
/**
|
|
812
775
|
* @remarks
|
|
813
|
-
* The resource group
|
|
776
|
+
* 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.
|
|
814
777
|
*
|
|
815
778
|
* @example
|
|
816
779
|
* rg-bp67acfmxazb4p****
|
|
@@ -820,11 +783,10 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
820
783
|
* @remarks
|
|
821
784
|
* Specifies whether to enable security hardening. Valid values:
|
|
822
785
|
*
|
|
823
|
-
* -
|
|
824
|
-
*
|
|
825
|
-
* - Deactive: Disables security hardening. Applies to all image types.
|
|
786
|
+
* - Active: enables security hardening. This value is applicable only to public images.
|
|
787
|
+
* - Deactive: disables security hardening. This value is applicable to all image types.
|
|
826
788
|
*
|
|
827
|
-
*
|
|
789
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
828
790
|
*
|
|
829
791
|
* @example
|
|
830
792
|
* Active
|
|
@@ -832,7 +794,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
832
794
|
securityEnhancementStrategy?: string;
|
|
833
795
|
/**
|
|
834
796
|
* @remarks
|
|
835
|
-
* The security group
|
|
797
|
+
* 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.
|
|
836
798
|
*
|
|
837
799
|
* @example
|
|
838
800
|
* sg-bp15ed6xe1yxeycg****
|
|
@@ -845,24 +807,21 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
845
807
|
securityGroupIds?: string[];
|
|
846
808
|
/**
|
|
847
809
|
* @remarks
|
|
848
|
-
*
|
|
810
|
+
* The system disk information of the instance. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
849
811
|
*/
|
|
850
812
|
systemDisk?: CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk;
|
|
851
813
|
/**
|
|
852
814
|
* @remarks
|
|
853
815
|
* The category of the system disk. Valid values:
|
|
854
816
|
*
|
|
855
|
-
* -
|
|
856
|
-
*
|
|
857
|
-
* -
|
|
817
|
+
* - cloud_efficiency: ultra disk.
|
|
818
|
+
* - cloud_ssd: standard SSD.
|
|
819
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
820
|
+
* - cloud: basic disk.
|
|
858
821
|
*
|
|
859
|
-
* -
|
|
822
|
+
* 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.
|
|
860
823
|
*
|
|
861
|
-
*
|
|
862
|
-
*
|
|
863
|
-
* For retired instance types that are not I/O optimized, the default value is cloud. Otherwise, the default value is cloud_efficiency.
|
|
864
|
-
*
|
|
865
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
824
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
866
825
|
*
|
|
867
826
|
* @example
|
|
868
827
|
* cloud_ssd
|
|
@@ -872,7 +831,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
872
831
|
* @remarks
|
|
873
832
|
* The description of the system disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
874
833
|
*
|
|
875
|
-
*
|
|
834
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
876
835
|
*
|
|
877
836
|
* @example
|
|
878
837
|
* SystemDisk_Description
|
|
@@ -880,11 +839,11 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
880
839
|
systemDiskDescription?: string;
|
|
881
840
|
/**
|
|
882
841
|
* @remarks
|
|
883
|
-
* The name of the system disk. The name must be 2 to 128 characters in length and can contain
|
|
842
|
+
* 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 (-).
|
|
884
843
|
*
|
|
885
844
|
* Default value: empty.
|
|
886
845
|
*
|
|
887
|
-
*
|
|
846
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
888
847
|
*
|
|
889
848
|
* @example
|
|
890
849
|
* cloud_ssdSystem
|
|
@@ -892,19 +851,16 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
892
851
|
systemDiskName?: string;
|
|
893
852
|
/**
|
|
894
853
|
* @remarks
|
|
895
|
-
* The performance level of the
|
|
896
|
-
*
|
|
897
|
-
* - PL0 (default): Up to 10,000 random read/write IOPS per disk.
|
|
898
|
-
*
|
|
899
|
-
* - PL1: Up to 50,000 random read/write IOPS per disk.
|
|
900
|
-
*
|
|
901
|
-
* - PL2: Up to 100,000 random read/write IOPS per disk.
|
|
854
|
+
* The performance level (PL) of the enterprise SSD used as the system disk. Valid values:
|
|
902
855
|
*
|
|
903
|
-
* -
|
|
856
|
+
* - PL0 (default): a single disk can deliver up to 10,000 random read/write IOPS.
|
|
857
|
+
* - PL1: a single disk can deliver up to 50,000 random read/write IOPS.
|
|
858
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
859
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
904
860
|
*
|
|
905
|
-
* For
|
|
861
|
+
* For information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
906
862
|
*
|
|
907
|
-
*
|
|
863
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
908
864
|
*
|
|
909
865
|
* @example
|
|
910
866
|
* PL0
|
|
@@ -912,11 +868,11 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
912
868
|
systemDiskPerformanceLevel?: string;
|
|
913
869
|
/**
|
|
914
870
|
* @remarks
|
|
915
|
-
* The size of the system disk
|
|
871
|
+
* 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}.
|
|
916
872
|
*
|
|
917
873
|
* Default value: max{40, size of the image specified by LaunchConfiguration.ImageId}.
|
|
918
874
|
*
|
|
919
|
-
*
|
|
875
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
920
876
|
*
|
|
921
877
|
* @example
|
|
922
878
|
* 40
|
|
@@ -924,12 +880,12 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
924
880
|
systemDiskSize?: number;
|
|
925
881
|
/**
|
|
926
882
|
* @remarks
|
|
927
|
-
* The list of tags
|
|
883
|
+
* The list of tags in the launch configuration.
|
|
928
884
|
*/
|
|
929
885
|
tag?: CreateAutoProvisioningGroupRequestLaunchConfigurationTag[];
|
|
930
886
|
/**
|
|
931
887
|
* @remarks
|
|
932
|
-
*
|
|
888
|
+
* 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.
|
|
933
889
|
*
|
|
934
890
|
* @example
|
|
935
891
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
@@ -937,11 +893,10 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
937
893
|
userData?: string;
|
|
938
894
|
/**
|
|
939
895
|
* @remarks
|
|
940
|
-
* Specifies whether to enable auto-renewal.
|
|
896
|
+
* Specifies whether to enable auto-renewal. This parameter takes effect when you create subscription instances. Valid values:
|
|
941
897
|
*
|
|
942
|
-
* - true:
|
|
943
|
-
*
|
|
944
|
-
* - false (default): Disables auto-renewal.
|
|
898
|
+
* - true: enables auto-renewal.
|
|
899
|
+
* - false (default): does not enable auto-renewal.
|
|
945
900
|
*
|
|
946
901
|
* @example
|
|
947
902
|
* true
|
|
@@ -949,21 +904,15 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
949
904
|
autoRenew?: boolean;
|
|
950
905
|
/**
|
|
951
906
|
* @remarks
|
|
952
|
-
* The auto-renewal
|
|
953
|
-
*
|
|
907
|
+
* The auto-renewal period. Valid values:
|
|
908
|
+
*
|
|
954
909
|
* <props="china">
|
|
910
|
+
* - If PeriodUnit is set to Week: 1, 2, and 3.
|
|
911
|
+
* - If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
955
912
|
*
|
|
956
|
-
* - When PeriodUnit=Week: 1, 2, 3.
|
|
957
|
-
*
|
|
958
|
-
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
959
|
-
*
|
|
960
|
-
*
|
|
961
|
-
*
|
|
962
|
-
* <props="intl">
|
|
963
|
-
*
|
|
964
|
-
* When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
965
913
|
*
|
|
966
914
|
*
|
|
915
|
+
* <props="intl">If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
967
916
|
*
|
|
968
917
|
* Default value: 1.
|
|
969
918
|
*
|
|
@@ -973,39 +922,30 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
973
922
|
autoRenewPeriod?: number;
|
|
974
923
|
/**
|
|
975
924
|
* @remarks
|
|
976
|
-
* CPU
|
|
925
|
+
* The CPU-related configurations.
|
|
977
926
|
*/
|
|
978
927
|
cpuOptions?: CreateAutoProvisioningGroupRequestLaunchConfigurationCpuOptions;
|
|
979
928
|
/**
|
|
980
929
|
* @remarks
|
|
981
|
-
*
|
|
982
|
-
*
|
|
983
|
-
* Note:
|
|
930
|
+
* The image-related property information.
|
|
984
931
|
*
|
|
985
|
-
*
|
|
932
|
+
* After you set this parameter, note the following items:
|
|
933
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
986
934
|
*/
|
|
987
935
|
imageOptions?: CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions;
|
|
988
936
|
/**
|
|
989
937
|
* @remarks
|
|
990
|
-
* The subscription duration
|
|
938
|
+
* The subscription duration of the resource. Unit: specified by `PeriodUnit`. This parameter is required when you create subscription instances. Valid values:
|
|
991
939
|
*
|
|
992
940
|
* <props="china">
|
|
993
|
-
*
|
|
994
|
-
* -
|
|
995
|
-
*
|
|
996
|
-
* - When PeriodUnit=Month, Period values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
|
|
997
|
-
*
|
|
941
|
+
* - If PeriodUnit is set to Week, valid values of Period: 1, 2, 3, and 4.
|
|
942
|
+
* - 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.
|
|
998
943
|
*
|
|
999
944
|
*
|
|
1000
|
-
* <props="intl">
|
|
1001
945
|
*
|
|
1002
|
-
*
|
|
946
|
+
* <props="intl">If PeriodUnit is set to Month, valid values of Period: 1, 2, 3, 6, and 12.
|
|
1003
947
|
*
|
|
1004
|
-
*
|
|
1005
|
-
*
|
|
1006
|
-
* <props="partner">
|
|
1007
|
-
*
|
|
1008
|
-
* When PeriodUnit=Month, Period values: 1, 2, 3, 6, 12.
|
|
948
|
+
* <props="partner">If PeriodUnit is set to Month, valid values of Period: 1, 2, 3, 6, and 12.
|
|
1009
949
|
*
|
|
1010
950
|
* @example
|
|
1011
951
|
* 1
|
|
@@ -1013,19 +953,15 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
1013
953
|
period?: number;
|
|
1014
954
|
/**
|
|
1015
955
|
* @remarks
|
|
1016
|
-
* The
|
|
956
|
+
* The unit of the subscription billable methods duration. Valid values:
|
|
1017
957
|
*
|
|
1018
958
|
* <props="china">
|
|
1019
|
-
*
|
|
1020
|
-
* -
|
|
1021
|
-
*
|
|
1022
|
-
* - Month (default).
|
|
1023
|
-
*
|
|
959
|
+
* - Week
|
|
960
|
+
* - Month (default)
|
|
1024
961
|
*
|
|
1025
962
|
*
|
|
1026
|
-
* <props="intl">
|
|
1027
963
|
*
|
|
1028
|
-
* Month (default).
|
|
964
|
+
* <props="intl">Month (default).
|
|
1029
965
|
*
|
|
1030
966
|
* @example
|
|
1031
967
|
* Month
|
|
@@ -1035,17 +971,14 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
1035
971
|
securityOptions?: CreateAutoProvisioningGroupRequestLaunchConfigurationSecurityOptions;
|
|
1036
972
|
/**
|
|
1037
973
|
* @remarks
|
|
1038
|
-
* The
|
|
974
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
975
|
+
* - 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.
|
|
976
|
+
* - 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.
|
|
1039
977
|
*
|
|
1040
|
-
*
|
|
978
|
+
* 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.
|
|
1041
979
|
*
|
|
1042
|
-
*
|
|
1043
|
-
*
|
|
1044
|
-
* Alibaba Cloud sends an ECS system event notification 5 minutes before reclaiming a spot instance. Spot instances are billed per second. Choose the reserved duration based on your task execution time.
|
|
1045
|
-
*
|
|
1046
|
-
* Note:
|
|
1047
|
-
*
|
|
1048
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
980
|
+
* After you set this parameter, note the following items:
|
|
981
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
1049
982
|
*
|
|
1050
983
|
* @example
|
|
1051
984
|
* 1
|
|
@@ -1053,19 +986,18 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
1053
986
|
spotDuration?: number;
|
|
1054
987
|
/**
|
|
1055
988
|
* @remarks
|
|
1056
|
-
* The
|
|
989
|
+
* The spot instance break mode. Valid values:
|
|
1057
990
|
*
|
|
1058
|
-
* - Terminate:
|
|
991
|
+
* - Terminate: directly releases the instance.
|
|
1059
992
|
*
|
|
1060
|
-
* - Stop:
|
|
993
|
+
* - Stop: puts the instance into economical mode.
|
|
1061
994
|
*
|
|
1062
995
|
* For more information about economical mode, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
|
|
1063
996
|
*
|
|
1064
997
|
* Default value: Terminate.
|
|
1065
998
|
*
|
|
1066
|
-
*
|
|
1067
|
-
*
|
|
1068
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
999
|
+
* After you set this parameter, note the following items:
|
|
1000
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
1069
1001
|
*
|
|
1070
1002
|
* @example
|
|
1071
1003
|
* Terminate
|
|
@@ -1235,15 +1167,12 @@ export class CreateAutoProvisioningGroupRequestCandidateOptions extends $dara.Mo
|
|
|
1235
1167
|
export class CreateAutoProvisioningGroupRequestDataDiskConfig extends $dara.Model {
|
|
1236
1168
|
/**
|
|
1237
1169
|
* @remarks
|
|
1238
|
-
* The data disk
|
|
1239
|
-
*
|
|
1240
|
-
* - cloud_efficiency: Ultra disk.
|
|
1241
|
-
*
|
|
1242
|
-
* - cloud_ssd: Standard SSD.
|
|
1170
|
+
* 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:
|
|
1243
1171
|
*
|
|
1244
|
-
* -
|
|
1245
|
-
*
|
|
1246
|
-
* -
|
|
1172
|
+
* - cloud_efficiency: ultra disk.
|
|
1173
|
+
* - cloud_ssd: standard SSD.
|
|
1174
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
1175
|
+
* - cloud: basic disk.
|
|
1247
1176
|
*
|
|
1248
1177
|
* @example
|
|
1249
1178
|
* cloud_efficiency
|
|
@@ -1278,13 +1207,11 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
1278
1207
|
architectures?: string[];
|
|
1279
1208
|
/**
|
|
1280
1209
|
* @remarks
|
|
1281
|
-
* Specifies whether
|
|
1282
|
-
*
|
|
1283
|
-
* - Exclude: Excludes burstable instance types.
|
|
1284
|
-
*
|
|
1285
|
-
* - Include: Includes burstable instance types.
|
|
1210
|
+
* Specifies whether to include burstable instance types. Valid values:
|
|
1286
1211
|
*
|
|
1287
|
-
* -
|
|
1212
|
+
* - Exclude: excludes burstable instance types.
|
|
1213
|
+
* - Include: includes burstable instance types.
|
|
1214
|
+
* - Required: includes only burstable instance types.
|
|
1288
1215
|
*
|
|
1289
1216
|
* Default value: Include.
|
|
1290
1217
|
*
|
|
@@ -1294,7 +1221,7 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
1294
1221
|
burstablePerformance?: string;
|
|
1295
1222
|
/**
|
|
1296
1223
|
* @remarks
|
|
1297
|
-
* The list of vCPU counts for instance types.
|
|
1224
|
+
* The list of vCPU core counts for instance types.
|
|
1298
1225
|
*/
|
|
1299
1226
|
cores?: number[];
|
|
1300
1227
|
/**
|
|
@@ -1304,7 +1231,7 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
1304
1231
|
excludedInstanceTypes?: string[];
|
|
1305
1232
|
/**
|
|
1306
1233
|
* @remarks
|
|
1307
|
-
* The image ID.
|
|
1234
|
+
* 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.
|
|
1308
1235
|
* Note: This parameter is supported only when `AutoProvisioningGroupType = instant`.
|
|
1309
1236
|
*
|
|
1310
1237
|
* @example
|
|
@@ -1313,15 +1240,13 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
1313
1240
|
imageId?: string;
|
|
1314
1241
|
/**
|
|
1315
1242
|
* @remarks
|
|
1316
|
-
* The instance family
|
|
1243
|
+
* The level of the instance family, used to filter instance types that meet the requirements. Valid values:
|
|
1317
1244
|
*
|
|
1318
|
-
* - EntryLevel:
|
|
1245
|
+
* - 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).
|
|
1246
|
+
* - 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).
|
|
1247
|
+
* - 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).
|
|
1319
1248
|
*
|
|
1320
|
-
*
|
|
1321
|
-
*
|
|
1322
|
-
* - CreditEntryLevel: Credit entry-level, or burstable instances. Uses CPU credits to guarantee computing performance. Suitable for workloads with low average CPU usage and occasional bursts. For more information, see [Burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
1323
|
-
*
|
|
1324
|
-
* N ranges from 1 to 10.
|
|
1249
|
+
* Valid values of N: 1 to 10.
|
|
1325
1250
|
*
|
|
1326
1251
|
* @example
|
|
1327
1252
|
* EnterpriseLevel
|
|
@@ -1329,7 +1254,7 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
1329
1254
|
instanceFamilyLevel?: string;
|
|
1330
1255
|
/**
|
|
1331
1256
|
* @remarks
|
|
1332
|
-
* The instance type
|
|
1257
|
+
* 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).
|
|
1333
1258
|
*
|
|
1334
1259
|
* @example
|
|
1335
1260
|
* ecs.g5.large
|
|
@@ -1337,9 +1262,9 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
1337
1262
|
instanceType?: string;
|
|
1338
1263
|
/**
|
|
1339
1264
|
* @remarks
|
|
1340
|
-
* The maximum
|
|
1265
|
+
* The maximum price for spot instances in the extended launch template.
|
|
1341
1266
|
*
|
|
1342
|
-
* > After
|
|
1267
|
+
* > After you set `LaunchTemplateConfig`, `LaunchTemplateConfig.N.MaxPrice` is required.
|
|
1343
1268
|
*
|
|
1344
1269
|
* @example
|
|
1345
1270
|
* 3
|
|
@@ -1347,7 +1272,7 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
1347
1272
|
maxPrice?: number;
|
|
1348
1273
|
/**
|
|
1349
1274
|
* @remarks
|
|
1350
|
-
* > This parameter is in invitational preview and is not
|
|
1275
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
1351
1276
|
*
|
|
1352
1277
|
* @example
|
|
1353
1278
|
* false
|
|
@@ -1368,9 +1293,9 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
1368
1293
|
priority?: number;
|
|
1369
1294
|
/**
|
|
1370
1295
|
* @remarks
|
|
1371
|
-
* The ID of the
|
|
1296
|
+
* 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.
|
|
1372
1297
|
*
|
|
1373
|
-
* >
|
|
1298
|
+
* > If you specify LaunchTemplateConfig, LaunchTemplateConfig.N.VSwitchId is required.
|
|
1374
1299
|
*
|
|
1375
1300
|
* @example
|
|
1376
1301
|
* vsw-sn5bsitu4lfzgc5o7****
|
|
@@ -1378,13 +1303,12 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
1378
1303
|
vSwitchId?: string;
|
|
1379
1304
|
/**
|
|
1380
1305
|
* @remarks
|
|
1381
|
-
* The weight of the instance type in the extended launch template. A higher value indicates
|
|
1382
|
-
*
|
|
1383
|
-
* 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:
|
|
1306
|
+
* 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.
|
|
1384
1307
|
*
|
|
1385
|
-
*
|
|
1308
|
+
* 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:
|
|
1386
1309
|
*
|
|
1387
|
-
* -
|
|
1310
|
+
* - The weight of an instance type with 8 vCPUs and 60 GiB can be set to 1.
|
|
1311
|
+
* - The weight of an instance type with 16 vCPUs and 120 GiB can be set to 2.
|
|
1388
1312
|
*
|
|
1389
1313
|
* @example
|
|
1390
1314
|
* 2
|
|
@@ -1450,14 +1374,14 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
1450
1374
|
export class CreateAutoProvisioningGroupRequestPrePaidOptionsSpecifyCapacityDistribution extends $dara.Model {
|
|
1451
1375
|
/**
|
|
1452
1376
|
* @remarks
|
|
1453
|
-
* The set of instance types.
|
|
1377
|
+
* The set of instance types. Duplicate values are not allowed, and the instance types must be within the range of LaunchTemplateConfig.InstanceType.
|
|
1454
1378
|
*/
|
|
1455
1379
|
instanceTypes?: string[];
|
|
1456
1380
|
/**
|
|
1457
1381
|
* @remarks
|
|
1458
1382
|
* The minimum number of instances to deliver within the `InstanceTypes` range.
|
|
1459
1383
|
*
|
|
1460
|
-
* >
|
|
1384
|
+
* > 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.
|
|
1461
1385
|
*
|
|
1462
1386
|
* @example
|
|
1463
1387
|
* 5
|
|
@@ -1527,14 +1451,13 @@ export class CreateAutoProvisioningGroupRequestResourcePoolOptions extends $dara
|
|
|
1527
1451
|
privatePoolIds?: string[];
|
|
1528
1452
|
/**
|
|
1529
1453
|
* @remarks
|
|
1530
|
-
* Resource pools include private pools generated
|
|
1454
|
+
* Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, and public pools for instance startup. Valid values:
|
|
1531
1455
|
*
|
|
1532
|
-
* - PrivatePoolFirst:
|
|
1533
|
-
* if ResourcePoolOptions.PrivatePoolIds is specified, the specified private pools are prioritized. If no private pool is specified or the specified private pools lack capacity, open private pools are automatically matched. If no eligible private pools exist, instances are created from the public pool.
|
|
1456
|
+
* - PrivatePoolFirst: private pool first. When you select this strategy and specify ResourcePoolOptions.PrivatePoolIds, the specified private pools are used first. If no private pools are specified or the specified private pools have insufficient capacity, open private pools are automatically matched. If no matching private pools are available, the public pool is used to create instances.
|
|
1534
1457
|
*
|
|
1535
|
-
* - PrivatePoolOnly:
|
|
1458
|
+
* - PrivatePoolOnly: private pool only. When you select this strategy, you must specify ResourcePoolOptions.PrivatePoolIds. If the specified private pools have insufficient capacity, the instance fails to start.
|
|
1536
1459
|
*
|
|
1537
|
-
* - PublicPoolOnly:
|
|
1460
|
+
* - PublicPoolOnly: uses the public pool to create instances.
|
|
1538
1461
|
*
|
|
1539
1462
|
* Default value: PublicPoolOnly.
|
|
1540
1463
|
*
|
|
@@ -1571,15 +1494,12 @@ export class CreateAutoProvisioningGroupRequestResourcePoolOptions extends $dara
|
|
|
1571
1494
|
export class CreateAutoProvisioningGroupRequestSystemDiskConfig extends $dara.Model {
|
|
1572
1495
|
/**
|
|
1573
1496
|
* @remarks
|
|
1574
|
-
* The system disk
|
|
1575
|
-
*
|
|
1576
|
-
* - cloud_efficiency: Ultra disk.
|
|
1577
|
-
*
|
|
1578
|
-
* - cloud_ssd: Standard SSD.
|
|
1579
|
-
*
|
|
1580
|
-
* - cloud_essd: ESSD.
|
|
1497
|
+
* 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:
|
|
1581
1498
|
*
|
|
1582
|
-
* -
|
|
1499
|
+
* - cloud_efficiency: ultra disk.
|
|
1500
|
+
* - cloud_ssd: standard SSD.
|
|
1501
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
1502
|
+
* - cloud: basic disk.
|
|
1583
1503
|
*
|
|
1584
1504
|
* @example
|
|
1585
1505
|
* cloud_ssd
|
|
@@ -1611,7 +1531,7 @@ export class CreateAutoProvisioningGroupRequestTag extends $dara.Model {
|
|
|
1611
1531
|
* @remarks
|
|
1612
1532
|
* The tag key of the auto provisioning group.
|
|
1613
1533
|
*
|
|
1614
|
-
*
|
|
1534
|
+
* 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://.
|
|
1615
1535
|
*
|
|
1616
1536
|
* @example
|
|
1617
1537
|
* TestKey
|
|
@@ -1621,7 +1541,7 @@ export class CreateAutoProvisioningGroupRequestTag extends $dara.Model {
|
|
|
1621
1541
|
* @remarks
|
|
1622
1542
|
* The tag value of the auto provisioning group.
|
|
1623
1543
|
*
|
|
1624
|
-
*
|
|
1544
|
+
* 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://.
|
|
1625
1545
|
*
|
|
1626
1546
|
* @example
|
|
1627
1547
|
* TestValue
|
|
@@ -1654,7 +1574,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1654
1574
|
launchConfiguration?: CreateAutoProvisioningGroupRequestLaunchConfiguration;
|
|
1655
1575
|
/**
|
|
1656
1576
|
* @remarks
|
|
1657
|
-
* The name of the auto provisioning group. The name must be 2 to 128 characters in length and can contain
|
|
1577
|
+
* 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 (-).
|
|
1658
1578
|
*
|
|
1659
1579
|
* @example
|
|
1660
1580
|
* apg-test
|
|
@@ -1664,11 +1584,11 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1664
1584
|
* @remarks
|
|
1665
1585
|
* The delivery type of the auto provisioning group. Valid values:
|
|
1666
1586
|
*
|
|
1667
|
-
* - request:
|
|
1587
|
+
* - request: one-time asynchronous delivery. The group delivers an instance cluster asynchronously only at startup. If scheduling fails, no retry is performed.
|
|
1668
1588
|
*
|
|
1669
|
-
* - instant:
|
|
1589
|
+
* - 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.
|
|
1670
1590
|
*
|
|
1671
|
-
* - maintain:
|
|
1591
|
+
* - 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.
|
|
1672
1592
|
*
|
|
1673
1593
|
* Default value: maintain.
|
|
1674
1594
|
*
|
|
@@ -1679,7 +1599,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1679
1599
|
candidateOptions?: CreateAutoProvisioningGroupRequestCandidateOptions;
|
|
1680
1600
|
/**
|
|
1681
1601
|
* @remarks
|
|
1682
|
-
*
|
|
1602
|
+
* 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).
|
|
1683
1603
|
*
|
|
1684
1604
|
* @example
|
|
1685
1605
|
* 0c593ea1-3bea-11e9-b96b-88e9fe637760
|
|
@@ -1687,16 +1607,15 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1687
1607
|
clientToken?: string;
|
|
1688
1608
|
/**
|
|
1689
1609
|
* @remarks
|
|
1690
|
-
* The list of data disk configurations
|
|
1610
|
+
* The list of data disk configurations.
|
|
1691
1611
|
*/
|
|
1692
1612
|
dataDiskConfig?: CreateAutoProvisioningGroupRequestDataDiskConfig[];
|
|
1693
1613
|
/**
|
|
1694
1614
|
* @remarks
|
|
1695
|
-
*
|
|
1615
|
+
* The billing method for the capacity difference when the sum of `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` is less than `TotalTargetCapacity`. Valid values:
|
|
1696
1616
|
*
|
|
1697
|
-
* - PayAsYouGo:
|
|
1698
|
-
*
|
|
1699
|
-
* - Spot: Spot instances.
|
|
1617
|
+
* - PayAsYouGo: pay-as-you-go instances.
|
|
1618
|
+
* - Spot: spot instances.
|
|
1700
1619
|
*
|
|
1701
1620
|
* Default value: Spot.
|
|
1702
1621
|
*
|
|
@@ -1714,11 +1633,10 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1714
1633
|
description?: string;
|
|
1715
1634
|
/**
|
|
1716
1635
|
* @remarks
|
|
1717
|
-
* 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:
|
|
1718
|
-
*
|
|
1719
|
-
* - termination: Releases scaled-in instances.
|
|
1636
|
+
* 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:
|
|
1720
1637
|
*
|
|
1721
|
-
* -
|
|
1638
|
+
* - termination: releases the scaled-in instances.
|
|
1639
|
+
* - no-termination: only removes the scaled-in instances from the auto provisioning group.
|
|
1722
1640
|
*
|
|
1723
1641
|
* Default value: no-termination.
|
|
1724
1642
|
*
|
|
@@ -1729,7 +1647,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1729
1647
|
executionMode?: string;
|
|
1730
1648
|
/**
|
|
1731
1649
|
* @remarks
|
|
1732
|
-
* > This parameter is in invitational preview and is not
|
|
1650
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
1733
1651
|
*
|
|
1734
1652
|
* @example
|
|
1735
1653
|
* false
|
|
@@ -1737,12 +1655,12 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1737
1655
|
hibernationOptionsConfigured?: boolean;
|
|
1738
1656
|
/**
|
|
1739
1657
|
* @remarks
|
|
1740
|
-
* The list of extended launch
|
|
1658
|
+
* The list of extended launch templates.
|
|
1741
1659
|
*/
|
|
1742
1660
|
launchTemplateConfig?: CreateAutoProvisioningGroupRequestLaunchTemplateConfig[];
|
|
1743
1661
|
/**
|
|
1744
1662
|
* @remarks
|
|
1745
|
-
* The ID of the launch template associated with the auto provisioning group.
|
|
1663
|
+
* 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.
|
|
1746
1664
|
*
|
|
1747
1665
|
* @example
|
|
1748
1666
|
* lt-bp1fgzds4bdogu03****
|
|
@@ -1750,9 +1668,9 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1750
1668
|
launchTemplateId?: string;
|
|
1751
1669
|
/**
|
|
1752
1670
|
* @remarks
|
|
1753
|
-
* The version of the launch template associated with the auto provisioning group.
|
|
1671
|
+
* 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.
|
|
1754
1672
|
*
|
|
1755
|
-
* Default value:
|
|
1673
|
+
* Default value: the default version of the launch template.
|
|
1756
1674
|
*
|
|
1757
1675
|
* @example
|
|
1758
1676
|
* 1
|
|
@@ -1762,7 +1680,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1762
1680
|
* @remarks
|
|
1763
1681
|
* The maximum price for spot instances in the auto provisioning group.
|
|
1764
1682
|
*
|
|
1765
|
-
* > If both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are
|
|
1683
|
+
* > If both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the lower value is used.
|
|
1766
1684
|
*
|
|
1767
1685
|
* @example
|
|
1768
1686
|
* 2
|
|
@@ -1770,15 +1688,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1770
1688
|
maxSpotPrice?: number;
|
|
1771
1689
|
/**
|
|
1772
1690
|
* @remarks
|
|
1773
|
-
* The minimum target capacity of the auto provisioning group. Valid values
|
|
1774
|
-
*
|
|
1775
|
-
* Note:
|
|
1776
|
-
*
|
|
1777
|
-
* - This parameter takes effect only when creating an auto provisioning group with `AutoProvisioningGroupType=instant`.
|
|
1778
|
-
*
|
|
1779
|
-
* - If the instance inventory in the region is less than this value, the API call fails and no instances are created.
|
|
1780
|
-
*
|
|
1781
|
-
* - If the instance inventory in the region is greater than this value, instances are created based on other configured parameters.
|
|
1691
|
+
* The minimum target capacity of the auto provisioning group. Valid values
|
|
1782
1692
|
*
|
|
1783
1693
|
* @example
|
|
1784
1694
|
* 20
|
|
@@ -1788,11 +1698,11 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1788
1698
|
ownerId?: number;
|
|
1789
1699
|
/**
|
|
1790
1700
|
* @remarks
|
|
1791
|
-
* The
|
|
1701
|
+
* The policy for creating pay-as-you-go instances. Valid values:
|
|
1792
1702
|
*
|
|
1793
|
-
* - lowest-price:
|
|
1703
|
+
* - lowest-price: cost optimization policy. Selects the instance type with the lowest price.
|
|
1794
1704
|
*
|
|
1795
|
-
* - prioritized:
|
|
1705
|
+
* - prioritized: priority-based policy. Creates instances based on the priority specified by `LaunchTemplateConfig.N.Priority`.
|
|
1796
1706
|
*
|
|
1797
1707
|
* Default value: lowest-price.
|
|
1798
1708
|
*
|
|
@@ -1802,7 +1712,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1802
1712
|
payAsYouGoAllocationStrategy?: string;
|
|
1803
1713
|
/**
|
|
1804
1714
|
* @remarks
|
|
1805
|
-
* The target capacity
|
|
1715
|
+
* 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`.
|
|
1806
1716
|
*
|
|
1807
1717
|
* @example
|
|
1808
1718
|
* 30
|
|
@@ -1810,12 +1720,12 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1810
1720
|
payAsYouGoTargetCapacity?: string;
|
|
1811
1721
|
/**
|
|
1812
1722
|
* @remarks
|
|
1813
|
-
*
|
|
1723
|
+
* The detailed capacity configuration for subscription instances.
|
|
1814
1724
|
*/
|
|
1815
1725
|
prePaidOptions?: CreateAutoProvisioningGroupRequestPrePaidOptions;
|
|
1816
1726
|
/**
|
|
1817
1727
|
* @remarks
|
|
1818
|
-
* The
|
|
1728
|
+
* 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.
|
|
1819
1729
|
*
|
|
1820
1730
|
* This parameter is required.
|
|
1821
1731
|
*
|
|
@@ -1825,7 +1735,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1825
1735
|
regionId?: string;
|
|
1826
1736
|
/**
|
|
1827
1737
|
* @remarks
|
|
1828
|
-
* The resource group
|
|
1738
|
+
* The ID of the resource group to which the auto provisioning group belongs.
|
|
1829
1739
|
*
|
|
1830
1740
|
* @example
|
|
1831
1741
|
* rg-bp67acfmxazb4p****
|
|
@@ -1835,22 +1745,20 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1835
1745
|
resourceOwnerId?: number;
|
|
1836
1746
|
/**
|
|
1837
1747
|
* @remarks
|
|
1838
|
-
* The resource pool
|
|
1839
|
-
*
|
|
1840
|
-
* - This parameter takes effect only when
|
|
1841
|
-
*
|
|
1842
|
-
* - This parameter takes effect only when creating an auto provisioning group with `AutoProvisioningGroupType=instant`.
|
|
1748
|
+
* The resource pool policy used to create instances. After you set this parameter, note the following items:
|
|
1749
|
+
* - This parameter takes effect only when you create pay-as-you-go instances.
|
|
1750
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (`AutoProvisioningGroupType=instant`).
|
|
1843
1751
|
*/
|
|
1844
1752
|
resourcePoolOptions?: CreateAutoProvisioningGroupRequestResourcePoolOptions;
|
|
1845
1753
|
/**
|
|
1846
1754
|
* @remarks
|
|
1847
|
-
* The
|
|
1755
|
+
* The policy for creating spot instances. Valid values:
|
|
1848
1756
|
*
|
|
1849
|
-
* - lowest-price:
|
|
1757
|
+
* - lowest-price: cost optimization policy. Selects the instance type with the lowest price.
|
|
1850
1758
|
*
|
|
1851
|
-
* - diversified:
|
|
1759
|
+
* - diversified: balanced zone distribution policy. Creates instances in the zones specified in the extended launch template and evenly distributes them across zones.
|
|
1852
1760
|
*
|
|
1853
|
-
* - capacity-optimized:
|
|
1761
|
+
* - capacity-optimized: capacity optimization distribution policy. Selects the optimal instance type and zone based on inventory availability.
|
|
1854
1762
|
*
|
|
1855
1763
|
* Default value: lowest-price.
|
|
1856
1764
|
*
|
|
@@ -1860,11 +1768,11 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1860
1768
|
spotAllocationStrategy?: string;
|
|
1861
1769
|
/**
|
|
1862
1770
|
* @remarks
|
|
1863
|
-
* The
|
|
1771
|
+
* The action to take when a spot instance is interrupted. Valid values:
|
|
1864
1772
|
*
|
|
1865
|
-
* - stop:
|
|
1773
|
+
* - stop: stops the instance.
|
|
1866
1774
|
*
|
|
1867
|
-
* - terminate:
|
|
1775
|
+
* - terminate: releases the instance.
|
|
1868
1776
|
*
|
|
1869
1777
|
* Default value: terminate.
|
|
1870
1778
|
*
|
|
@@ -1874,9 +1782,9 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1874
1782
|
spotInstanceInterruptionBehavior?: string;
|
|
1875
1783
|
/**
|
|
1876
1784
|
* @remarks
|
|
1877
|
-
* Takes effect
|
|
1785
|
+
* 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.
|
|
1878
1786
|
*
|
|
1879
|
-
* Valid values:
|
|
1787
|
+
* Valid values: less than the value of N in `LaunchTemplateConfig.N`.
|
|
1880
1788
|
*
|
|
1881
1789
|
* @example
|
|
1882
1790
|
* 2
|
|
@@ -1884,7 +1792,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1884
1792
|
spotInstancePoolsToUseCount?: number;
|
|
1885
1793
|
/**
|
|
1886
1794
|
* @remarks
|
|
1887
|
-
* The target capacity
|
|
1795
|
+
* The target capacity of spot instances in the auto provisioning group. Valid values: less than or equal to the parameter value of `TotalTargetCapacity`.
|
|
1888
1796
|
*
|
|
1889
1797
|
* @example
|
|
1890
1798
|
* 20
|
|
@@ -1892,21 +1800,20 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1892
1800
|
spotTargetCapacity?: string;
|
|
1893
1801
|
/**
|
|
1894
1802
|
* @remarks
|
|
1895
|
-
* The list of system disk configurations
|
|
1803
|
+
* The list of system disk configurations.
|
|
1896
1804
|
*/
|
|
1897
1805
|
systemDiskConfig?: CreateAutoProvisioningGroupRequestSystemDiskConfig[];
|
|
1898
1806
|
/**
|
|
1899
1807
|
* @remarks
|
|
1900
|
-
* The
|
|
1808
|
+
* The tags to attach to the auto provisioning group.
|
|
1901
1809
|
*/
|
|
1902
1810
|
tag?: CreateAutoProvisioningGroupRequestTag[];
|
|
1903
1811
|
/**
|
|
1904
1812
|
* @remarks
|
|
1905
|
-
* Specifies whether to release instances
|
|
1813
|
+
* Specifies whether to release instances auto provisioning group when the auto-provisioning group is deleted. Valid values:
|
|
1906
1814
|
*
|
|
1907
|
-
* - true:
|
|
1908
|
-
*
|
|
1909
|
-
* - false: Retains instances in the group.
|
|
1815
|
+
* - true: releases instances auto provisioning group.
|
|
1816
|
+
* - false: retains instances auto provisioning group.
|
|
1910
1817
|
*
|
|
1911
1818
|
* Default value: false.
|
|
1912
1819
|
*
|
|
@@ -1916,11 +1823,10 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1916
1823
|
terminateInstances?: boolean;
|
|
1917
1824
|
/**
|
|
1918
1825
|
* @remarks
|
|
1919
|
-
* Specifies whether to release instances
|
|
1920
|
-
*
|
|
1921
|
-
* - true: Releases instances in the group.
|
|
1826
|
+
* Specifies whether to release instances auto provisioning group when the auto-provisioning group expires. Valid values:
|
|
1922
1827
|
*
|
|
1923
|
-
* -
|
|
1828
|
+
* - true: releases instances auto provisioning group.
|
|
1829
|
+
* - false: only removes instances from the auto-provisioning group.
|
|
1924
1830
|
*
|
|
1925
1831
|
* Default value: false.
|
|
1926
1832
|
*
|
|
@@ -1930,9 +1836,9 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1930
1836
|
terminateInstancesWithExpiration?: boolean;
|
|
1931
1837
|
/**
|
|
1932
1838
|
* @remarks
|
|
1933
|
-
* The total target capacity of the auto provisioning group. Valid values:
|
|
1839
|
+
* The total target capacity of the auto provisioning group. Valid values: positive integers.
|
|
1934
1840
|
*
|
|
1935
|
-
* The total capacity must be greater than or equal to the sum of `PayAsYouGoTargetCapacity` (target capacity
|
|
1841
|
+
* 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).
|
|
1936
1842
|
*
|
|
1937
1843
|
* This parameter is required.
|
|
1938
1844
|
*
|
|
@@ -1942,11 +1848,11 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1942
1848
|
totalTargetCapacity?: string;
|
|
1943
1849
|
/**
|
|
1944
1850
|
* @remarks
|
|
1945
|
-
* The
|
|
1851
|
+
* The time when the auto provisioning group is started. Used together with `ValidUntil` to determine the valid period.
|
|
1946
1852
|
*
|
|
1947
|
-
* Specify the time in [ISO 8601](https://help.aliyun.com/document_detail/25696.html)
|
|
1853
|
+
* 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.
|
|
1948
1854
|
*
|
|
1949
|
-
* Default value:
|
|
1855
|
+
* Default value: the UNIX timestamp at which the request takes effect immediately.
|
|
1950
1856
|
*
|
|
1951
1857
|
* @example
|
|
1952
1858
|
* 2019-04-01T15:10:20Z
|
|
@@ -1954,9 +1860,9 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
1954
1860
|
validFrom?: string;
|
|
1955
1861
|
/**
|
|
1956
1862
|
* @remarks
|
|
1957
|
-
* The
|
|
1863
|
+
* The time when the auto provisioning group expires. Used together with `ValidFrom` to determine the valid period.
|
|
1958
1864
|
*
|
|
1959
|
-
* Specify the time in [ISO 8601](https://help.aliyun.com/document_detail/25696.html)
|
|
1865
|
+
* 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.
|
|
1960
1866
|
*
|
|
1961
1867
|
* Default value: 2099-12-31T23:59:59Z.
|
|
1962
1868
|
*
|