@alicloud/ecs20140526 7.9.1 → 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 +226 -220
- package/dist/client.js +229 -220
- 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 +10 -10
- package/dist/models/CopySnapshotRequest.d.ts +17 -18
- package/dist/models/CopySnapshotRequest.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/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/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 +21 -20
- package/dist/models/DescribeImagesRequest.js +2 -0
- package/dist/models/DescribeImagesRequest.js.map +1 -1
- package/dist/models/DescribeImagesResponseBody.d.ts +1 -0
- package/dist/models/DescribeImagesResponseBody.js +2 -0
- package/dist/models/DescribeImagesResponseBody.js.map +1 -1
- 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/package.json +1 -1
- package/src/client.ts +230 -220
- 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 +10 -10
- package/src/models/CopySnapshotRequest.ts +17 -18
- 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/CreateSnapshotGroupRequest.ts +23 -25
- package/src/models/CreateSnapshotRequest.ts +24 -29
- 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 +23 -20
- package/src/models/DescribeImagesResponseBody.ts +3 -0
- 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
|
@@ -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
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateSnapshotGroupRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The tag key of the snapshot-consistent group. 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://`.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* TestKey
|
|
@@ -13,7 +13,7 @@ export class CreateSnapshotGroupRequestTag extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The tag value of the snapshot-consistent group. 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://`.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* TestValue
|
|
@@ -45,7 +45,7 @@ export class CreateSnapshotGroupRequestTag extends $dara.Model {
|
|
|
45
45
|
export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but
|
|
48
|
+
* 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).
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -53,7 +53,7 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
53
53
|
clientToken?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The description
|
|
56
|
+
* The description. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* This is description.
|
|
@@ -61,22 +61,21 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
61
61
|
description?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The
|
|
64
|
+
* The ID of a disk for which you want to create a snapshot-consistent group. You can specify disk IDs across instances within the same zone. Valid values of N: 1 to 16. A snapshot-consistent group can contain up to 16 disks with a total capacity of up to 32 TiB.
|
|
65
65
|
*
|
|
66
|
-
* Take note of the following:
|
|
66
|
+
* Take note of the following items:
|
|
67
67
|
*
|
|
68
|
-
* -
|
|
69
|
-
*
|
|
70
|
-
* - If you specify `InstanceId`, you can specify the IDs of cloud disks that are attached only to the specified instance. You cannot specify the IDs of cloud disks that are attached to multiple instances.
|
|
68
|
+
* - This parameter cannot be specified together with `ExcludeDiskId.N`.
|
|
69
|
+
* - If you specify `InstanceId`, this parameter can only be set to disks attached to the specified instance and no longer supports specifying disk IDs across multiple instances.
|
|
71
70
|
*/
|
|
72
71
|
diskId?: string[];
|
|
73
72
|
/**
|
|
74
73
|
* @remarks
|
|
75
|
-
* The
|
|
74
|
+
* The ID of a disk in the instance for which you do not want to create a snapshot. After you specify this parameter, the snapshot-consistent group does not contain the snapshot of the specified disk. Valid values of N: 1 to 16.
|
|
76
75
|
*
|
|
77
|
-
*
|
|
76
|
+
* Default value: null, which indicates that snapshots are created for all disks in the instance.
|
|
78
77
|
*
|
|
79
|
-
* > This parameter cannot be
|
|
78
|
+
* > This parameter cannot be specified together with `DiskId.N`.
|
|
80
79
|
*
|
|
81
80
|
* @example
|
|
82
81
|
* d-j6cf7l0ewidb78lq****
|
|
@@ -92,15 +91,14 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
92
91
|
instanceId?: string;
|
|
93
92
|
/**
|
|
94
93
|
* @remarks
|
|
95
|
-
* Specifies whether to enable
|
|
96
|
-
*
|
|
97
|
-
* - true
|
|
94
|
+
* Specifies whether to enable snapshot instant access. Valid values:
|
|
98
95
|
*
|
|
99
|
-
* -
|
|
96
|
+
* - true: enables snapshot instant access.
|
|
97
|
+
* - false: disables snapshot instant access.
|
|
100
98
|
*
|
|
101
99
|
* Default value: false.
|
|
102
100
|
*
|
|
103
|
-
* >
|
|
101
|
+
* >This parameter is deprecated. Standard snapshots of enterprise SSDs are upgraded to [instant access by default](https://help.aliyun.com/document_detail/193667.html). No additional configuration or fees are required.
|
|
104
102
|
*
|
|
105
103
|
* @example
|
|
106
104
|
* false
|
|
@@ -108,13 +106,13 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
108
106
|
instantAccess?: boolean;
|
|
109
107
|
/**
|
|
110
108
|
* @remarks
|
|
111
|
-
* The number of days for which the instant access feature
|
|
109
|
+
* The number of days for which the snapshot instant access feature remains active. Unit: days. Valid values: 1 to 65535.
|
|
112
110
|
*
|
|
113
|
-
* This parameter takes effect only when `InstantAccess
|
|
111
|
+
* This parameter takes effect only when `InstantAccess=true`. The snapshot instant access feature is automatically shutdown when the specified duration expires.
|
|
114
112
|
*
|
|
115
|
-
*
|
|
113
|
+
* Default value: null, which indicates that the instant access duration is the same as the snapshot release period.
|
|
116
114
|
*
|
|
117
|
-
* >
|
|
115
|
+
* >This parameter is deprecated. Standard snapshots of enterprise SSDs are upgraded to [instant access by default](https://help.aliyun.com/document_detail/193667.html). No additional configuration or fees are required.
|
|
118
116
|
*
|
|
119
117
|
* @example
|
|
120
118
|
* 1
|
|
@@ -122,7 +120,7 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
122
120
|
instantAccessRetentionDays?: number;
|
|
123
121
|
/**
|
|
124
122
|
* @remarks
|
|
125
|
-
* The name of the snapshot-consistent group. The name must be 2 to 128 characters in length. The name can contain
|
|
123
|
+
* The name of the snapshot-consistent group. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. The name can contain digits, periods (.), underscores (_), hyphens (-), and colons (:).
|
|
126
124
|
*
|
|
127
125
|
* @example
|
|
128
126
|
* testName
|
|
@@ -132,7 +130,7 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
132
130
|
ownerId?: number;
|
|
133
131
|
/**
|
|
134
132
|
* @remarks
|
|
135
|
-
* The region ID of the instance. You can call
|
|
133
|
+
* The region ID of the instance. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
136
134
|
*
|
|
137
135
|
* This parameter is required.
|
|
138
136
|
*
|
|
@@ -152,7 +150,7 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
152
150
|
resourceOwnerId?: number;
|
|
153
151
|
/**
|
|
154
152
|
* @remarks
|
|
155
|
-
* >
|
|
153
|
+
* >This parameter is not publicly available.
|
|
156
154
|
*
|
|
157
155
|
* @example
|
|
158
156
|
* null
|
|
@@ -160,7 +158,7 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
160
158
|
storageLocationArn?: string;
|
|
161
159
|
/**
|
|
162
160
|
* @remarks
|
|
163
|
-
* The
|
|
161
|
+
* The tags.
|
|
164
162
|
*/
|
|
165
163
|
tag?: CreateSnapshotGroupRequestTag[];
|
|
166
164
|
static names(): { [key: string]: string } {
|
|
@@ -5,9 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateSnapshotRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key of the tag.
|
|
9
|
-
*
|
|
10
|
-
* > This parameter is not recommended. For better compatibility, use the Key parameter instead.
|
|
8
|
+
* The tag key of the snapshot. 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://.
|
|
11
9
|
*
|
|
12
10
|
* @example
|
|
13
11
|
* TestKey
|
|
@@ -15,7 +13,7 @@ export class CreateSnapshotRequestTag extends $dara.Model {
|
|
|
15
13
|
key?: string;
|
|
16
14
|
/**
|
|
17
15
|
* @remarks
|
|
18
|
-
* The tag value.
|
|
16
|
+
* The tag value of the snapshot. 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://.
|
|
19
17
|
*
|
|
20
18
|
* @example
|
|
21
19
|
* TestValue
|
|
@@ -47,13 +45,12 @@ export class CreateSnapshotRequestTag extends $dara.Model {
|
|
|
47
45
|
export class CreateSnapshotRequest extends $dara.Model {
|
|
48
46
|
/**
|
|
49
47
|
* @remarks
|
|
50
|
-
* The type
|
|
51
|
-
*
|
|
52
|
-
* - Standard: a standard snapshot.
|
|
48
|
+
* The snapshot type. Valid values:
|
|
53
49
|
*
|
|
54
|
-
* -
|
|
50
|
+
* - Standard: standard snapshot.
|
|
51
|
+
* - Flash: local snapshot.
|
|
55
52
|
*
|
|
56
|
-
* > This parameter
|
|
53
|
+
* > This parameter will be deprecated. Standard snapshots of enterprise SSDs have been upgraded to [instant access by default](https://help.aliyun.com/document_detail/193667.html). No additional configuration or fees are required. This applies to enterprise SSDs, ESSD AutoPL disks, ESSD Entry disks, and regional enterprise SSDs. Standard snapshots of standard SSDs are also active by default.
|
|
57
54
|
*
|
|
58
55
|
* @example
|
|
59
56
|
* Standard
|
|
@@ -61,7 +58,7 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
61
58
|
category?: string;
|
|
62
59
|
/**
|
|
63
60
|
* @remarks
|
|
64
|
-
*
|
|
61
|
+
* 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).
|
|
65
62
|
*
|
|
66
63
|
* @example
|
|
67
64
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -69,9 +66,9 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
69
66
|
clientToken?: string;
|
|
70
67
|
/**
|
|
71
68
|
* @remarks
|
|
72
|
-
* The snapshot description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
69
|
+
* The description of the snapshot. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
73
70
|
*
|
|
74
|
-
*
|
|
71
|
+
* Default value: null.
|
|
75
72
|
*
|
|
76
73
|
* @example
|
|
77
74
|
* testDescription
|
|
@@ -79,7 +76,7 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
79
76
|
description?: string;
|
|
80
77
|
/**
|
|
81
78
|
* @remarks
|
|
82
|
-
* The ID
|
|
79
|
+
* The disk ID.
|
|
83
80
|
*
|
|
84
81
|
* This parameter is required.
|
|
85
82
|
*
|
|
@@ -89,15 +86,13 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
89
86
|
diskId?: string;
|
|
90
87
|
/**
|
|
91
88
|
* @remarks
|
|
92
|
-
* Specifies whether to enable the
|
|
93
|
-
*
|
|
94
|
-
* -
|
|
95
|
-
*
|
|
96
|
-
* - false: Disables the Instant Access feature. A standard snapshot is created.
|
|
89
|
+
* Specifies whether to enable the snapshot instant access feature. Valid values:
|
|
90
|
+
* - true: enables the feature. Only enterprise SSDs support this feature.
|
|
91
|
+
* - false: shutdown. A standard snapshot is created.
|
|
97
92
|
*
|
|
98
93
|
* Default value: false.
|
|
99
94
|
*
|
|
100
|
-
* > This parameter is deprecated.
|
|
95
|
+
* > This parameter is deprecated. Standard snapshots of enterprise SSDs have been upgraded to [instant access by default](https://help.aliyun.com/document_detail/193667.html). No additional configuration or fees are required. This applies to enterprise SSDs, ESSD AutoPL disks, ESSD Entry disks, and regional enterprise SSDs. Standard snapshots of standard SSDs are also active by default.
|
|
101
96
|
*
|
|
102
97
|
* @example
|
|
103
98
|
* false
|
|
@@ -105,11 +100,11 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
105
100
|
instantAccess?: boolean;
|
|
106
101
|
/**
|
|
107
102
|
* @remarks
|
|
108
|
-
*
|
|
103
|
+
* Settings for the retention period of the snapshot instant access feature. After the retention period expires, the snapshot is subject to automatic release. This parameter takes effect only when `InstantAccess=true`. Unit: days. Valid values: 1 to 65535.
|
|
109
104
|
*
|
|
110
|
-
*
|
|
105
|
+
* Default value: the same as the value of the `RetentionDays` parameter.
|
|
111
106
|
*
|
|
112
|
-
* > This parameter is deprecated.
|
|
107
|
+
* > This parameter is deprecated. Standard snapshots of enterprise SSDs have been upgraded to [instant access by default](https://help.aliyun.com/document_detail/193667.html). No additional configuration or fees are required. This applies to enterprise SSDs, ESSD AutoPL disks, ESSD Entry disks, and regional enterprise SSDs. Standard snapshots of standard SSDs are also active by default.
|
|
113
108
|
*
|
|
114
109
|
* @example
|
|
115
110
|
* 1
|
|
@@ -119,7 +114,7 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
119
114
|
ownerId?: number;
|
|
120
115
|
/**
|
|
121
116
|
* @remarks
|
|
122
|
-
* The ID of the
|
|
117
|
+
* The ID of the resource group to which the snapshot belongs.
|
|
123
118
|
*
|
|
124
119
|
* @example
|
|
125
120
|
* rg-bp67acfmxazb4p****
|
|
@@ -129,9 +124,9 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
129
124
|
resourceOwnerId?: number;
|
|
130
125
|
/**
|
|
131
126
|
* @remarks
|
|
132
|
-
*
|
|
127
|
+
* Settings for the retention period of the snapshot. Unit: days. Valid values: 1 to 65536. The snapshot is subject to automatic release when the retention period expires.
|
|
133
128
|
*
|
|
134
|
-
*
|
|
129
|
+
* Default value: null, which indicates that the snapshot is not subject to automatic release.
|
|
135
130
|
*
|
|
136
131
|
* @example
|
|
137
132
|
* 30
|
|
@@ -139,9 +134,9 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
139
134
|
retentionDays?: number;
|
|
140
135
|
/**
|
|
141
136
|
* @remarks
|
|
142
|
-
* The snapshot name must be 2 to 128 characters
|
|
137
|
+
* The name of the snapshot. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. The name can contain Unicode characters under the letter category (including letters in English and Chinese), ASCII digits (0-9), colons (:), underscores (_), periods (.), and hyphens (-).
|
|
143
138
|
*
|
|
144
|
-
* > The name cannot start with `
|
|
139
|
+
* > The name cannot start with `auto` to avoid conflicts with the names of automatic snapshots.
|
|
145
140
|
*
|
|
146
141
|
* @example
|
|
147
142
|
* testSnapshotName
|
|
@@ -149,7 +144,7 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
149
144
|
snapshotName?: string;
|
|
150
145
|
/**
|
|
151
146
|
* @remarks
|
|
152
|
-
* > This parameter is not available
|
|
147
|
+
* > This parameter is not publicly available.
|
|
153
148
|
*
|
|
154
149
|
* @example
|
|
155
150
|
* null
|
|
@@ -157,7 +152,7 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
157
152
|
storageLocationArn?: string;
|
|
158
153
|
/**
|
|
159
154
|
* @remarks
|
|
160
|
-
* The tags
|
|
155
|
+
* The tags.
|
|
161
156
|
*/
|
|
162
157
|
tag?: CreateSnapshotRequestTag[];
|
|
163
158
|
static names(): { [key: string]: string } {
|
|
@@ -7,7 +7,7 @@ export class DeleteSnapshotGroupRequest extends $dara.Model {
|
|
|
7
7
|
ownerId?: number;
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The region ID of the snapshot-consistent group. You can call
|
|
10
|
+
* The region ID of the snapshot-consistent group. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
11
11
|
*
|
|
12
12
|
* This parameter is required.
|
|
13
13
|
*
|
|
@@ -19,7 +19,7 @@ export class DeleteSnapshotGroupRequest extends $dara.Model {
|
|
|
19
19
|
resourceOwnerId?: number;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The ID of the snapshot-consistent group. You can call
|
|
22
|
+
* The ID of the snapshot-consistent group. You can call [DescribeSnapshotGroups](https://help.aliyun.com/document_detail/210940.html) to query snapshot-consistent group IDs.
|
|
23
23
|
*
|
|
24
24
|
* This parameter is required.
|
|
25
25
|
*
|
|
@@ -119,7 +119,7 @@ export class DeleteSnapshotGroupResponseBody extends $dara.Model {
|
|
|
119
119
|
operationProgressSet?: DeleteSnapshotGroupResponseBodyOperationProgressSet;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
* The ID
|
|
122
|
+
* The request ID.
|
|
123
123
|
*
|
|
124
124
|
* @example
|
|
125
125
|
* 6EDE885A-FDC1-4FAE-BC44-6EACAEA6CC6E
|
|
@@ -7,9 +7,9 @@ export class DeleteSnapshotRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Specifies whether to force delete the snapshot that has been used to create cloud disks. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - true:
|
|
10
|
+
* - true: Force deletes the snapshot. After the snapshot is forcibly deleted, the cloud disk created from the snapshot cannot be reinitialized.
|
|
11
11
|
*
|
|
12
|
-
* - false:
|
|
12
|
+
* - false: Does not force delete the snapshot.
|
|
13
13
|
*
|
|
14
14
|
* Default value: false.
|
|
15
15
|
*
|
|
@@ -6,7 +6,7 @@ export class DescribeDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
|
6
6
|
ownerId?: number;
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The ID
|
|
9
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) to query the most recent region list.
|
|
10
10
|
*
|
|
11
11
|
* This parameter is required.
|
|
12
12
|
*
|
|
@@ -6,7 +6,7 @@ export class DescribeDiskEncryptionByDefaultStatusRequest extends $dara.Model {
|
|
|
6
6
|
ownerId?: number;
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The region ID. You can call
|
|
9
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) to query the most recent region list.
|
|
10
10
|
*
|
|
11
11
|
* This parameter is required.
|
|
12
12
|
*
|
|
@@ -5,11 +5,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeDiskEncryptionByDefaultStatusResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates whether account-level default encryption
|
|
8
|
+
* Indicates whether account-level default encryption is enabled for block storage.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* Valid values:
|
|
11
11
|
*
|
|
12
|
-
* -
|
|
12
|
+
* - true: Enabled.
|
|
13
|
+
*
|
|
14
|
+
* - false: Not enabled.
|
|
13
15
|
*
|
|
14
16
|
* Default value: false.
|
|
15
17
|
*
|