@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
|
@@ -60,11 +60,10 @@ export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfiguration extends
|
|
|
60
60
|
arn?: CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn[];
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* Specifies whether to enable cross-region snapshot
|
|
63
|
+
* Specifies whether to enable encryption for cross-region snapshot backup. Valid values:
|
|
64
64
|
*
|
|
65
|
-
* - true
|
|
66
|
-
*
|
|
67
|
-
* - false
|
|
65
|
+
* - true: enables encryption.
|
|
66
|
+
* - false: disables encryption.
|
|
68
67
|
*
|
|
69
68
|
* Default value: false.
|
|
70
69
|
*
|
|
@@ -74,7 +73,7 @@ export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfiguration extends
|
|
|
74
73
|
encrypted?: boolean;
|
|
75
74
|
/**
|
|
76
75
|
* @remarks
|
|
77
|
-
* The
|
|
76
|
+
* The KMS key ID used for encrypted cross-region snapshot backup.
|
|
78
77
|
*
|
|
79
78
|
* @example
|
|
80
79
|
* 0e478b7a-4262-4802-b8cb-00d3fb40826X
|
|
@@ -111,7 +110,7 @@ export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfiguration extends
|
|
|
111
110
|
export class CreateAutoSnapshotPolicyRequestTag extends $dara.Model {
|
|
112
111
|
/**
|
|
113
112
|
* @remarks
|
|
114
|
-
* The key of
|
|
113
|
+
* The tag key of the automatic snapshot policy. 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://.
|
|
115
114
|
*
|
|
116
115
|
* @example
|
|
117
116
|
* TestKey
|
|
@@ -119,7 +118,7 @@ export class CreateAutoSnapshotPolicyRequestTag extends $dara.Model {
|
|
|
119
118
|
key?: string;
|
|
120
119
|
/**
|
|
121
120
|
* @remarks
|
|
122
|
-
* The value of
|
|
121
|
+
* The tag value of the automatic snapshot policy. 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 start with acs:. The tag value cannot contain http:// or https://.
|
|
123
122
|
*
|
|
124
123
|
* @example
|
|
125
124
|
* TestValue
|
|
@@ -151,11 +150,10 @@ export class CreateAutoSnapshotPolicyRequestTag extends $dara.Model {
|
|
|
151
150
|
export class CreateAutoSnapshotPolicyRequest extends $dara.Model {
|
|
152
151
|
/**
|
|
153
152
|
* @remarks
|
|
154
|
-
* The retention period of
|
|
155
|
-
*
|
|
156
|
-
* - -1: The snapshot copy is retained until it is deleted.
|
|
153
|
+
* The retention period of cross-region snapshot replicas. Unit: days. Valid values:
|
|
157
154
|
*
|
|
158
|
-
* - 1
|
|
155
|
+
* - -1: Snapshot replicas are permanently retained.
|
|
156
|
+
* - 1 to 65535: Snapshot replicas are retained for the specified number of days.
|
|
159
157
|
*
|
|
160
158
|
* Default value: -1.
|
|
161
159
|
*
|
|
@@ -165,16 +163,15 @@ export class CreateAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
165
163
|
copiedSnapshotsRetentionDays?: number;
|
|
166
164
|
/**
|
|
167
165
|
* @remarks
|
|
168
|
-
* The encryption
|
|
166
|
+
* The backup encryption parameter object for snapshot geo-redundancy.
|
|
169
167
|
*/
|
|
170
168
|
copyEncryptionConfiguration?: CreateAutoSnapshotPolicyRequestCopyEncryptionConfiguration;
|
|
171
169
|
/**
|
|
172
170
|
* @remarks
|
|
173
|
-
* Specifies whether to enable cross-region replication
|
|
174
|
-
*
|
|
175
|
-
* - true
|
|
171
|
+
* Specifies whether to enable automatic cross-region replication.
|
|
176
172
|
*
|
|
177
|
-
* -
|
|
173
|
+
* - true: enables automatic cross-region replication.
|
|
174
|
+
* - false: disables automatic cross-region replication.
|
|
178
175
|
*
|
|
179
176
|
* @example
|
|
180
177
|
* false
|
|
@@ -183,7 +180,7 @@ export class CreateAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
183
180
|
ownerId?: number;
|
|
184
181
|
/**
|
|
185
182
|
* @remarks
|
|
186
|
-
* The resource group
|
|
183
|
+
* The ID of the resource group.
|
|
187
184
|
*
|
|
188
185
|
* @example
|
|
189
186
|
* rg-aek2kkmhmhs****
|
|
@@ -201,12 +198,12 @@ export class CreateAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
201
198
|
storageLocationArn?: string;
|
|
202
199
|
/**
|
|
203
200
|
* @remarks
|
|
204
|
-
* The tags
|
|
201
|
+
* The tags of the automatic snapshot policy.
|
|
205
202
|
*/
|
|
206
203
|
tag?: CreateAutoSnapshotPolicyRequestTag[];
|
|
207
204
|
/**
|
|
208
205
|
* @remarks
|
|
209
|
-
* The destination region to which
|
|
206
|
+
* The destination region to which snapshots are replicated. You can specify only one destination region.
|
|
210
207
|
*
|
|
211
208
|
* @example
|
|
212
209
|
* ["cn-hangzhou"]
|
|
@@ -214,9 +211,9 @@ export class CreateAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
214
211
|
targetCopyRegions?: string;
|
|
215
212
|
/**
|
|
216
213
|
* @remarks
|
|
217
|
-
* The name of the automatic snapshot policy. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http
|
|
214
|
+
* The name of the automatic snapshot policy. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain digits, colons (:), underscores (_), and hyphens (-).
|
|
218
215
|
*
|
|
219
|
-
*
|
|
216
|
+
* Default value: null.
|
|
220
217
|
*
|
|
221
218
|
* @example
|
|
222
219
|
* TestName
|
|
@@ -224,7 +221,7 @@ export class CreateAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
224
221
|
autoSnapshotPolicyName?: string;
|
|
225
222
|
/**
|
|
226
223
|
* @remarks
|
|
227
|
-
* The
|
|
224
|
+
* The region to which the automatic snapshot policy belongs. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
228
225
|
*
|
|
229
226
|
* This parameter is required.
|
|
230
227
|
*
|
|
@@ -234,11 +231,10 @@ export class CreateAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
234
231
|
regionId?: string;
|
|
235
232
|
/**
|
|
236
233
|
* @remarks
|
|
237
|
-
* The days of the week on which
|
|
234
|
+
* The days of the week on which automatic snapshots are created. Unit: days. The cycle is weekly. Valid values: 1 to 7. For example, 1 indicates Monday. Format description:
|
|
238
235
|
*
|
|
239
|
-
* -
|
|
240
|
-
*
|
|
241
|
-
* - To schedule multiple automatic snapshots to be created in a week, you can specify multiple values. Separate the values with commas (,). You can specify a maximum of seven days. For example, a value of ["1","3","5"] specifies automatic snapshots to be created every Monday, Wednesday, and Friday.
|
|
236
|
+
* - The parameter value must be a JSON array. For example, ["1"\\] indicates that automatic snapshots are created every Monday.
|
|
237
|
+
* - To create multiple automatic snapshots within a week, specify multiple days separated by commas (,). You can specify a maximum of 7 days. For example, ["1","3","5"\\] indicates that automatic snapshots are created every Monday, Wednesday, and Friday.
|
|
242
238
|
*
|
|
243
239
|
* This parameter is required.
|
|
244
240
|
*
|
|
@@ -248,11 +244,10 @@ export class CreateAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
248
244
|
repeatWeekdays?: string;
|
|
249
245
|
/**
|
|
250
246
|
* @remarks
|
|
251
|
-
* The retention period of
|
|
252
|
-
*
|
|
253
|
-
* - -1: The automatic snapshot is retained until it is deleted.
|
|
247
|
+
* The retention period of automatic snapshots. Unit: days. Valid values:
|
|
254
248
|
*
|
|
255
|
-
* - 1
|
|
249
|
+
* - -1: Automatic snapshots are permanently retained.
|
|
250
|
+
* - 1 to 65535: Automatic snapshots are retained for the specified number of days.
|
|
256
251
|
*
|
|
257
252
|
* Default value: -1.
|
|
258
253
|
*
|
|
@@ -264,13 +259,12 @@ export class CreateAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
264
259
|
retentionDays?: number;
|
|
265
260
|
/**
|
|
266
261
|
* @remarks
|
|
267
|
-
* The points in time
|
|
268
|
-
*
|
|
269
|
-
* - Set this parameter to a JSON-formatted array. For example, a value of ["1"] specifies automatic snapshots to be created at 01:00:00.
|
|
262
|
+
* The points in time at which automatic snapshots are created. The time is displayed in UTC+8. Unit: hours. Valid values: 0 to 23, which represent the 24 points in time from 00:00 to 23:00. For example, 1 indicates 01:00. Format description:
|
|
270
263
|
*
|
|
271
|
-
* -
|
|
264
|
+
* - The parameter value must be a JSON array. For example, ["1"\\] indicates that automatic snapshots are created at 01:00.
|
|
265
|
+
* - To create multiple automatic snapshots within a day, specify multiple points in time separated by commas (,). You can specify a maximum of 24 points in time. For example, ["1","3","5"\\] indicates that automatic snapshots are created at 01:00, 03:00, and 05:00.
|
|
272
266
|
*
|
|
273
|
-
* > If
|
|
267
|
+
* > If a disk contains a large amount of data and the time required to create an automatic snapshot exceeds the interval between two consecutive points in time, the next point in time is skipped. For example, you set 09:00, 10:00, 11:00, and 12:00 as the points in time for automatic snapshot creation. The snapshot creation starts at 09:00 and is completed at 10:20, which takes 80 minutes. The system skips the 10:00 point in time and creates the next automatic snapshot at 11:00.
|
|
274
268
|
*
|
|
275
269
|
* This parameter is required.
|
|
276
270
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateAutoSnapshotPolicyResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The automatic snapshot policy
|
|
8
|
+
* The ID of the automatic snapshot policy.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* sp-bp12m37ccmxvbmi5****
|
|
@@ -55,7 +55,7 @@ export class CreateDiskRequestArn extends $dara.Model {
|
|
|
55
55
|
export class CreateDiskRequestTag extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
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:`.
|
|
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:`. It cannot contain `http://` or `https://`.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* TestKey
|
|
@@ -110,8 +110,8 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
110
110
|
* @remarks
|
|
111
111
|
* Specifies whether to enable the performance burst feature. Valid values:
|
|
112
112
|
*
|
|
113
|
-
* - true:
|
|
114
|
-
* - false:
|
|
113
|
+
* - true: enables the performance burst feature.
|
|
114
|
+
* - false: does not enable the performance burst feature.
|
|
115
115
|
*
|
|
116
116
|
* > 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).
|
|
117
117
|
*
|
|
@@ -159,7 +159,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
159
159
|
diskCategory?: string;
|
|
160
160
|
/**
|
|
161
161
|
* @remarks
|
|
162
|
-
* The name of the disk. The name must be 2 to 128 characters in length and can contain letters in the Unicode
|
|
162
|
+
* The name of the disk. The name must be 2 to 128 characters in length and can contain letters in the Unicode character set (including English and Chinese characters) and ASCII digits (0-9). The name can contain colons (:), underscores (_), periods (.), or hyphens (-). The name must start with a letter in the Unicode character set.
|
|
163
163
|
*
|
|
164
164
|
* Default value: empty.
|
|
165
165
|
*
|
|
@@ -179,8 +179,8 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
179
179
|
* @remarks
|
|
180
180
|
* Specifies whether to encrypt the disk. Valid values:
|
|
181
181
|
*
|
|
182
|
-
* - true:
|
|
183
|
-
* - false:
|
|
182
|
+
* - true: encrypts the disk.
|
|
183
|
+
* - false: does not encrypt the disk.
|
|
184
184
|
*
|
|
185
185
|
* Default value: false.
|
|
186
186
|
*
|
|
@@ -195,7 +195,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
195
195
|
* - After you specify the instance ID, the ResourceGroupId, Tag.N.Key, Tag.N.Value, ClientToken, and KMSKeyId parameters are ignored.
|
|
196
196
|
* - You cannot specify both ZoneId and InstanceId.
|
|
197
197
|
*
|
|
198
|
-
* Default value: empty.
|
|
198
|
+
* Default value: empty. This indicates that a pay-as-you-go disk is created. The region of the disk is determined by RegionId and ZoneId.
|
|
199
199
|
*
|
|
200
200
|
* @example
|
|
201
201
|
* i-bp18pnlg1ds9rky4****
|
|
@@ -206,10 +206,10 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
206
206
|
* The ID of the Key Management Service (KMS) key used by the disk.
|
|
207
207
|
*
|
|
208
208
|
* > If Encrypted is set to true and KMSKeyId is not specified, the default key is used for encryption. The KMSKeyId value is returned after the instance is created.
|
|
209
|
-
* > - - If the disk is created from a non-shared encrypted snapshot
|
|
210
|
-
* > - - If the disk is created from a shared encrypted snapshot
|
|
211
|
-
* > - - If the disk is created in a region where account-level default encryption for block storage is enabled
|
|
212
|
-
* > - - In other cases
|
|
209
|
+
* > - - If the disk is created from a non-shared encrypted snapshot: the encryption key used by the snapshot is used by default.
|
|
210
|
+
* > - - If the disk is created from a shared encrypted snapshot: the service key is used by default.
|
|
211
|
+
* > - - If the disk is created in a region where account-level default encryption for block storage is enabled: the specified account-level key is used by default.
|
|
212
|
+
* > - - In other cases: the service key is used by default.
|
|
213
213
|
*
|
|
214
214
|
* @example
|
|
215
215
|
* 0e478b7a-4262-4802-b8cb-00d3fb40826X
|
|
@@ -217,14 +217,14 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
217
217
|
KMSKeyId?: string;
|
|
218
218
|
/**
|
|
219
219
|
* @remarks
|
|
220
|
-
* Specifies whether to enable the multi-attach
|
|
220
|
+
* Specifies whether to enable the multi-attach attribute. Valid values:
|
|
221
221
|
*
|
|
222
|
-
* - Disabled:
|
|
223
|
-
* - Enabled:
|
|
222
|
+
* - Disabled: disables the multi-attach attribute.
|
|
223
|
+
* - Enabled: enables the multi-attach attribute. Only enterprise SSDs support this value.
|
|
224
224
|
*
|
|
225
225
|
* Default value: Disabled.
|
|
226
226
|
*
|
|
227
|
-
* > Disks with the multi-attach
|
|
227
|
+
* > Disks with the multi-attach attribute enabled support only the pay-as-you-go billing method. Therefore, when `MultiAttach=Enabled`, you cannot specify the `InstanceId` parameter. You can invoke [AttachDisk](https://help.aliyun.com/document_detail/25515.html) to attach the disk after it is created. Note that a disk with the multi-attach feature enabled can be attached only as a data disk.
|
|
228
228
|
*
|
|
229
229
|
* @example
|
|
230
230
|
* Disabled
|
|
@@ -234,16 +234,16 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
234
234
|
ownerId?: number;
|
|
235
235
|
/**
|
|
236
236
|
* @remarks
|
|
237
|
-
* The performance level of the enterprise SSD
|
|
237
|
+
* The performance level of the enterprise SSD. Valid values:
|
|
238
238
|
*
|
|
239
|
-
* - PL0:
|
|
240
|
-
* - PL1:
|
|
241
|
-
* - PL2:
|
|
242
|
-
* - PL3:
|
|
239
|
+
* - PL0: a single disk can deliver up to 10,000 random read/write IOPS.
|
|
240
|
+
* - PL1: a single disk can deliver up to 50,000 random read/write IOPS.
|
|
241
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
242
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
243
243
|
*
|
|
244
244
|
* Default value: PL1.
|
|
245
245
|
*
|
|
246
|
-
* For information about how to select an ESSD performance level, see [
|
|
246
|
+
* For information about how to select an ESSD performance level, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
247
247
|
*
|
|
248
248
|
* @example
|
|
249
249
|
* PL1
|
|
@@ -253,7 +253,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
253
253
|
* @remarks
|
|
254
254
|
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values:
|
|
255
255
|
*
|
|
256
|
-
* - Capacity (GiB) <= 3:
|
|
256
|
+
* - Capacity (GiB) <= 3: provisioned performance is not supported.
|
|
257
257
|
*
|
|
258
258
|
* - Capacity (GiB) >= 4: [0, min{(1,000 IOPS/GiB × Capacity - Baseline IOPS), 50,000}]
|
|
259
259
|
*
|
|
@@ -269,7 +269,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
269
269
|
provisionedIops?: number;
|
|
270
270
|
/**
|
|
271
271
|
* @remarks
|
|
272
|
-
* The ID
|
|
272
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
273
273
|
*
|
|
274
274
|
* This parameter is required.
|
|
275
275
|
*
|
|
@@ -294,7 +294,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
294
294
|
* - cloud: 5 to 2,000.
|
|
295
295
|
* - cloud_efficiency: 20 to 32,768.
|
|
296
296
|
* - cloud_ssd: 20 to 32,768.
|
|
297
|
-
* - cloud_essd: The valid
|
|
297
|
+
* - cloud_essd: The valid value range depends on the value of `PerformanceLevel`.
|
|
298
298
|
* - PL0: 1 to 65,536.
|
|
299
299
|
* - PL1: 20 to 65,536.
|
|
300
300
|
* - PL2: 461 to 65,536.
|
|
@@ -316,7 +316,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
316
316
|
size?: number;
|
|
317
317
|
/**
|
|
318
318
|
* @remarks
|
|
319
|
-
* The ID of the snapshot
|
|
319
|
+
* The ID of the snapshot used to create the disk. Snapshots created on or before July 15, 2013 cannot be used to create disks.
|
|
320
320
|
*
|
|
321
321
|
* The `SnapshotId` and `Size` parameters have the following restrictions:
|
|
322
322
|
*
|
|
@@ -332,7 +332,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
332
332
|
* @remarks
|
|
333
333
|
* The ID of the dedicated block storage cluster. To create a disk in a specific dedicated block storage cluster, specify this parameter.
|
|
334
334
|
*
|
|
335
|
-
* >
|
|
335
|
+
* > The storage set parameters (`StorageSetId` and `StorageSetPartitionNumber`) and the dedicated block storage cluster parameter (`StorageClusterId`) are mutually exclusive. If you specify both, the API call fails.
|
|
336
336
|
*
|
|
337
337
|
* @example
|
|
338
338
|
* dbsc-j5e1sf2vaf5he8m2****
|
|
@@ -342,7 +342,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
342
342
|
* @remarks
|
|
343
343
|
* The ID of the storage set.
|
|
344
344
|
*
|
|
345
|
-
* >
|
|
345
|
+
* > The storage set parameters (`StorageSetId` and `StorageSetPartitionNumber`) and the dedicated block storage cluster parameter (`StorageClusterId`) are mutually exclusive. If you specify both, the API call fails.
|
|
346
346
|
*
|
|
347
347
|
* @example
|
|
348
348
|
* ss-bp67acfmxazb4p****
|
|
@@ -350,7 +350,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
350
350
|
storageSetId?: string;
|
|
351
351
|
/**
|
|
352
352
|
* @remarks
|
|
353
|
-
* The number of partitions in the storage set. Valid values:
|
|
353
|
+
* The number of partitions in the storage set. Valid values: greater than or equal to 2, up to the privilege quota limit returned by [DescribeAccountAttributes](https://help.aliyun.com/document_detail/73772.html).
|
|
354
354
|
*
|
|
355
355
|
* Default value: 2.
|
|
356
356
|
*
|
|
@@ -365,13 +365,13 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
365
365
|
tag?: CreateDiskRequestTag[];
|
|
366
366
|
/**
|
|
367
367
|
* @remarks
|
|
368
|
-
* The
|
|
368
|
+
* The zone in which to create a pay-as-you-go disk.
|
|
369
369
|
*
|
|
370
370
|
* - If you do not specify InstanceId, ZoneId is required.
|
|
371
371
|
* - You cannot specify both ZoneId and InstanceId.
|
|
372
372
|
*
|
|
373
373
|
*
|
|
374
|
-
* >
|
|
374
|
+
* > Disks of the `cloud_regional_disk_auto` type do not require ZoneId to be specified.
|
|
375
375
|
*
|
|
376
376
|
* @example
|
|
377
377
|
* cn-hangzhou-g
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateDiskResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The disk ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* d-bp131n0q38u3a4zi****
|
|
@@ -13,7 +13,7 @@ export class CreateDiskResponseBody extends $dara.Model {
|
|
|
13
13
|
diskId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The order ID.
|
|
17
17
|
*
|
|
18
18
|
* > An order ID is returned only when you create a subscription disk.
|
|
19
19
|
*
|