@alicloud/ecs20140526 7.0.2 → 7.0.4
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 +24 -24
- package/dist/client.js +39 -24
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.d.ts +34 -0
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk.d.ts +11 -4
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions.d.ts +6 -0
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk.d.ts +10 -3
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.d.ts +34 -0
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk.d.ts +11 -4
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions.d.ts +6 -0
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk.d.ts +10 -3
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk.js.map +1 -1
- package/dist/models/CreateDiskRequest.d.ts +9 -4
- package/dist/models/CreateDiskRequest.js.map +1 -1
- package/dist/models/CreateStorageSetRequest.d.ts +2 -0
- package/dist/models/CreateStorageSetRequest.js +6 -0
- package/dist/models/CreateStorageSetRequest.js.map +1 -1
- package/dist/models/CreateStorageSetRequestTag.d.ts +15 -0
- package/dist/models/CreateStorageSetRequestTag.js +60 -0
- package/dist/models/CreateStorageSetRequestTag.js.map +1 -0
- package/dist/models/DeleteImageRequest.d.ts +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +4 -3
- package/dist/models/DescribeDisksRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotLinksRequest.d.ts +2 -0
- package/dist/models/DescribeSnapshotLinksRequest.js +4 -0
- package/dist/models/DescribeSnapshotLinksRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +1 -0
- package/dist/models/DescribeSnapshotLinksResponseBody.js +2 -0
- package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
- package/dist/models/DescribeStorageSetsRequest.d.ts +2 -0
- package/dist/models/DescribeStorageSetsRequest.js +6 -0
- package/dist/models/DescribeStorageSetsRequest.js.map +1 -1
- package/dist/models/DescribeStorageSetsRequestTag.d.ts +15 -0
- package/dist/models/DescribeStorageSetsRequestTag.js +60 -0
- package/dist/models/DescribeStorageSetsRequestTag.js.map +1 -0
- package/dist/models/DescribeStorageSetsResponseBodyStorageSetsStorageSet.d.ts +3 -0
- package/dist/models/DescribeStorageSetsResponseBodyStorageSetsStorageSet.js +8 -0
- package/dist/models/DescribeStorageSetsResponseBodyStorageSetsStorageSet.js.map +1 -1
- package/dist/models/DescribeStorageSetsResponseBodyStorageSetsStorageSetTags.d.ts +15 -0
- package/dist/models/DescribeStorageSetsResponseBodyStorageSetsStorageSetTags.js +62 -0
- package/dist/models/DescribeStorageSetsResponseBodyStorageSetsStorageSetTags.js.map +1 -0
- package/dist/models/DescribeStorageSetsResponseBodyStorageSetsStorageSetTagsTag.d.ts +15 -0
- package/dist/models/DescribeStorageSetsResponseBodyStorageSetsStorageSetTagsTag.js +60 -0
- package/dist/models/DescribeStorageSetsResponseBodyStorageSetsStorageSetTagsTag.js.map +1 -0
- package/dist/models/InvokeCommandRequest.d.ts +1 -0
- package/dist/models/InvokeCommandRequest.js +2 -0
- package/dist/models/InvokeCommandRequest.js.map +1 -1
- package/dist/models/InvokeCommandShrinkRequest.d.ts +1 -0
- package/dist/models/InvokeCommandShrinkRequest.js +2 -0
- package/dist/models/InvokeCommandShrinkRequest.js.map +1 -1
- package/dist/models/ModifyInstanceSpecRequest.d.ts +6 -11
- package/dist/models/ModifyInstanceSpecRequest.js.map +1 -1
- package/dist/models/ResizeDiskRequest.d.ts +6 -6
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +45 -37
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +44 -24
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts +34 -0
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk.ts +11 -4
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions.ts +6 -0
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk.ts +10 -3
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts +34 -0
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk.ts +11 -4
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions.ts +6 -0
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk.ts +10 -3
- package/src/models/CreateDiskRequest.ts +9 -4
- package/src/models/CreateStorageSetRequest.ts +7 -0
- package/src/models/CreateStorageSetRequestTag.ts +30 -0
- package/src/models/DeleteImageRequest.ts +1 -1
- package/src/models/DescribeDisksRequest.ts +4 -3
- package/src/models/DescribeSnapshotLinksRequest.ts +6 -0
- package/src/models/DescribeSnapshotLinksResponseBody.ts +3 -0
- package/src/models/DescribeStorageSetsRequest.ts +7 -0
- package/src/models/DescribeStorageSetsRequestTag.ts +30 -0
- package/src/models/DescribeStorageSetsResponseBodyStorageSetsStorageSet.ts +10 -0
- package/src/models/DescribeStorageSetsResponseBodyStorageSetsStorageSetTags.ts +31 -0
- package/src/models/DescribeStorageSetsResponseBodyStorageSetsStorageSetTagsTag.ts +30 -0
- package/src/models/InvokeCommandRequest.ts +3 -0
- package/src/models/InvokeCommandShrinkRequest.ts +3 -0
- package/src/models/ModifyInstanceSpecRequest.ts +6 -11
- package/src/models/ResizeDiskRequest.ts +6 -6
- package/src/models/model.ts +4 -0
|
@@ -363,6 +363,14 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
363
363
|
* 1
|
|
364
364
|
*/
|
|
365
365
|
autoRenewPeriod?: number;
|
|
366
|
+
/**
|
|
367
|
+
* @remarks
|
|
368
|
+
* The image options.
|
|
369
|
+
*
|
|
370
|
+
* When you specify this parameter, take note of the following items:
|
|
371
|
+
*
|
|
372
|
+
* * This parameter takes effect only when the AutoProvisioningGroupType parameter is set to instant.
|
|
373
|
+
*/
|
|
366
374
|
imageOptions?: CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions;
|
|
367
375
|
/**
|
|
368
376
|
* @remarks
|
|
@@ -385,11 +393,37 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
385
393
|
*/
|
|
386
394
|
periodUnit?: string;
|
|
387
395
|
/**
|
|
396
|
+
* @remarks
|
|
397
|
+
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
|
|
398
|
+
*
|
|
399
|
+
* * 1: After a preemptible instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
400
|
+
* * 0: After a preemptible instance is created, Alibaba Cloud does not ensure that the instance runs for one hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
401
|
+
*
|
|
402
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The preemptible instance is billed by second. We recommend that you specify an appropriate protection period based on your business requirements.
|
|
403
|
+
*
|
|
404
|
+
* When you specify this parameter, take note of the following items:
|
|
405
|
+
*
|
|
406
|
+
* * This parameter takes effect only when the AutoProvisioningGroupType parameter is set to instant.
|
|
407
|
+
*
|
|
388
408
|
* @example
|
|
389
409
|
* 1
|
|
390
410
|
*/
|
|
391
411
|
spotDuration?: number;
|
|
392
412
|
/**
|
|
413
|
+
* @remarks
|
|
414
|
+
* The interruption event of the preemptible instances. Valid values:
|
|
415
|
+
*
|
|
416
|
+
* * Terminate: The instance is released.
|
|
417
|
+
* * Stop: The instance is stopped in economical mode.
|
|
418
|
+
*
|
|
419
|
+
* For information about the economical mode, see [Economical mode](https://help.aliyun.com/zh/ecs/user-guide/economical-mode?spm=a2c4g.11186623.0.0.58796e1dJaYlK0).
|
|
420
|
+
*
|
|
421
|
+
* Default value: Terminate.
|
|
422
|
+
*
|
|
423
|
+
* When you specify this parameter, take note of the following items:
|
|
424
|
+
*
|
|
425
|
+
* * This parameter takes effect only when the AutoProvisioningGroupType parameter is set to instant.
|
|
426
|
+
*
|
|
393
427
|
* @example
|
|
394
428
|
* Terminate
|
|
395
429
|
*/
|
|
@@ -4,6 +4,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the automatic snapshot policy to apply to data disk N.
|
|
9
|
+
*
|
|
10
|
+
* When you specify this parameter, take note of the following items:
|
|
11
|
+
*
|
|
12
|
+
* * This parameter takes effect only when the AutoProvisioningGroupType parameter is set to instant.
|
|
13
|
+
*
|
|
7
14
|
* @example
|
|
8
15
|
* sp-bp67acfmxazb4p****
|
|
9
16
|
*/
|
|
@@ -27,7 +34,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
27
34
|
*
|
|
28
35
|
* * cloud_efficiency: utra disk.
|
|
29
36
|
* * cloud_ssd: standard SSD.
|
|
30
|
-
* * cloud_essd:
|
|
37
|
+
* * cloud_essd: ESSD.
|
|
31
38
|
* * cloud: basic disk.
|
|
32
39
|
*
|
|
33
40
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
@@ -71,7 +78,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
71
78
|
device?: string;
|
|
72
79
|
/**
|
|
73
80
|
* @remarks
|
|
74
|
-
* The name of data disk N. The name must be 2 to 128 characters in length The name must start with a letter but cannot start with `http://` or `https://`. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
81
|
+
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with `http://` or `https://`. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
75
82
|
*
|
|
76
83
|
* This parameter is left empty by default.
|
|
77
84
|
*
|
|
@@ -96,7 +103,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
96
103
|
* * true: encrypts system disk N.
|
|
97
104
|
* * false: does not encrypt system disk N.
|
|
98
105
|
*
|
|
99
|
-
* Default value: false.
|
|
106
|
+
* Default value: false. Valid values:
|
|
100
107
|
*
|
|
101
108
|
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
102
109
|
*
|
|
@@ -131,7 +138,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
131
138
|
performanceLevel?: string;
|
|
132
139
|
/**
|
|
133
140
|
* @remarks
|
|
134
|
-
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as
|
|
141
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
135
142
|
*
|
|
136
143
|
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
137
144
|
*
|
|
@@ -4,6 +4,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Indicates whether the instance that uses the image supports logons of the ecs-user user. Valid value:
|
|
9
|
+
*
|
|
10
|
+
* * true: The instance that uses the image supports logons of the ecs-user user.
|
|
11
|
+
* * false: The instance that uses the image does not support logons of the ecs-user user.
|
|
12
|
+
*
|
|
7
13
|
* @example
|
|
8
14
|
* false
|
|
9
15
|
*/
|
|
@@ -4,6 +4,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the automatic snapshot policy to apply to the system disk.
|
|
9
|
+
*
|
|
10
|
+
* When you specify this parameter, take note of the following items:
|
|
11
|
+
*
|
|
12
|
+
* * This parameter takes effect only when the AutoProvisioningGroupType parameter is set to instant.
|
|
13
|
+
*
|
|
7
14
|
* @example
|
|
8
15
|
* sp-bp67acfmxazb4p****
|
|
9
16
|
*/
|
|
@@ -45,7 +52,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk ext
|
|
|
45
52
|
* * true: encrypts system disk N.
|
|
46
53
|
* * false: does not encrypt system disk N.
|
|
47
54
|
*
|
|
48
|
-
* Default value: false.
|
|
55
|
+
* Default value: false. Valid values:
|
|
49
56
|
*
|
|
50
57
|
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
51
58
|
*
|
|
@@ -55,7 +62,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk ext
|
|
|
55
62
|
encrypted?: string;
|
|
56
63
|
/**
|
|
57
64
|
* @remarks
|
|
58
|
-
* The ID of the KMS key to use for
|
|
65
|
+
* The ID of the KMS key to use for system disk N.
|
|
59
66
|
*
|
|
60
67
|
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
61
68
|
*
|
|
@@ -65,7 +72,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk ext
|
|
|
65
72
|
KMSKeyId?: string;
|
|
66
73
|
/**
|
|
67
74
|
* @remarks
|
|
68
|
-
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as
|
|
75
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
69
76
|
*
|
|
70
77
|
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
71
78
|
*
|
|
@@ -363,6 +363,14 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
363
363
|
* 1
|
|
364
364
|
*/
|
|
365
365
|
autoRenewPeriod?: number;
|
|
366
|
+
/**
|
|
367
|
+
* @remarks
|
|
368
|
+
* The image options.
|
|
369
|
+
*
|
|
370
|
+
* When you specify this parameter, take note of the following items:
|
|
371
|
+
*
|
|
372
|
+
* * This parameter takes effect only when the AutoProvisioningGroupType parameter is set to instant.
|
|
373
|
+
*/
|
|
366
374
|
imageOptions?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions;
|
|
367
375
|
/**
|
|
368
376
|
* @remarks
|
|
@@ -385,11 +393,37 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
385
393
|
*/
|
|
386
394
|
periodUnit?: string;
|
|
387
395
|
/**
|
|
396
|
+
* @remarks
|
|
397
|
+
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
|
|
398
|
+
*
|
|
399
|
+
* * 1: After a preemptible instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
400
|
+
* * 0: After a preemptible instance is created, Alibaba Cloud does not ensure that the instance runs for one hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
401
|
+
*
|
|
402
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The preemptible instance is billed by second. We recommend that you specify an appropriate protection period based on your business requirements.
|
|
403
|
+
*
|
|
404
|
+
* When you specify this parameter, take note of the following items:
|
|
405
|
+
*
|
|
406
|
+
* * This parameter takes effect only when the AutoProvisioningGroupType parameter is set to instant.
|
|
407
|
+
*
|
|
388
408
|
* @example
|
|
389
409
|
* 1
|
|
390
410
|
*/
|
|
391
411
|
spotDuration?: number;
|
|
392
412
|
/**
|
|
413
|
+
* @remarks
|
|
414
|
+
* The interruption event of the preemptible instances. Valid values:
|
|
415
|
+
*
|
|
416
|
+
* * Terminate: The instance is released.
|
|
417
|
+
* * Stop: The instance is stopped in economical mode.
|
|
418
|
+
*
|
|
419
|
+
* For information about the economical mode, see [Economical mode](https://help.aliyun.com/zh/ecs/user-guide/economical-mode?spm=a2c4g.11186623.0.0.58796e1dJaYlK0).
|
|
420
|
+
*
|
|
421
|
+
* Default value: Terminate.
|
|
422
|
+
*
|
|
423
|
+
* When you specify this parameter, take note of the following items:
|
|
424
|
+
*
|
|
425
|
+
* * This parameter takes effect only when the AutoProvisioningGroupType parameter is set to instant.
|
|
426
|
+
*
|
|
393
427
|
* @example
|
|
394
428
|
* Terminate
|
|
395
429
|
*/
|
|
@@ -4,6 +4,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the automatic snapshot policy to apply to data disk N.
|
|
9
|
+
*
|
|
10
|
+
* When you specify this parameter, take note of the following items:
|
|
11
|
+
*
|
|
12
|
+
* * This parameter takes effect only when the AutoProvisioningGroupType parameter is set to instant.
|
|
13
|
+
*
|
|
7
14
|
* @example
|
|
8
15
|
* sp-bp67acfmxazb4p****
|
|
9
16
|
*/
|
|
@@ -27,7 +34,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
27
34
|
*
|
|
28
35
|
* * cloud_efficiency: utra disk.
|
|
29
36
|
* * cloud_ssd: standard SSD.
|
|
30
|
-
* * cloud_essd:
|
|
37
|
+
* * cloud_essd: ESSD.
|
|
31
38
|
* * cloud: basic disk.
|
|
32
39
|
*
|
|
33
40
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
@@ -71,7 +78,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
71
78
|
device?: string;
|
|
72
79
|
/**
|
|
73
80
|
* @remarks
|
|
74
|
-
* The name of data disk N. The name must be 2 to 128 characters in length The name must start with a letter but cannot start with `http://` or `https://`. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
81
|
+
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with `http://` or `https://`. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
75
82
|
*
|
|
76
83
|
* This parameter is left empty by default.
|
|
77
84
|
*
|
|
@@ -96,7 +103,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
96
103
|
* * true: encrypts system disk N.
|
|
97
104
|
* * false: does not encrypt system disk N.
|
|
98
105
|
*
|
|
99
|
-
* Default value: false.
|
|
106
|
+
* Default value: false. Valid values:
|
|
100
107
|
*
|
|
101
108
|
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
102
109
|
*
|
|
@@ -131,7 +138,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
131
138
|
performanceLevel?: string;
|
|
132
139
|
/**
|
|
133
140
|
* @remarks
|
|
134
|
-
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as
|
|
141
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
135
142
|
*
|
|
136
143
|
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
137
144
|
*
|
package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions.ts
CHANGED
|
@@ -4,6 +4,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Indicates whether the instance that uses the image supports logons of the ecs-user user. Valid value:
|
|
9
|
+
*
|
|
10
|
+
* * true: The instance that uses the image supports logons of the ecs-user user.
|
|
11
|
+
* * false: The instance that uses the image does not support logons of the ecs-user user.
|
|
12
|
+
*
|
|
7
13
|
* @example
|
|
8
14
|
* false
|
|
9
15
|
*/
|
|
@@ -4,6 +4,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the automatic snapshot policy to apply to the system disk.
|
|
9
|
+
*
|
|
10
|
+
* When you specify this parameter, take note of the following items:
|
|
11
|
+
*
|
|
12
|
+
* * This parameter takes effect only when the AutoProvisioningGroupType parameter is set to instant.
|
|
13
|
+
*
|
|
7
14
|
* @example
|
|
8
15
|
* sp-bp67acfmxazb4p****
|
|
9
16
|
*/
|
|
@@ -45,7 +52,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDi
|
|
|
45
52
|
* * true: encrypts system disk N.
|
|
46
53
|
* * false: does not encrypt system disk N.
|
|
47
54
|
*
|
|
48
|
-
* Default value: false.
|
|
55
|
+
* Default value: false. Valid values:
|
|
49
56
|
*
|
|
50
57
|
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
51
58
|
*
|
|
@@ -55,7 +62,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDi
|
|
|
55
62
|
encrypted?: string;
|
|
56
63
|
/**
|
|
57
64
|
* @remarks
|
|
58
|
-
* The ID of the KMS key to use for
|
|
65
|
+
* The ID of the KMS key to use for system disk N.
|
|
59
66
|
*
|
|
60
67
|
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
61
68
|
*
|
|
@@ -65,7 +72,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDi
|
|
|
65
72
|
KMSKeyId?: string;
|
|
66
73
|
/**
|
|
67
74
|
* @remarks
|
|
68
|
-
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as
|
|
75
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
69
76
|
*
|
|
70
77
|
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
71
78
|
*
|
|
@@ -56,7 +56,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
56
56
|
* * cloud: basic disk
|
|
57
57
|
* * cloud_efficiency: ultra disk
|
|
58
58
|
* * cloud_ssd: standard SSD
|
|
59
|
-
* * cloud_essd: ESSD
|
|
59
|
+
* * cloud_essd: Enterprise SSD (ESSD)
|
|
60
60
|
* * cloud_auto: ESSD AutoPL disk
|
|
61
61
|
* * cloud_essd_entry: ESSD Entry disk
|
|
62
62
|
* * cloud_regional_disk_auto: Regional ESSD
|
|
@@ -157,9 +157,14 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
157
157
|
performanceLevel?: string;
|
|
158
158
|
/**
|
|
159
159
|
* @remarks
|
|
160
|
-
* The provisioned read/write IOPS
|
|
160
|
+
* The provisioned read/write IOPS per ESSD AutoPL disk. Valid values:
|
|
161
161
|
*
|
|
162
|
-
*
|
|
162
|
+
* * Capacity (GiB) ≤ 3: not configurable.
|
|
163
|
+
* * Capacity (GiB) ≥ 4: [0, min{(1,000
|
|
164
|
+
*
|
|
165
|
+
* IOPS/GiB × Capacity - Baseline IOPS), 50,000}].
|
|
166
|
+
*
|
|
167
|
+
* Baseline IOPS = max{min{1,800 + 50 × Capacity, 50,000}, 3,000}.
|
|
163
168
|
*
|
|
164
169
|
* > This parameter is available only if you set `DiskCategory` to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
165
170
|
*
|
|
@@ -189,7 +194,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
189
194
|
resourceOwnerId?: number;
|
|
190
195
|
/**
|
|
191
196
|
* @remarks
|
|
192
|
-
* The size
|
|
197
|
+
* The disk size. Unit: GiB. You must specify this parameter. Valid values for different disk categories:
|
|
193
198
|
*
|
|
194
199
|
* * Valid values when DiskCategory is set to cloud: 5 to 2000.
|
|
195
200
|
*
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateStorageSetRequestTag } from "./CreateStorageSetRequestTag";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class CreateStorageSetRequest extends $dara.Model {
|
|
@@ -51,6 +52,7 @@ export class CreateStorageSetRequest extends $dara.Model {
|
|
|
51
52
|
* testStorageSetName
|
|
52
53
|
*/
|
|
53
54
|
storageSetName?: string;
|
|
55
|
+
tag?: CreateStorageSetRequestTag[];
|
|
54
56
|
/**
|
|
55
57
|
* @remarks
|
|
56
58
|
* The zone ID of the storage set. You can call the [DescribeZones](https://help.aliyun.com/document_detail/25610.html) operation to query the most recent zone list.
|
|
@@ -72,6 +74,7 @@ export class CreateStorageSetRequest extends $dara.Model {
|
|
|
72
74
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
73
75
|
resourceOwnerId: 'ResourceOwnerId',
|
|
74
76
|
storageSetName: 'StorageSetName',
|
|
77
|
+
tag: 'Tag',
|
|
75
78
|
zoneId: 'ZoneId',
|
|
76
79
|
};
|
|
77
80
|
}
|
|
@@ -87,11 +90,15 @@ export class CreateStorageSetRequest extends $dara.Model {
|
|
|
87
90
|
resourceOwnerAccount: 'string',
|
|
88
91
|
resourceOwnerId: 'number',
|
|
89
92
|
storageSetName: 'string',
|
|
93
|
+
tag: { 'type': 'array', 'itemType': CreateStorageSetRequestTag },
|
|
90
94
|
zoneId: 'string',
|
|
91
95
|
};
|
|
92
96
|
}
|
|
93
97
|
|
|
94
98
|
validate() {
|
|
99
|
+
if(Array.isArray(this.tag)) {
|
|
100
|
+
$dara.Model.validateArray(this.tag);
|
|
101
|
+
}
|
|
95
102
|
super.validate();
|
|
96
103
|
}
|
|
97
104
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateStorageSetRequestTag extends $dara.Model {
|
|
6
|
+
key?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
key: 'Key',
|
|
11
|
+
value: 'Value',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
key: 'string',
|
|
18
|
+
value: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -11,7 +11,7 @@ export class DeleteImageRequest extends $dara.Model {
|
|
|
11
11
|
* * true: forcefully deletes the custom image, regardless of whether the image is being used by instances.
|
|
12
12
|
* * false: verifies that the custom image is not being used by instances and then deletes the image.
|
|
13
13
|
*
|
|
14
|
-
* Default value: false
|
|
14
|
+
* Default value: false
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* false
|
|
@@ -26,7 +26,7 @@ export class DescribeDisksRequest extends $dara.Model {
|
|
|
26
26
|
autoSnapshotPolicyId?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The category
|
|
29
|
+
* The disk category. Valid values:
|
|
30
30
|
*
|
|
31
31
|
* * all: all disk categories
|
|
32
32
|
* * cloud: basic disk
|
|
@@ -34,11 +34,12 @@ export class DescribeDisksRequest extends $dara.Model {
|
|
|
34
34
|
* * cloud_ssd: standard SSD
|
|
35
35
|
* * cloud_essd: Enterprise SSD (ESSD)
|
|
36
36
|
* * cloud_auto: ESSD AutoPL disk
|
|
37
|
-
* *
|
|
38
|
-
* * local_hdd_pro: throughput-intensive local disk
|
|
37
|
+
* * cloud_regional_disk_auto: Regional ESSD
|
|
39
38
|
* * cloud_essd_entry: ESSD Entry disk
|
|
40
39
|
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk
|
|
41
40
|
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
41
|
+
* * local_ssd_pro: I/O-intensive local disk
|
|
42
|
+
* * local_hdd_pro: throughput-intensive local disk
|
|
42
43
|
* * ephemeral: retired local disk
|
|
43
44
|
* * ephemeral_ssd: retired local SSD
|
|
44
45
|
*
|
|
@@ -19,6 +19,8 @@ export class DescribeSnapshotLinksRequest extends $dara.Model {
|
|
|
19
19
|
* i-bp1h6jmbefj2cyqs****
|
|
20
20
|
*/
|
|
21
21
|
instanceId?: string;
|
|
22
|
+
maxResults?: number;
|
|
23
|
+
nextToken?: string;
|
|
22
24
|
ownerAccount?: string;
|
|
23
25
|
ownerId?: number;
|
|
24
26
|
/**
|
|
@@ -65,6 +67,8 @@ export class DescribeSnapshotLinksRequest extends $dara.Model {
|
|
|
65
67
|
return {
|
|
66
68
|
diskIds: 'DiskIds',
|
|
67
69
|
instanceId: 'InstanceId',
|
|
70
|
+
maxResults: 'MaxResults',
|
|
71
|
+
nextToken: 'NextToken',
|
|
68
72
|
ownerAccount: 'OwnerAccount',
|
|
69
73
|
ownerId: 'OwnerId',
|
|
70
74
|
pageNumber: 'PageNumber',
|
|
@@ -80,6 +84,8 @@ export class DescribeSnapshotLinksRequest extends $dara.Model {
|
|
|
80
84
|
return {
|
|
81
85
|
diskIds: 'string',
|
|
82
86
|
instanceId: 'string',
|
|
87
|
+
maxResults: 'number',
|
|
88
|
+
nextToken: 'string',
|
|
83
89
|
ownerAccount: 'string',
|
|
84
90
|
ownerId: 'number',
|
|
85
91
|
pageNumber: 'number',
|
|
@@ -4,6 +4,7 @@ import { DescribeSnapshotLinksResponseBodySnapshotLinks } from "./DescribeSnapsh
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class DescribeSnapshotLinksResponseBody extends $dara.Model {
|
|
7
|
+
nextToken?: string;
|
|
7
8
|
/**
|
|
8
9
|
* @remarks
|
|
9
10
|
* The page number.
|
|
@@ -43,6 +44,7 @@ export class DescribeSnapshotLinksResponseBody extends $dara.Model {
|
|
|
43
44
|
totalCount?: number;
|
|
44
45
|
static names(): { [key: string]: string } {
|
|
45
46
|
return {
|
|
47
|
+
nextToken: 'NextToken',
|
|
46
48
|
pageNumber: 'PageNumber',
|
|
47
49
|
pageSize: 'PageSize',
|
|
48
50
|
requestId: 'RequestId',
|
|
@@ -53,6 +55,7 @@ export class DescribeSnapshotLinksResponseBody extends $dara.Model {
|
|
|
53
55
|
|
|
54
56
|
static types(): { [key: string]: any } {
|
|
55
57
|
return {
|
|
58
|
+
nextToken: 'string',
|
|
56
59
|
pageNumber: 'number',
|
|
57
60
|
pageSize: 'number',
|
|
58
61
|
requestId: 'string',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeStorageSetsRequestTag } from "./DescribeStorageSetsRequestTag";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class DescribeStorageSetsRequest extends $dara.Model {
|
|
@@ -77,6 +78,7 @@ export class DescribeStorageSetsRequest extends $dara.Model {
|
|
|
77
78
|
* storageSetTest
|
|
78
79
|
*/
|
|
79
80
|
storageSetName?: string;
|
|
81
|
+
tag?: DescribeStorageSetsRequestTag[];
|
|
80
82
|
/**
|
|
81
83
|
* @remarks
|
|
82
84
|
* The zone ID of the storage set. You can call the [DescribeZones](https://help.aliyun.com/document_detail/25610.html) operation to query the most recent zone list.
|
|
@@ -97,6 +99,7 @@ export class DescribeStorageSetsRequest extends $dara.Model {
|
|
|
97
99
|
resourceOwnerId: 'ResourceOwnerId',
|
|
98
100
|
storageSetIds: 'StorageSetIds',
|
|
99
101
|
storageSetName: 'StorageSetName',
|
|
102
|
+
tag: 'Tag',
|
|
100
103
|
zoneId: 'ZoneId',
|
|
101
104
|
};
|
|
102
105
|
}
|
|
@@ -113,11 +116,15 @@ export class DescribeStorageSetsRequest extends $dara.Model {
|
|
|
113
116
|
resourceOwnerId: 'number',
|
|
114
117
|
storageSetIds: 'string',
|
|
115
118
|
storageSetName: 'string',
|
|
119
|
+
tag: { 'type': 'array', 'itemType': DescribeStorageSetsRequestTag },
|
|
116
120
|
zoneId: 'string',
|
|
117
121
|
};
|
|
118
122
|
}
|
|
119
123
|
|
|
120
124
|
validate() {
|
|
125
|
+
if(Array.isArray(this.tag)) {
|
|
126
|
+
$dara.Model.validateArray(this.tag);
|
|
127
|
+
}
|
|
121
128
|
super.validate();
|
|
122
129
|
}
|
|
123
130
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeStorageSetsRequestTag extends $dara.Model {
|
|
6
|
+
key?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
key: 'Key',
|
|
11
|
+
value: 'Value',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
key: 'string',
|
|
18
|
+
value: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeStorageSetsResponseBodyStorageSetsStorageSetTags } from "./DescribeStorageSetsResponseBodyStorageSetsStorageSetTags";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class DescribeStorageSetsResponseBodyStorageSetsStorageSet extends $dara.Model {
|
|
@@ -27,6 +28,7 @@ export class DescribeStorageSetsResponseBodyStorageSetsStorageSet extends $dara.
|
|
|
27
28
|
* cn-hangzhou
|
|
28
29
|
*/
|
|
29
30
|
regionId?: string;
|
|
31
|
+
resourceGroupId?: string;
|
|
30
32
|
/**
|
|
31
33
|
* @remarks
|
|
32
34
|
* The ID of the storage set.
|
|
@@ -51,6 +53,7 @@ export class DescribeStorageSetsResponseBodyStorageSetsStorageSet extends $dara.
|
|
|
51
53
|
* 3
|
|
52
54
|
*/
|
|
53
55
|
storageSetPartitionNumber?: number;
|
|
56
|
+
tags?: DescribeStorageSetsResponseBodyStorageSetsStorageSetTags;
|
|
54
57
|
/**
|
|
55
58
|
* @remarks
|
|
56
59
|
* The ID of the zone to which the storage set belongs.
|
|
@@ -64,9 +67,11 @@ export class DescribeStorageSetsResponseBodyStorageSetsStorageSet extends $dara.
|
|
|
64
67
|
creationTime: 'CreationTime',
|
|
65
68
|
description: 'Description',
|
|
66
69
|
regionId: 'RegionId',
|
|
70
|
+
resourceGroupId: 'ResourceGroupId',
|
|
67
71
|
storageSetId: 'StorageSetId',
|
|
68
72
|
storageSetName: 'StorageSetName',
|
|
69
73
|
storageSetPartitionNumber: 'StorageSetPartitionNumber',
|
|
74
|
+
tags: 'Tags',
|
|
70
75
|
zoneId: 'ZoneId',
|
|
71
76
|
};
|
|
72
77
|
}
|
|
@@ -76,14 +81,19 @@ export class DescribeStorageSetsResponseBodyStorageSetsStorageSet extends $dara.
|
|
|
76
81
|
creationTime: 'string',
|
|
77
82
|
description: 'string',
|
|
78
83
|
regionId: 'string',
|
|
84
|
+
resourceGroupId: 'string',
|
|
79
85
|
storageSetId: 'string',
|
|
80
86
|
storageSetName: 'string',
|
|
81
87
|
storageSetPartitionNumber: 'number',
|
|
88
|
+
tags: DescribeStorageSetsResponseBodyStorageSetsStorageSetTags,
|
|
82
89
|
zoneId: 'string',
|
|
83
90
|
};
|
|
84
91
|
}
|
|
85
92
|
|
|
86
93
|
validate() {
|
|
94
|
+
if(this.tags && typeof (this.tags as any).validate === 'function') {
|
|
95
|
+
(this.tags as any).validate();
|
|
96
|
+
}
|
|
87
97
|
super.validate();
|
|
88
98
|
}
|
|
89
99
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeStorageSetsResponseBodyStorageSetsStorageSetTagsTag } from "./DescribeStorageSetsResponseBodyStorageSetsStorageSetTagsTag";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeStorageSetsResponseBodyStorageSetsStorageSetTags extends $dara.Model {
|
|
7
|
+
tag?: DescribeStorageSetsResponseBodyStorageSetsStorageSetTagsTag[];
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
tag: 'Tag',
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
static types(): { [key: string]: any } {
|
|
15
|
+
return {
|
|
16
|
+
tag: { 'type': 'array', 'itemType': DescribeStorageSetsResponseBodyStorageSetsStorageSetTagsTag },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
validate() {
|
|
21
|
+
if(Array.isArray(this.tag)) {
|
|
22
|
+
$dara.Model.validateArray(this.tag);
|
|
23
|
+
}
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|