@alicloud/ecs20140526 7.0.3 → 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 +40 -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 +18 -7
- 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 +19 -2
- 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/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/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 +42 -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 +18 -7
- package/src/models/CreateNetworkInterfaceRequestEnhancedNetwork.ts +6 -0
- package/src/models/DescribeDisksRequest.ts +19 -2
- 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/DescribeSnapshotLinksRequest.ts +6 -0
- package/src/models/DescribeSnapshotLinksResponseBody.ts +3 -0
- package/src/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.ts +6 -0
|
@@ -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.
|
|
@@ -65,11 +65,17 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
65
65
|
*
|
|
66
66
|
* Default value: cloud.
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
* Enumerated values:
|
|
69
69
|
*
|
|
70
|
-
* *
|
|
71
|
-
* *
|
|
72
|
-
* *
|
|
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
|
|
73
79
|
*
|
|
74
80
|
* @example
|
|
75
81
|
* cloud_ssd
|
|
@@ -163,9 +169,14 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
163
169
|
performanceLevel?: string;
|
|
164
170
|
/**
|
|
165
171
|
* @remarks
|
|
166
|
-
*
|
|
172
|
+
* Specifies the read/write IOPS that is provisioned for the ESSD AutoPL disk. Valid value:
|
|
173
|
+
*
|
|
174
|
+
* * Capacity (GiB) <= 3: not configurable
|
|
175
|
+
* * Capacity (GiB) >= 4: [0, min{(1,000
|
|
176
|
+
*
|
|
177
|
+
* IOPS/GiB × Capacity - Baseline IOPS), 50,000}]
|
|
167
178
|
*
|
|
168
|
-
* Baseline
|
|
179
|
+
* Baseline performance: max{min{1,800 + 50 × Capacity, 50,000}, 3,000}
|
|
169
180
|
*
|
|
170
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).
|
|
171
182
|
*
|
|
@@ -195,7 +206,7 @@ export class CreateDiskRequest extends $dara.Model {
|
|
|
195
206
|
resourceOwnerId?: number;
|
|
196
207
|
/**
|
|
197
208
|
* @remarks
|
|
198
|
-
* The disk
|
|
209
|
+
* The size of the data disk. Unit: GiB. This parameter is required. Valid values for different disk categories:
|
|
199
210
|
*
|
|
200
211
|
* * Valid values when DiskCategory is set to cloud: 5 to 2000.
|
|
201
212
|
*
|
|
@@ -19,10 +19,14 @@ export class CreateNetworkInterfaceRequestEnhancedNetwork extends $dara.Model {
|
|
|
19
19
|
* true
|
|
20
20
|
*/
|
|
21
21
|
enableSriov?: boolean;
|
|
22
|
+
virtualFunctionQuantity?: number;
|
|
23
|
+
virtualFunctionTotalQueueNumber?: number;
|
|
22
24
|
static names(): { [key: string]: string } {
|
|
23
25
|
return {
|
|
24
26
|
enableRss: 'EnableRss',
|
|
25
27
|
enableSriov: 'EnableSriov',
|
|
28
|
+
virtualFunctionQuantity: 'VirtualFunctionQuantity',
|
|
29
|
+
virtualFunctionTotalQueueNumber: 'VirtualFunctionTotalQueueNumber',
|
|
26
30
|
};
|
|
27
31
|
}
|
|
28
32
|
|
|
@@ -30,6 +34,8 @@ export class CreateNetworkInterfaceRequestEnhancedNetwork extends $dara.Model {
|
|
|
30
34
|
return {
|
|
31
35
|
enableRss: 'boolean',
|
|
32
36
|
enableSriov: 'boolean',
|
|
37
|
+
virtualFunctionQuantity: 'number',
|
|
38
|
+
virtualFunctionTotalQueueNumber: 'number',
|
|
33
39
|
};
|
|
34
40
|
}
|
|
35
41
|
|
|
@@ -35,16 +35,33 @@ export class DescribeDisksRequest extends $dara.Model {
|
|
|
35
35
|
* * cloud_essd: Enterprise SSD (ESSD)
|
|
36
36
|
* * cloud_auto: ESSD AutoPL disk
|
|
37
37
|
* * cloud_regional_disk_auto: Regional ESSD
|
|
38
|
-
* * local_ssd_pro: I/O-intensive local disk
|
|
39
|
-
* * local_hdd_pro: throughput-intensive local disk
|
|
40
38
|
* * cloud_essd_entry: ESSD Entry disk
|
|
41
39
|
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk
|
|
42
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
|
|
43
43
|
* * ephemeral: retired local disk
|
|
44
44
|
* * ephemeral_ssd: retired local SSD
|
|
45
45
|
*
|
|
46
46
|
* Default value: all.
|
|
47
47
|
*
|
|
48
|
+
* Enumerated values:
|
|
49
|
+
*
|
|
50
|
+
* * all: all disks categories
|
|
51
|
+
* * cloud_efficiency: ultra disk
|
|
52
|
+
* * cloud_ssd: standard SSD
|
|
53
|
+
* * local_ssd_pro: I/O-intensive local disk
|
|
54
|
+
* * ephemeral: retired local disk
|
|
55
|
+
* * cloud_essd_entry: ESSD Entry disk
|
|
56
|
+
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
57
|
+
* * cloud: basic disk
|
|
58
|
+
* * ephemeral_ssd: retired local SSD
|
|
59
|
+
* * cloud_auto: ESSD AutoPL disk
|
|
60
|
+
* * cloud_regional_disk_auto: Regional ESSD
|
|
61
|
+
* * cloud_essd: ESSD
|
|
62
|
+
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk
|
|
63
|
+
* * local_hdd_pro: throughput-intensive local disk
|
|
64
|
+
*
|
|
48
65
|
* @example
|
|
49
66
|
* all
|
|
50
67
|
*/
|
|
@@ -19,10 +19,14 @@ export class DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork extend
|
|
|
19
19
|
* false
|
|
20
20
|
*/
|
|
21
21
|
enableSriov?: boolean;
|
|
22
|
+
virtualFunctionQuantity?: number;
|
|
23
|
+
virtualFunctionTotalQueueNumber?: number;
|
|
22
24
|
static names(): { [key: string]: string } {
|
|
23
25
|
return {
|
|
24
26
|
enableRss: 'EnableRss',
|
|
25
27
|
enableSriov: 'EnableSriov',
|
|
28
|
+
virtualFunctionQuantity: 'VirtualFunctionQuantity',
|
|
29
|
+
virtualFunctionTotalQueueNumber: 'VirtualFunctionTotalQueueNumber',
|
|
26
30
|
};
|
|
27
31
|
}
|
|
28
32
|
|
|
@@ -30,6 +34,8 @@ export class DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork extend
|
|
|
30
34
|
return {
|
|
31
35
|
enableRss: 'boolean',
|
|
32
36
|
enableSriov: 'boolean',
|
|
37
|
+
virtualFunctionQuantity: 'number',
|
|
38
|
+
virtualFunctionTotalQueueNumber: 'number',
|
|
33
39
|
};
|
|
34
40
|
}
|
|
35
41
|
|
|
@@ -209,9 +209,9 @@ export class DescribePriceRequest extends $dara.Model {
|
|
|
209
209
|
priceUnit?: string;
|
|
210
210
|
/**
|
|
211
211
|
* @remarks
|
|
212
|
-
*
|
|
212
|
+
* The assurance schedules of the time-segmented elasticity assurance.
|
|
213
213
|
*
|
|
214
|
-
* >
|
|
214
|
+
* > 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).
|
|
215
215
|
*/
|
|
216
216
|
recurrenceRules?: DescribePriceRequestRecurrenceRules[];
|
|
217
217
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribePriceRequestRecurrenceRules extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The time
|
|
8
|
+
* 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.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 10
|
|
@@ -13,13 +13,13 @@ export class DescribePriceRequestRecurrenceRules extends $dara.Model {
|
|
|
13
13
|
endHour?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The type of the
|
|
16
|
+
* The type of the assurance schedule. Valid values:
|
|
17
17
|
*
|
|
18
18
|
* * Daily
|
|
19
19
|
* * Weekly
|
|
20
20
|
* * Monthly
|
|
21
21
|
*
|
|
22
|
-
* > If this parameter
|
|
22
|
+
* > If you specify this parameter, you must specify `RecurrenceType` and `RecurrenceValue`.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* Daily
|
|
@@ -27,13 +27,13 @@ export class DescribePriceRequestRecurrenceRules extends $dara.Model {
|
|
|
27
27
|
recurrenceType?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The
|
|
30
|
+
* 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.
|
|
31
31
|
*
|
|
32
|
-
* * If you set `RecurrenceType` to `Daily`, you can
|
|
33
|
-
* * If you set `RecurrenceType` to `Weekly`, you can
|
|
34
|
-
* * If you set `RecurrenceType` to `Monthly`, you can
|
|
32
|
+
* * 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.
|
|
33
|
+
* * 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.
|
|
34
|
+
* * 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.
|
|
35
35
|
*
|
|
36
|
-
* > If this parameter
|
|
36
|
+
* > If you specify this parameter, you must specify `RecurrenceType` and `RecurrenceValue`.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
39
|
* 5
|
|
@@ -41,9 +41,9 @@ export class DescribePriceRequestRecurrenceRules extends $dara.Model {
|
|
|
41
41
|
recurrenceValue?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The time
|
|
44
|
+
* 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.
|
|
45
45
|
*
|
|
46
|
-
* > You must specify both StartHour and EndHour. The EndHour
|
|
46
|
+
* > You must specify both StartHour and EndHour. The EndHour value must be at least 4 hours later than the StartHour value.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* 4
|
|
@@ -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',
|
|
@@ -19,10 +19,14 @@ export class ModifyNetworkInterfaceAttributeRequestEnhancedNetwork extends $dara
|
|
|
19
19
|
* true
|
|
20
20
|
*/
|
|
21
21
|
enableSriov?: boolean;
|
|
22
|
+
virtualFunctionQuantity?: number;
|
|
23
|
+
virtualFunctionTotalQueueNumber?: number;
|
|
22
24
|
static names(): { [key: string]: string } {
|
|
23
25
|
return {
|
|
24
26
|
enableRss: 'EnableRss',
|
|
25
27
|
enableSriov: 'EnableSriov',
|
|
28
|
+
virtualFunctionQuantity: 'VirtualFunctionQuantity',
|
|
29
|
+
virtualFunctionTotalQueueNumber: 'VirtualFunctionTotalQueueNumber',
|
|
26
30
|
};
|
|
27
31
|
}
|
|
28
32
|
|
|
@@ -30,6 +34,8 @@ export class ModifyNetworkInterfaceAttributeRequestEnhancedNetwork extends $dara
|
|
|
30
34
|
return {
|
|
31
35
|
enableRss: 'boolean',
|
|
32
36
|
enableSriov: 'boolean',
|
|
37
|
+
virtualFunctionQuantity: 'number',
|
|
38
|
+
virtualFunctionTotalQueueNumber: 'number',
|
|
33
39
|
};
|
|
34
40
|
}
|
|
35
41
|
|