@alicloud/ecs20140526 7.0.4 → 7.0.5
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 +34 -6
- package/dist/client.js +34 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.d.ts +3 -3
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions.d.ts +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.d.ts +3 -3
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions.d.ts +1 -1
- package/dist/models/CreateDiskRequest.d.ts +21 -9
- package/dist/models/CreateDiskRequest.js.map +1 -1
- package/dist/models/CreateNetworkInterfaceRequestEnhancedNetwork.d.ts +2 -0
- package/dist/models/CreateNetworkInterfaceRequestEnhancedNetwork.js +4 -0
- package/dist/models/CreateNetworkInterfaceRequestEnhancedNetwork.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +17 -0
- package/dist/models/DescribeDisksRequest.js.map +1 -1
- package/dist/models/DescribeInstancesResponseBodyInstancesInstanceCpuOptions.d.ts +1 -1
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.d.ts +2 -0
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.js +4 -0
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.js.map +1 -1
- package/dist/models/DescribePriceRequest.d.ts +2 -2
- package/dist/models/DescribePriceRequestRecurrenceRules.d.ts +10 -10
- package/dist/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.d.ts +2 -0
- package/dist/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.js +4 -0
- package/dist/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +34 -6
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts +3 -3
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions.ts +1 -1
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts +3 -3
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions.ts +1 -1
- package/src/models/CreateDiskRequest.ts +21 -9
- package/src/models/CreateNetworkInterfaceRequestEnhancedNetwork.ts +6 -0
- package/src/models/DescribeDisksRequest.ts +17 -0
- package/src/models/DescribeInstancesResponseBodyInstancesInstanceCpuOptions.ts +1 -1
- package/src/models/DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.ts +6 -0
- package/src/models/DescribePriceRequest.ts +2 -2
- package/src/models/DescribePriceRequestRecurrenceRules.ts +10 -10
- package/src/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.ts +6 -0
|
@@ -391,10 +391,10 @@ export declare class CreateAutoProvisioningGroupRequestLaunchConfiguration exten
|
|
|
391
391
|
periodUnit?: string;
|
|
392
392
|
/**
|
|
393
393
|
* @remarks
|
|
394
|
-
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
|
|
394
|
+
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
395
395
|
*
|
|
396
396
|
* * 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.
|
|
397
|
-
* * 0: After a preemptible instance is created, Alibaba Cloud does not ensure that the instance runs for
|
|
397
|
+
* * 0: After a preemptible instance is created, Alibaba Cloud does not ensure that the instance runs for 1 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.
|
|
398
398
|
*
|
|
399
399
|
* 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.
|
|
400
400
|
*
|
|
@@ -413,7 +413,7 @@ export declare class CreateAutoProvisioningGroupRequestLaunchConfiguration exten
|
|
|
413
413
|
* * Terminate: The instance is released.
|
|
414
414
|
* * Stop: The instance is stopped in economical mode.
|
|
415
415
|
*
|
|
416
|
-
* For information about the economical mode, see [Economical mode](https://help.aliyun.com/
|
|
416
|
+
* For information about the economical mode, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
|
|
417
417
|
*
|
|
418
418
|
* Default value: Terminate.
|
|
419
419
|
*
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* Specifies whether the instance that uses the image supports logons of the ecs-user user. Valid value:
|
|
6
6
|
*
|
|
7
7
|
* * true: The instance that uses the image supports logons of the ecs-user user.
|
|
8
8
|
* * false: The instance that uses the image does not support logons of the ecs-user user.
|
|
@@ -391,10 +391,10 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
391
391
|
periodUnit?: string;
|
|
392
392
|
/**
|
|
393
393
|
* @remarks
|
|
394
|
-
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
|
|
394
|
+
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
395
395
|
*
|
|
396
396
|
* * 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.
|
|
397
|
-
* * 0: After a preemptible instance is created, Alibaba Cloud does not ensure that the instance runs for
|
|
397
|
+
* * 0: After a preemptible instance is created, Alibaba Cloud does not ensure that the instance runs for 1 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.
|
|
398
398
|
*
|
|
399
399
|
* 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.
|
|
400
400
|
*
|
|
@@ -413,7 +413,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
413
413
|
* * Terminate: The instance is released.
|
|
414
414
|
* * Stop: The instance is stopped in economical mode.
|
|
415
415
|
*
|
|
416
|
-
* For information about the economical mode, see [Economical mode](https://help.aliyun.com/
|
|
416
|
+
* For information about the economical mode, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
|
|
417
417
|
*
|
|
418
418
|
* Default value: Terminate.
|
|
419
419
|
*
|
package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* Specifies whether the instance that uses the image supports logons of the ecs-user user. Valid value:
|
|
6
6
|
*
|
|
7
7
|
* * true: The instance that uses the image supports logons of the ecs-user user.
|
|
8
8
|
* * false: The instance that uses the image does not support logons of the ecs-user user.
|
|
@@ -48,12 +48,12 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
48
48
|
description?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The category of the data disk. Valid values:
|
|
51
|
+
* The category of the data disk. Valid values for different disk categories:
|
|
52
52
|
*
|
|
53
53
|
* * cloud: basic disk
|
|
54
|
-
* * cloud_efficiency:
|
|
54
|
+
* * cloud_efficiency: utra disk
|
|
55
55
|
* * cloud_ssd: standard SSD
|
|
56
|
-
* * cloud_essd:
|
|
56
|
+
* * cloud_essd: ESSD
|
|
57
57
|
* * cloud_auto: ESSD AutoPL disk
|
|
58
58
|
* * cloud_essd_entry: ESSD Entry disk
|
|
59
59
|
* * cloud_regional_disk_auto: Regional ESSD
|
|
@@ -62,6 +62,18 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
62
62
|
*
|
|
63
63
|
* Default value: cloud.
|
|
64
64
|
*
|
|
65
|
+
* Enumerated values:
|
|
66
|
+
*
|
|
67
|
+
* * cloud: basic disk
|
|
68
|
+
* * cloud_efficiency: ultra disk
|
|
69
|
+
* * cloud_ssd: SSD
|
|
70
|
+
* * cloud_auto: ESSD AutoPL disk
|
|
71
|
+
* * cloud_regional_disk_auto: Regional ESSD
|
|
72
|
+
* * cloud_essd: ESSD
|
|
73
|
+
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk.
|
|
74
|
+
* * cloud_essd: ESSD
|
|
75
|
+
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
76
|
+
*
|
|
65
77
|
* @example
|
|
66
78
|
* cloud_ssd
|
|
67
79
|
*/
|
|
@@ -154,14 +166,14 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
154
166
|
performanceLevel?: string;
|
|
155
167
|
/**
|
|
156
168
|
* @remarks
|
|
157
|
-
*
|
|
169
|
+
* Specifies the read/write IOPS that is provisioned for the ESSD AutoPL disk. Valid value:
|
|
158
170
|
*
|
|
159
|
-
* * Capacity (GiB)
|
|
160
|
-
* * Capacity (GiB)
|
|
171
|
+
* * Capacity (GiB) <= 3: not configurable
|
|
172
|
+
* * Capacity (GiB) >= 4: [0, min{(1,000
|
|
161
173
|
*
|
|
162
|
-
* IOPS/GiB × Capacity - Baseline IOPS), 50,000}]
|
|
174
|
+
* IOPS/GiB × Capacity - Baseline IOPS), 50,000}]
|
|
163
175
|
*
|
|
164
|
-
* Baseline
|
|
176
|
+
* Baseline performance: max{min{1,800 + 50 × Capacity, 50,000}, 3,000}
|
|
165
177
|
*
|
|
166
178
|
* > 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).
|
|
167
179
|
*
|
|
@@ -191,7 +203,7 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
191
203
|
resourceOwnerId?: number;
|
|
192
204
|
/**
|
|
193
205
|
* @remarks
|
|
194
|
-
* The disk
|
|
206
|
+
* The size of the data disk. Unit: GiB. This parameter is required. Valid values for different disk categories:
|
|
195
207
|
*
|
|
196
208
|
* * Valid values when DiskCategory is set to cloud: 5 to 2000.
|
|
197
209
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDiskRequest.js","sourceRoot":"","sources":["../../src/models/CreateDiskRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iEAA8D;AAC9D,iEAA8D;AAG9D,MAAa,iBAAkB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateDiskRequest.js","sourceRoot":"","sources":["../../src/models/CreateDiskRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iEAA8D;AAC9D,iEAA8D;AAG9D,MAAa,iBAAkB,SAAQ,KAAK,CAAC,KAAK;IA0ShD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,GAAG,EAAE,KAAK;YACV,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,gBAAgB,EAAE,kBAAkB;YACpC,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,gBAAgB,EAAE,kBAAkB;YACpC,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,gBAAgB,EAAE,kBAAkB;YACpC,YAAY,EAAE,cAAc;YAC5B,yBAAyB,EAAE,2BAA2B;YACtD,GAAG,EAAE,KAAK;YACV,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;YAC1B,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,2CAAoB,EAAE;YAC1D,eAAe,EAAE,SAAS;YAC1B,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,gBAAgB,EAAE,QAAQ;YAC1B,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,gBAAgB,EAAE,QAAQ;YAC1B,eAAe,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,gBAAgB,EAAE,QAAQ;YAC1B,YAAY,EAAE,QAAQ;YACtB,yBAAyB,EAAE,QAAQ;YACnC,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,2CAAoB,EAAE;YAC1D,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvXD,8CAuXC"}
|
|
@@ -41,12 +41,16 @@ class CreateNetworkInterfaceRequestEnhancedNetwork extends $dara.Model {
|
|
|
41
41
|
return {
|
|
42
42
|
enableRss: 'EnableRss',
|
|
43
43
|
enableSriov: 'EnableSriov',
|
|
44
|
+
virtualFunctionQuantity: 'VirtualFunctionQuantity',
|
|
45
|
+
virtualFunctionTotalQueueNumber: 'VirtualFunctionTotalQueueNumber',
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
static types() {
|
|
47
49
|
return {
|
|
48
50
|
enableRss: 'boolean',
|
|
49
51
|
enableSriov: 'boolean',
|
|
52
|
+
virtualFunctionQuantity: 'number',
|
|
53
|
+
virtualFunctionTotalQueueNumber: 'number',
|
|
50
54
|
};
|
|
51
55
|
}
|
|
52
56
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateNetworkInterfaceRequestEnhancedNetwork.js","sourceRoot":"","sources":["../../src/models/CreateNetworkInterfaceRequestEnhancedNetwork.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateNetworkInterfaceRequestEnhancedNetwork.js","sourceRoot":"","sources":["../../src/models/CreateNetworkInterfaceRequestEnhancedNetwork.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IAmB3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,uBAAuB,EAAE,yBAAyB;YAClD,+BAA+B,EAAE,iCAAiC;SACnE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,SAAS;YACpB,WAAW,EAAE,SAAS;YACtB,uBAAuB,EAAE,QAAQ;YACjC,+BAA+B,EAAE,QAAQ;SAC1C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5CD,oGA4CC"}
|
|
@@ -42,6 +42,23 @@ export declare class DescribeDisksRequest extends $dara.Model {
|
|
|
42
42
|
*
|
|
43
43
|
* Default value: all.
|
|
44
44
|
*
|
|
45
|
+
* Enumerated values:
|
|
46
|
+
*
|
|
47
|
+
* * all: all disks categories
|
|
48
|
+
* * cloud_efficiency: ultra disk
|
|
49
|
+
* * cloud_ssd: standard SSD
|
|
50
|
+
* * local_ssd_pro: I/O-intensive local disk
|
|
51
|
+
* * ephemeral: retired local disk
|
|
52
|
+
* * cloud_essd_entry: ESSD Entry disk
|
|
53
|
+
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
54
|
+
* * cloud: basic disk
|
|
55
|
+
* * ephemeral_ssd: retired local SSD
|
|
56
|
+
* * cloud_auto: ESSD AutoPL disk
|
|
57
|
+
* * cloud_regional_disk_auto: Regional ESSD
|
|
58
|
+
* * cloud_essd: ESSD
|
|
59
|
+
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk
|
|
60
|
+
* * local_hdd_pro: throughput-intensive local disk
|
|
61
|
+
*
|
|
45
62
|
* @example
|
|
46
63
|
* all
|
|
47
64
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeDisksRequest.js","sourceRoot":"","sources":["../../src/models/DescribeDisksRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6EAA0E;AAC1E,uEAAoE;AAGpE,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeDisksRequest.js","sourceRoot":"","sources":["../../src/models/DescribeDisksRequest.ts"],"names":[],"mappings":"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"}
|
|
@@ -41,12 +41,16 @@ class DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork extends $dara
|
|
|
41
41
|
return {
|
|
42
42
|
enableRss: 'EnableRss',
|
|
43
43
|
enableSriov: 'EnableSriov',
|
|
44
|
+
virtualFunctionQuantity: 'VirtualFunctionQuantity',
|
|
45
|
+
virtualFunctionTotalQueueNumber: 'VirtualFunctionTotalQueueNumber',
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
static types() {
|
|
47
49
|
return {
|
|
48
50
|
enableRss: 'boolean',
|
|
49
51
|
enableSriov: 'boolean',
|
|
52
|
+
virtualFunctionQuantity: 'number',
|
|
53
|
+
virtualFunctionTotalQueueNumber: 'number',
|
|
50
54
|
};
|
|
51
55
|
}
|
|
52
56
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.js","sourceRoot":"","sources":["../../src/models/DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4DAA6D,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.js","sourceRoot":"","sources":["../../src/models/DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4DAA6D,SAAQ,KAAK,CAAC,KAAK;IAmB3F,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,uBAAuB,EAAE,yBAAyB;YAClD,+BAA+B,EAAE,iCAAiC;SACnE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,SAAS;YACpB,WAAW,EAAE,SAAS;YACtB,uBAAuB,EAAE,QAAQ;YACjC,+BAA+B,EAAE,QAAQ;SAC1C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5CD,oIA4CC"}
|
|
@@ -206,9 +206,9 @@ export declare class DescribePriceRequest extends $dara.Model {
|
|
|
206
206
|
priceUnit?: string;
|
|
207
207
|
/**
|
|
208
208
|
* @remarks
|
|
209
|
-
*
|
|
209
|
+
* The assurance schedules of the time-segmented elasticity assurance.
|
|
210
210
|
*
|
|
211
|
-
* >
|
|
211
|
+
* > Time-segmented elasticity assurances are available only in specific regions and to specific users. To use time-segmented elasticity assurances, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket-intl).
|
|
212
212
|
*/
|
|
213
213
|
recurrenceRules?: DescribePriceRequestRecurrenceRules[];
|
|
214
214
|
/**
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribePriceRequestRecurrenceRules extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The time
|
|
5
|
+
* The end time of the assurance period for the capacity reservation of the time-segmented elasticity assurance. Specify an on-the-hour point in time.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 10
|
|
@@ -10,13 +10,13 @@ export declare class DescribePriceRequestRecurrenceRules extends $dara.Model {
|
|
|
10
10
|
endHour?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The type of the
|
|
13
|
+
* The type of the assurance schedule. Valid values:
|
|
14
14
|
*
|
|
15
15
|
* * Daily
|
|
16
16
|
* * Weekly
|
|
17
17
|
* * Monthly
|
|
18
18
|
*
|
|
19
|
-
* > If this parameter
|
|
19
|
+
* > If you specify this parameter, you must specify `RecurrenceType` and `RecurrenceValue`.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* Daily
|
|
@@ -24,13 +24,13 @@ export declare class DescribePriceRequestRecurrenceRules extends $dara.Model {
|
|
|
24
24
|
recurrenceType?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The
|
|
27
|
+
* The days of the week or month on which the capacity reservation of the time-segmented elasticity assurance takes effect or the interval, in number of days, at which the capacity reservation takes effect.
|
|
28
28
|
*
|
|
29
|
-
* * If you set `RecurrenceType` to `Daily`, you can
|
|
30
|
-
* * If you set `RecurrenceType` to `Weekly`, you can
|
|
31
|
-
* * If you set `RecurrenceType` to `Monthly`, you can
|
|
29
|
+
* * If you set `RecurrenceType` to `Daily`, you can specify only one value. Valid values: 1 to 31. The value specifies that the capacity reservation takes effect every few days.
|
|
30
|
+
* * If you set `RecurrenceType` to `Weekly`, you can specify multiple values. Separate the values with commas (,). Valid values: 0, 1, 2, 3, 4, 5, and 6, which specify Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday, respectively. Example: `1,2`, which specifies that the capacity reservation takes effect on Monday and Tuesday.
|
|
31
|
+
* * If you set `RecurrenceType` to `Monthly`, you can specify two values in the `A-B` format. Valid values of A and B: 1 to 31. B must be greater than or equal to A. Example: `1-5`, which specifies that the capacity reservation takes effect every day from the first day up to the fifth day of each month.
|
|
32
32
|
*
|
|
33
|
-
* > If this parameter
|
|
33
|
+
* > If you specify this parameter, you must specify `RecurrenceType` and `RecurrenceValue`.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* 5
|
|
@@ -38,9 +38,9 @@ export declare class DescribePriceRequestRecurrenceRules extends $dara.Model {
|
|
|
38
38
|
recurrenceValue?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The time
|
|
41
|
+
* The start time of the assurance period for the capacity reservation of the time-segmented elasticity assurance. Specify an on-the-hour point in time.
|
|
42
42
|
*
|
|
43
|
-
* > You must specify both StartHour and EndHour. The EndHour
|
|
43
|
+
* > You must specify both StartHour and EndHour. The EndHour value must be at least 4 hours later than the StartHour value.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* 4
|
|
@@ -41,12 +41,16 @@ class ModifyNetworkInterfaceAttributeRequestEnhancedNetwork extends $dara.Model
|
|
|
41
41
|
return {
|
|
42
42
|
enableRss: 'EnableRss',
|
|
43
43
|
enableSriov: 'EnableSriov',
|
|
44
|
+
virtualFunctionQuantity: 'VirtualFunctionQuantity',
|
|
45
|
+
virtualFunctionTotalQueueNumber: 'VirtualFunctionTotalQueueNumber',
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
static types() {
|
|
47
49
|
return {
|
|
48
50
|
enableRss: 'boolean',
|
|
49
51
|
enableSriov: 'boolean',
|
|
52
|
+
virtualFunctionQuantity: 'number',
|
|
53
|
+
virtualFunctionTotalQueueNumber: 'number',
|
|
50
54
|
};
|
|
51
55
|
}
|
|
52
56
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.js","sourceRoot":"","sources":["../../src/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qDAAsD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.js","sourceRoot":"","sources":["../../src/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qDAAsD,SAAQ,KAAK,CAAC,KAAK;IAmBpF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,uBAAuB,EAAE,yBAAyB;YAClD,+BAA+B,EAAE,iCAAiC;SACnE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,SAAS;YACpB,WAAW,EAAE,SAAS;YACtB,uBAAuB,EAAE,QAAQ;YACjC,+BAA+B,EAAE,QAAQ;SAC1C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5CD,sHA4CC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -32399,10 +32399,10 @@ export default class Client extends OpenApi {
|
|
|
32399
32399
|
}
|
|
32400
32400
|
|
|
32401
32401
|
/**
|
|
32402
|
-
*
|
|
32402
|
+
* Batch creates Elastic Compute Service (ECS) instances. You can automatically start, assign public IP addresses to, and specify an automatic release time for the instances.
|
|
32403
32403
|
*
|
|
32404
32404
|
* @remarks
|
|
32405
|
-
*
|
|
32405
|
+
* Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS resources.
|
|
32406
32406
|
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
32407
32407
|
* ### [](#)Considerations
|
|
32408
32408
|
* * If the resource inventory is insufficient to complete instance creation, Alibaba Cloud immediately sends an instance creation failure event (SystemFailure.Delete). You can call the [DescribeInstanceHistoryEvents](https://help.aliyun.com/document_detail/2679897.html) operation to check whether an instance creation failure event exists. For more information, see [System events related to instance creation failures](https://help.aliyun.com/document_detail/2545990.html).
|
|
@@ -32457,12 +32457,26 @@ export default class Client extends OpenApi {
|
|
|
32457
32457
|
* InstanceChargeType:"PostPaid",
|
|
32458
32458
|
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
|
|
32459
32459
|
* SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
|
|
32460
|
-
*
|
|
32460
|
+
* Use a launch template created by calling the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create ECS instances in the China (Hangzhou) region. Examples:
|
|
32461
32461
|
* **Example: Create 10 ECS instances based on a launch template**
|
|
32462
32462
|
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
32463
32463
|
* Amount:10, //Set the number of ECS instances that you want to create to 10.
|
|
32464
32464
|
* LaunchTemplateId:"lt-bp14xczpoxvb6rre****" //Set the launch template ID to lt-bp14xczpoxvb6rre****.
|
|
32465
32465
|
* > If a parameter is specified both in the launch template that you reference in a request and in the instance parameters of the same request, the value specified in the instance parameters takes precedence. For example, if you set InstanceChargeType in the launch template to PrePaid (subscription) and set InstanceChargeType in the instance parameters to PostPaid (pay-as-you-go), the created instances are pay-as-you-go instances.
|
|
32466
|
+
* **Example: Use a full image (an image that contains the system disk and data disks) to create an ECS instance**
|
|
32467
|
+
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
32468
|
+
* ImageId = m-bp13ohd32cvzpq9e****, //Set the custom image ID to m-bp13ohd32cvzpq9e****.
|
|
32469
|
+
* InstanceType = ecs.u1-c1m1.large, //Set the instance type to ecs.u1-c1m1.large.
|
|
32470
|
+
* SecurityGroupId = sg-bp10jztp6b0sdsyl****, //Set the security group ID to sg-bp10jztp6b0sdsyl****.
|
|
32471
|
+
* VSwitchId = vsw-bp19wo63nleroq22g****, //Set the vSwitch ID to vsw-bp19wo63nleroq22g****.
|
|
32472
|
+
* SystemDisk.Size = 50, //Set the size of the system disk in the full image to 50. Unit: GiB.
|
|
32473
|
+
* SystemDisk.Category = cloud_auto, //Set the category of the system disk in the full image to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
32474
|
+
* DataDisk.0.Device = /dev/xvdb, //Set the mount point of the data disk in the full image to /dev/xvdb.
|
|
32475
|
+
* DataDisk.0.Size = 50, //Set the size of the data disk in the full image to 50. Unit: GiB.
|
|
32476
|
+
* DataDisk.0.Category = cloud_essd, //Set the category of the data disk in the full image to cloud_essd, which specifies the ESSD category.
|
|
32477
|
+
* DataDisk.1.Device = /dev/xvdc, //Set the mount point of the new data disk to /dev/xvdc. If you want to use a new data disk to replace the data disk in the full image, set DataDisk.1.Device to /dev/xvdb (the default mount point of the data disk in the full image).
|
|
32478
|
+
* DataDisk.1.Size = 70, //Set the size of the new data disk to 70. Unit: GiB.
|
|
32479
|
+
* DataDisk.1.Category = cloud_auto, //Set the category of the new data disk to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
32466
32480
|
*
|
|
32467
32481
|
* @param request - RunInstancesRequest
|
|
32468
32482
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -32801,10 +32815,10 @@ export default class Client extends OpenApi {
|
|
|
32801
32815
|
}
|
|
32802
32816
|
|
|
32803
32817
|
/**
|
|
32804
|
-
*
|
|
32818
|
+
* Batch creates Elastic Compute Service (ECS) instances. You can automatically start, assign public IP addresses to, and specify an automatic release time for the instances.
|
|
32805
32819
|
*
|
|
32806
32820
|
* @remarks
|
|
32807
|
-
*
|
|
32821
|
+
* Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS resources.
|
|
32808
32822
|
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
32809
32823
|
* ### [](#)Considerations
|
|
32810
32824
|
* * If the resource inventory is insufficient to complete instance creation, Alibaba Cloud immediately sends an instance creation failure event (SystemFailure.Delete). You can call the [DescribeInstanceHistoryEvents](https://help.aliyun.com/document_detail/2679897.html) operation to check whether an instance creation failure event exists. For more information, see [System events related to instance creation failures](https://help.aliyun.com/document_detail/2545990.html).
|
|
@@ -32859,12 +32873,26 @@ export default class Client extends OpenApi {
|
|
|
32859
32873
|
* InstanceChargeType:"PostPaid",
|
|
32860
32874
|
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
|
|
32861
32875
|
* SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
|
|
32862
|
-
*
|
|
32876
|
+
* Use a launch template created by calling the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create ECS instances in the China (Hangzhou) region. Examples:
|
|
32863
32877
|
* **Example: Create 10 ECS instances based on a launch template**
|
|
32864
32878
|
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
32865
32879
|
* Amount:10, //Set the number of ECS instances that you want to create to 10.
|
|
32866
32880
|
* LaunchTemplateId:"lt-bp14xczpoxvb6rre****" //Set the launch template ID to lt-bp14xczpoxvb6rre****.
|
|
32867
32881
|
* > If a parameter is specified both in the launch template that you reference in a request and in the instance parameters of the same request, the value specified in the instance parameters takes precedence. For example, if you set InstanceChargeType in the launch template to PrePaid (subscription) and set InstanceChargeType in the instance parameters to PostPaid (pay-as-you-go), the created instances are pay-as-you-go instances.
|
|
32882
|
+
* **Example: Use a full image (an image that contains the system disk and data disks) to create an ECS instance**
|
|
32883
|
+
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
32884
|
+
* ImageId = m-bp13ohd32cvzpq9e****, //Set the custom image ID to m-bp13ohd32cvzpq9e****.
|
|
32885
|
+
* InstanceType = ecs.u1-c1m1.large, //Set the instance type to ecs.u1-c1m1.large.
|
|
32886
|
+
* SecurityGroupId = sg-bp10jztp6b0sdsyl****, //Set the security group ID to sg-bp10jztp6b0sdsyl****.
|
|
32887
|
+
* VSwitchId = vsw-bp19wo63nleroq22g****, //Set the vSwitch ID to vsw-bp19wo63nleroq22g****.
|
|
32888
|
+
* SystemDisk.Size = 50, //Set the size of the system disk in the full image to 50. Unit: GiB.
|
|
32889
|
+
* SystemDisk.Category = cloud_auto, //Set the category of the system disk in the full image to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
32890
|
+
* DataDisk.0.Device = /dev/xvdb, //Set the mount point of the data disk in the full image to /dev/xvdb.
|
|
32891
|
+
* DataDisk.0.Size = 50, //Set the size of the data disk in the full image to 50. Unit: GiB.
|
|
32892
|
+
* DataDisk.0.Category = cloud_essd, //Set the category of the data disk in the full image to cloud_essd, which specifies the ESSD category.
|
|
32893
|
+
* DataDisk.1.Device = /dev/xvdc, //Set the mount point of the new data disk to /dev/xvdc. If you want to use a new data disk to replace the data disk in the full image, set DataDisk.1.Device to /dev/xvdb (the default mount point of the data disk in the full image).
|
|
32894
|
+
* DataDisk.1.Size = 70, //Set the size of the new data disk to 70. Unit: GiB.
|
|
32895
|
+
* DataDisk.1.Category = cloud_auto, //Set the category of the new data disk to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
32868
32896
|
*
|
|
32869
32897
|
* @param request - RunInstancesRequest
|
|
32870
32898
|
* @returns RunInstancesResponse
|
|
@@ -394,10 +394,10 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
394
394
|
periodUnit?: string;
|
|
395
395
|
/**
|
|
396
396
|
* @remarks
|
|
397
|
-
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
|
|
397
|
+
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
398
398
|
*
|
|
399
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
|
|
400
|
+
* * 0: After a preemptible instance is created, Alibaba Cloud does not ensure that the instance runs for 1 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
401
|
*
|
|
402
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
403
|
*
|
|
@@ -416,7 +416,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
416
416
|
* * Terminate: The instance is released.
|
|
417
417
|
* * Stop: The instance is stopped in economical mode.
|
|
418
418
|
*
|
|
419
|
-
* For information about the economical mode, see [Economical mode](https://help.aliyun.com/
|
|
419
|
+
* For information about the economical mode, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
|
|
420
420
|
*
|
|
421
421
|
* Default value: Terminate.
|
|
422
422
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Specifies whether the instance that uses the image supports logons of the ecs-user user. Valid value:
|
|
9
9
|
*
|
|
10
10
|
* * true: The instance that uses the image supports logons of the ecs-user user.
|
|
11
11
|
* * false: The instance that uses the image does not support logons of the ecs-user user.
|
|
@@ -394,10 +394,10 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
394
394
|
periodUnit?: string;
|
|
395
395
|
/**
|
|
396
396
|
* @remarks
|
|
397
|
-
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
|
|
397
|
+
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
398
398
|
*
|
|
399
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
|
|
400
|
+
* * 0: After a preemptible instance is created, Alibaba Cloud does not ensure that the instance runs for 1 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
401
|
*
|
|
402
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
403
|
*
|
|
@@ -416,7 +416,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
416
416
|
* * Terminate: The instance is released.
|
|
417
417
|
* * Stop: The instance is stopped in economical mode.
|
|
418
418
|
*
|
|
419
|
-
* For information about the economical mode, see [Economical mode](https://help.aliyun.com/
|
|
419
|
+
* For information about the economical mode, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
|
|
420
420
|
*
|
|
421
421
|
* Default value: Terminate.
|
|
422
422
|
*
|
package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Specifies whether the instance that uses the image supports logons of the ecs-user user. Valid value:
|
|
9
9
|
*
|
|
10
10
|
* * true: The instance that uses the image supports logons of the ecs-user user.
|
|
11
11
|
* * false: The instance that uses the image does not support logons of the ecs-user user.
|
|
@@ -51,12 +51,12 @@ 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
|
-
* * cloud_essd:
|
|
59
|
+
* * cloud_essd: ESSD
|
|
60
60
|
* * cloud_auto: ESSD AutoPL disk
|
|
61
61
|
* * cloud_essd_entry: ESSD Entry disk
|
|
62
62
|
* * cloud_regional_disk_auto: Regional ESSD
|
|
@@ -65,6 +65,18 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
65
65
|
*
|
|
66
66
|
* Default value: cloud.
|
|
67
67
|
*
|
|
68
|
+
* Enumerated values:
|
|
69
|
+
*
|
|
70
|
+
* * cloud: basic disk
|
|
71
|
+
* * cloud_efficiency: ultra disk
|
|
72
|
+
* * cloud_ssd: SSD
|
|
73
|
+
* * cloud_auto: ESSD AutoPL disk
|
|
74
|
+
* * cloud_regional_disk_auto: Regional ESSD
|
|
75
|
+
* * cloud_essd: ESSD
|
|
76
|
+
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk.
|
|
77
|
+
* * cloud_essd: ESSD
|
|
78
|
+
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
79
|
+
*
|
|
68
80
|
* @example
|
|
69
81
|
* cloud_ssd
|
|
70
82
|
*/
|
|
@@ -157,14 +169,14 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
157
169
|
performanceLevel?: string;
|
|
158
170
|
/**
|
|
159
171
|
* @remarks
|
|
160
|
-
*
|
|
172
|
+
* Specifies the read/write IOPS that is provisioned for the ESSD AutoPL disk. Valid value:
|
|
161
173
|
*
|
|
162
|
-
* * Capacity (GiB)
|
|
163
|
-
* * Capacity (GiB)
|
|
174
|
+
* * Capacity (GiB) <= 3: not configurable
|
|
175
|
+
* * Capacity (GiB) >= 4: [0, min{(1,000
|
|
164
176
|
*
|
|
165
|
-
* IOPS/GiB × Capacity - Baseline IOPS), 50,000}]
|
|
177
|
+
* IOPS/GiB × Capacity - Baseline IOPS), 50,000}]
|
|
166
178
|
*
|
|
167
|
-
* Baseline
|
|
179
|
+
* Baseline performance: max{min{1,800 + 50 × Capacity, 50,000}, 3,000}
|
|
168
180
|
*
|
|
169
181
|
* > 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).
|
|
170
182
|
*
|
|
@@ -194,7 +206,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
194
206
|
resourceOwnerId?: number;
|
|
195
207
|
/**
|
|
196
208
|
* @remarks
|
|
197
|
-
* The disk
|
|
209
|
+
* The size of the data disk. Unit: GiB. This parameter is required. Valid values for different disk categories:
|
|
198
210
|
*
|
|
199
211
|
* * Valid values when DiskCategory is set to cloud: 5 to 2000.
|
|
200
212
|
*
|