@alicloud/ecs20140526 7.0.2 → 7.0.3
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 +33 -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 -3
- 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 +2 -1
- package/dist/models/DescribeDisksRequest.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 +36 -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 -3
- 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 +2 -1
- 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
|
@@ -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
|
*
|
|
@@ -51,10 +51,10 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
51
51
|
description?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The category of the data disk. Valid values:
|
|
54
|
+
* The category of the data disk. Valid values for different disk categories:
|
|
55
55
|
*
|
|
56
56
|
* * cloud: basic disk
|
|
57
|
-
* * cloud_efficiency:
|
|
57
|
+
* * cloud_efficiency: utra disk
|
|
58
58
|
* * cloud_ssd: standard SSD
|
|
59
59
|
* * cloud_essd: ESSD
|
|
60
60
|
* * cloud_auto: ESSD AutoPL disk
|
|
@@ -65,6 +65,12 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
65
65
|
*
|
|
66
66
|
* Default value: cloud.
|
|
67
67
|
*
|
|
68
|
+
* Valid values:
|
|
69
|
+
*
|
|
70
|
+
* * cloud_regional_disk_auto
|
|
71
|
+
* * elastic_ephemeral_disk_standard
|
|
72
|
+
* * elastic_ephemeral_disk_premium
|
|
73
|
+
*
|
|
68
74
|
* @example
|
|
69
75
|
* cloud_ssd
|
|
70
76
|
*/
|
|
@@ -189,7 +195,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
189
195
|
resourceOwnerId?: number;
|
|
190
196
|
/**
|
|
191
197
|
* @remarks
|
|
192
|
-
* The size
|
|
198
|
+
* The disk size. Unit: GiB. This parameter is required. Valid values for different disk categories:
|
|
193
199
|
*
|
|
194
200
|
* * Valid values when DiskCategory is set to cloud: 5 to 2000.
|
|
195
201
|
*
|
|
@@ -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,6 +34,7 @@ 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
|
+
* * cloud_regional_disk_auto: Regional ESSD
|
|
37
38
|
* * local_ssd_pro: I/O-intensive local disk
|
|
38
39
|
* * local_hdd_pro: throughput-intensive local disk
|
|
39
40
|
* * cloud_essd_entry: ESSD Entry disk
|
|
@@ -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
|
+
|
|
@@ -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 DescribeStorageSetsResponseBodyStorageSetsStorageSetTagsTag 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
|
+
|
|
@@ -245,6 +245,7 @@ export class InvokeCommandRequest extends $dara.Model {
|
|
|
245
245
|
* axtSecretPassword
|
|
246
246
|
*/
|
|
247
247
|
windowsPasswordName?: string;
|
|
248
|
+
workingDir?: string;
|
|
248
249
|
static names(): { [key: string]: string } {
|
|
249
250
|
return {
|
|
250
251
|
clientToken: 'ClientToken',
|
|
@@ -269,6 +270,7 @@ export class InvokeCommandRequest extends $dara.Model {
|
|
|
269
270
|
timeout: 'Timeout',
|
|
270
271
|
username: 'Username',
|
|
271
272
|
windowsPasswordName: 'WindowsPasswordName',
|
|
273
|
+
workingDir: 'WorkingDir',
|
|
272
274
|
};
|
|
273
275
|
}
|
|
274
276
|
|
|
@@ -296,6 +298,7 @@ export class InvokeCommandRequest extends $dara.Model {
|
|
|
296
298
|
timeout: 'number',
|
|
297
299
|
username: 'string',
|
|
298
300
|
windowsPasswordName: 'string',
|
|
301
|
+
workingDir: 'string',
|
|
299
302
|
};
|
|
300
303
|
}
|
|
301
304
|
|
|
@@ -245,6 +245,7 @@ export class InvokeCommandShrinkRequest extends $dara.Model {
|
|
|
245
245
|
* axtSecretPassword
|
|
246
246
|
*/
|
|
247
247
|
windowsPasswordName?: string;
|
|
248
|
+
workingDir?: string;
|
|
248
249
|
static names(): { [key: string]: string } {
|
|
249
250
|
return {
|
|
250
251
|
clientToken: 'ClientToken',
|
|
@@ -269,6 +270,7 @@ export class InvokeCommandShrinkRequest extends $dara.Model {
|
|
|
269
270
|
timeout: 'Timeout',
|
|
270
271
|
username: 'Username',
|
|
271
272
|
windowsPasswordName: 'WindowsPasswordName',
|
|
273
|
+
workingDir: 'WorkingDir',
|
|
272
274
|
};
|
|
273
275
|
}
|
|
274
276
|
|
|
@@ -296,6 +298,7 @@ export class InvokeCommandShrinkRequest extends $dara.Model {
|
|
|
296
298
|
timeout: 'number',
|
|
297
299
|
username: 'string',
|
|
298
300
|
windowsPasswordName: 'string',
|
|
301
|
+
workingDir: 'string',
|
|
299
302
|
};
|
|
300
303
|
}
|
|
301
304
|
|
|
@@ -12,10 +12,10 @@ export class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Specifies whether to allow cross-cluster instance type upgrade. Valid values:
|
|
14
14
|
*
|
|
15
|
-
* * true
|
|
16
|
-
* * false
|
|
15
|
+
* * true
|
|
16
|
+
* * false
|
|
17
17
|
*
|
|
18
|
-
* Default value: false.
|
|
18
|
+
* Default value: false.
|
|
19
19
|
*
|
|
20
20
|
* When you set `AllowMigrateAcrossZone` to true and upgrade the instance based on the returned information, take note of the following items:
|
|
21
21
|
*
|
|
@@ -34,10 +34,10 @@ export class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Specifies whether to submit an asynchronous request. Valid values:
|
|
36
36
|
*
|
|
37
|
-
* * true
|
|
38
|
-
* * false
|
|
37
|
+
* * true
|
|
38
|
+
* * false
|
|
39
39
|
*
|
|
40
|
-
* Default value: false.
|
|
40
|
+
* Default value: false.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* false
|
|
@@ -112,11 +112,6 @@ export class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
112
112
|
* @remarks
|
|
113
113
|
* > This parameter is not publicly available.
|
|
114
114
|
*
|
|
115
|
-
* Valid values:
|
|
116
|
-
*
|
|
117
|
-
* * Online
|
|
118
|
-
* * Offline
|
|
119
|
-
*
|
|
120
115
|
* @example
|
|
121
116
|
* null
|
|
122
117
|
*/
|