@alicloud/ecs20140526 7.9.0 → 7.9.1
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 +108 -110
- package/dist/client.js +108 -110
- package/dist/client.js.map +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/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/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/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/DescribeImagesRequest.d.ts +61 -89
- package/dist/models/DescribeImagesRequest.js.map +1 -1
- package/dist/models/DescribeImagesResponseBody.d.ts +5 -5
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +4 -4
- package/dist/models/RenewElasticityAssurancesRequest.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +108 -110
- package/src/models/CloneDisksRequest.ts +55 -80
- package/src/models/CloneDisksResponseBody.ts +2 -2
- package/src/models/CreateAutoProvisioningGroupRequest.ts +287 -381
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +283 -376
- 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/CreateVswitchRequest.ts +0 -29
- package/src/models/CreateVswitchResponseBody.ts +0 -8
- package/src/models/DescribeImagesRequest.ts +62 -90
- package/src/models/DescribeImagesResponseBody.ts +5 -5
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +4 -4
- package/src/models/RenewElasticityAssurancesRequest.ts +3 -3
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CloneDisksRequestArn extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* > This parameter is not
|
|
8
|
+
* > This parameter is not publicly available.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* null
|
|
@@ -13,7 +13,7 @@ export class CloneDisksRequestArn extends $dara.Model {
|
|
|
13
13
|
assumeRoleFor?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* > This parameter is not
|
|
16
|
+
* > This parameter is not publicly available.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* null
|
|
@@ -21,7 +21,7 @@ export class CloneDisksRequestArn extends $dara.Model {
|
|
|
21
21
|
roleType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* > This parameter is not
|
|
24
|
+
* > This parameter is not publicly available.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* null
|
|
@@ -55,7 +55,7 @@ export class CloneDisksRequestArn extends $dara.Model {
|
|
|
55
55
|
export class CloneDisksRequestTag extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The key of
|
|
58
|
+
* The tag key of the disk. 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://.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* TestKey
|
|
@@ -63,7 +63,7 @@ export class CloneDisksRequestTag extends $dara.Model {
|
|
|
63
63
|
key?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The value of
|
|
66
|
+
* The tag value of the disk. 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://.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* TestValue
|
|
@@ -95,18 +95,15 @@ export class CloneDisksRequestTag extends $dara.Model {
|
|
|
95
95
|
export class CloneDisksRequest extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* > This parameter is not
|
|
98
|
+
* > This parameter is not publicly available.
|
|
99
99
|
*/
|
|
100
100
|
arn?: CloneDisksRequestArn[];
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* Specifies whether to enable performance
|
|
104
|
-
*
|
|
105
|
-
* -
|
|
106
|
-
*
|
|
107
|
-
* - `false`: Disables performance bursting.
|
|
108
|
-
*
|
|
109
|
-
* > This parameter is valid only when `DiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/zh/ecs/user-guide/essd-autopl-disks).
|
|
103
|
+
* Specifies whether to enable the performance burst feature for the new disk. Valid values:
|
|
104
|
+
* - true: enables the performance burst feature.
|
|
105
|
+
* - false: does not enable the performance burst feature.
|
|
106
|
+
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://www.alibabacloud.com/help/en/ecs/user-guide/essd-autopl-disks).
|
|
110
107
|
*
|
|
111
108
|
* @example
|
|
112
109
|
* true
|
|
@@ -114,7 +111,7 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
114
111
|
burstingEnabled?: boolean;
|
|
115
112
|
/**
|
|
116
113
|
* @remarks
|
|
117
|
-
*
|
|
114
|
+
* 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 ClientToken value 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).
|
|
118
115
|
*
|
|
119
116
|
* @example
|
|
120
117
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -122,21 +119,16 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
122
119
|
clientToken?: string;
|
|
123
120
|
/**
|
|
124
121
|
* @remarks
|
|
125
|
-
* The
|
|
126
|
-
*
|
|
127
|
-
* - `cloud_essd`: ESSD cloud disk.
|
|
128
|
-
*
|
|
129
|
-
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
130
|
-
*
|
|
131
|
-
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
122
|
+
* The category of the new disk. Valid values:
|
|
132
123
|
*
|
|
133
|
-
* -
|
|
124
|
+
* - cloud_essd: standard SSD.
|
|
125
|
+
* - cloud_auto: ESSD AutoPL disk.
|
|
126
|
+
* - cloud_essd_entry: ESSD Entry disk.
|
|
127
|
+
* - cloud_regional_disk_auto: regional Standard SSD (ESSD).
|
|
134
128
|
*
|
|
135
|
-
* > Disk
|
|
136
|
-
* >
|
|
137
|
-
* > -
|
|
138
|
-
* >
|
|
139
|
-
* > - A regional disk can be cloned only as a regional disk.
|
|
129
|
+
* > Disk category restrictions for disk cloning:
|
|
130
|
+
* > - Non-regional disks can only be cloned to non-regional disk types.
|
|
131
|
+
* > - Regional disks can only be cloned to regional disk types.
|
|
140
132
|
*
|
|
141
133
|
* This parameter is required.
|
|
142
134
|
*
|
|
@@ -146,9 +138,9 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
146
138
|
diskCategory?: string;
|
|
147
139
|
/**
|
|
148
140
|
* @remarks
|
|
149
|
-
* The name of the
|
|
141
|
+
* The name of the disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). The name must start with a letter.
|
|
150
142
|
*
|
|
151
|
-
* Default value:
|
|
143
|
+
* Default value: empty.
|
|
152
144
|
*
|
|
153
145
|
* @example
|
|
154
146
|
* MyDiskName
|
|
@@ -156,11 +148,9 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
156
148
|
diskName?: string;
|
|
157
149
|
/**
|
|
158
150
|
* @remarks
|
|
159
|
-
* Specifies whether to perform a dry run. Valid values:
|
|
160
|
-
*
|
|
161
|
-
* -
|
|
162
|
-
*
|
|
163
|
-
* - `false` (default): Sends a normal request. If the request passes the check, the system returns a 2xx HTTP status code and clones the disk.
|
|
151
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
152
|
+
* - true: sends a check request without querying the filing status. The system checks whether your AccessKey pair is valid, whether RAM user authorization is granted, and whether the required parameters are specified. If the check fails, the corresponding error is returned. If the check passes, the DryRunOperation error code is returned.
|
|
153
|
+
* - false (default): sends a normal request. After the check passes, a 2XX HTTP status code is returned and the filing status is queried.
|
|
164
154
|
*
|
|
165
155
|
* @example
|
|
166
156
|
* true
|
|
@@ -168,11 +158,9 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
168
158
|
dryRun?: string;
|
|
169
159
|
/**
|
|
170
160
|
* @remarks
|
|
171
|
-
* Specifies whether
|
|
172
|
-
*
|
|
173
|
-
* -
|
|
174
|
-
*
|
|
175
|
-
* - `false`: The disk is not encrypted.
|
|
161
|
+
* Specifies whether the new disk is encrypted. Valid values:
|
|
162
|
+
* - true: The new disk is encrypted.
|
|
163
|
+
* - false: The new disk is not encrypted.
|
|
176
164
|
*
|
|
177
165
|
* Default value: false.
|
|
178
166
|
*
|
|
@@ -182,7 +170,7 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
182
170
|
encrypted?: boolean;
|
|
183
171
|
/**
|
|
184
172
|
* @remarks
|
|
185
|
-
* The ID of the KMS key
|
|
173
|
+
* The key ID of the KMS key used by the new disk.
|
|
186
174
|
*
|
|
187
175
|
* @example
|
|
188
176
|
* key-szz67b2f696f4wh9yeg5d
|
|
@@ -190,11 +178,10 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
190
178
|
kmsKeyId?: string;
|
|
191
179
|
/**
|
|
192
180
|
* @remarks
|
|
193
|
-
* Specifies whether to enable the multi-attach
|
|
194
|
-
*
|
|
195
|
-
* - `Disabled`: Disables the multi-attach feature.
|
|
181
|
+
* Specifies whether to enable the multi-attach attribute for the new disk. Settings for this parameter. Valid values:
|
|
196
182
|
*
|
|
197
|
-
* -
|
|
183
|
+
* - Disabled: disables the multi-attach attribute.
|
|
184
|
+
* - Enabled: enables the multi-attach attribute. Only standard SSDs support the value `Enabled`.
|
|
198
185
|
*
|
|
199
186
|
* This parameter is required.
|
|
200
187
|
*
|
|
@@ -205,19 +192,16 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
205
192
|
ownerId?: number;
|
|
206
193
|
/**
|
|
207
194
|
* @remarks
|
|
208
|
-
* The performance level of the
|
|
209
|
-
*
|
|
210
|
-
* - `PL0`: A single disk can deliver up to 10,000 random read/write IOPS.
|
|
195
|
+
* The performance level (PL) of the enterprise SSD to create. Settings for this parameter vary based on the standard SSD type. Valid values:
|
|
211
196
|
*
|
|
212
|
-
* -
|
|
197
|
+
* - PL0: a single disk can deliver up to 10,000 random read/write IOPS.
|
|
198
|
+
* - PL1: a single disk can deliver up to 50,000 random read/write IOPS.
|
|
199
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
200
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
213
201
|
*
|
|
214
|
-
*
|
|
202
|
+
* > If DiskCategory is set to cloud_essd, PerformanceLevel is required.
|
|
215
203
|
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* > This parameter is required when `DiskCategory` is set to `cloud_essd`.
|
|
219
|
-
*
|
|
220
|
-
* For more information about how to select an ESSD performance level, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
204
|
+
* For more information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
221
205
|
*
|
|
222
206
|
* @example
|
|
223
207
|
* PL1
|
|
@@ -225,15 +209,13 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
225
209
|
performanceLevel?: string;
|
|
226
210
|
/**
|
|
227
211
|
* @remarks
|
|
228
|
-
* The provisioned read/write IOPS of the ESSD AutoPL
|
|
229
|
-
*
|
|
230
|
-
* -
|
|
212
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values:
|
|
213
|
+
* - Capacity (GiB) <= 3: provisioned performance is not supported.
|
|
214
|
+
* - Capacity (GiB) >= 4: [0, min{(1,000 IOPS/GiB × Capacity - Baseline IOPS), 50,000}]
|
|
231
215
|
*
|
|
232
|
-
*
|
|
216
|
+
* Baseline performance = max{min{1,800 + 50 × Capacity, 50,000}, 3,000}.
|
|
233
217
|
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
* > This parameter is valid only when `DiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/zh/ecs/user-guide/essd-autopl-disks).
|
|
218
|
+
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://www.alibabacloud.com/help/en/ecs/user-guide/essd-autopl-disks).
|
|
237
219
|
*
|
|
238
220
|
* @example
|
|
239
221
|
* 10
|
|
@@ -241,7 +223,7 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
241
223
|
provisionedIops?: number;
|
|
242
224
|
/**
|
|
243
225
|
* @remarks
|
|
244
|
-
* The ID
|
|
226
|
+
* The region ID. You can call [DescribeRegions](https://www.alibabacloud.com/help/en/ecs/api-regions-describeregions) to query the most recent region list.
|
|
245
227
|
*
|
|
246
228
|
* This parameter is required.
|
|
247
229
|
*
|
|
@@ -251,7 +233,7 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
251
233
|
regionId?: string;
|
|
252
234
|
/**
|
|
253
235
|
* @remarks
|
|
254
|
-
* The ID of the resource group
|
|
236
|
+
* The ID of the resource group to which the disk belongs.
|
|
255
237
|
*
|
|
256
238
|
* @example
|
|
257
239
|
* rg-bp199lyny9b3****
|
|
@@ -260,23 +242,16 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
260
242
|
resourceOwnerId?: number;
|
|
261
243
|
/**
|
|
262
244
|
* @remarks
|
|
263
|
-
* The
|
|
264
|
-
*
|
|
265
|
-
* - `cloud_essd`: The value range depends on the `PerformanceLevel` value.
|
|
266
|
-
*
|
|
267
|
-
* - `PL0`: 1 to 65,536
|
|
268
|
-
*
|
|
269
|
-
* - `PL1`: 20 to 65,536
|
|
270
|
-
*
|
|
271
|
-
* - `PL2`: 461 to 65,536
|
|
272
|
-
*
|
|
273
|
-
* - `PL3`: 1,261 to 65,536
|
|
274
|
-
*
|
|
275
|
-
* - `cloud_auto`: 1 to 65,536
|
|
276
|
-
*
|
|
277
|
-
* - `cloud_essd_entry`: 10 to 32,768
|
|
245
|
+
* The capacity of the new disk. Unit: GiB. You must specify a value for this parameter. Valid values:
|
|
278
246
|
*
|
|
279
|
-
* -
|
|
247
|
+
* - cloud_essd: the valid value range varies based on the performance level.
|
|
248
|
+
* - PL0: 1 to 65,536.
|
|
249
|
+
* - PL1: 20 to 65,536.
|
|
250
|
+
* - PL2: 461 to 65,536.
|
|
251
|
+
* - PL3: 1,261 to 65,536.
|
|
252
|
+
* - cloud_auto: 1 to 65,536.
|
|
253
|
+
* - cloud_essd_entry: 10 to 32,768.
|
|
254
|
+
* - cloud_regional_disk_auto: 10 to 65,536.
|
|
280
255
|
*
|
|
281
256
|
* This parameter is required.
|
|
282
257
|
*
|
|
@@ -296,7 +271,7 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
296
271
|
sourceDiskId?: string;
|
|
297
272
|
/**
|
|
298
273
|
* @remarks
|
|
299
|
-
* The
|
|
274
|
+
* The list of tags for the disk.
|
|
300
275
|
*/
|
|
301
276
|
tag?: CloneDisksRequestTag[];
|
|
302
277
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CloneDisksResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The request ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
@@ -13,7 +13,7 @@ export class CloneDisksResponseBody extends $dara.Model {
|
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID of the disk
|
|
16
|
+
* The task group ID of the disk cloning operation. You can call [DescribeTasks](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-ecs-2014-05-26-describetasks) to query the task execution result.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* g-2ze2op2grqpclwu7****
|