@alicloud/ecs20140526 7.0.4 → 7.0.6
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/DescribeInstanceTypesResponseBodyInstanceTypesInstanceType.d.ts +2 -0
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceType.js +6 -0
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceType.js.map +1 -1
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock.d.ts +14 -0
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock.js +58 -0
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock.js.map +1 -0
- 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/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +33 -31
- package/dist/models/model.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/DescribeInstanceTypesResponseBodyInstanceTypesInstanceType.ts +7 -0
- package/src/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock.ts +27 -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
- package/src/models/model.ts +1 -0
|
@@ -45,6 +45,23 @@ export class DescribeDisksRequest extends $dara.Model {
|
|
|
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
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
import { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes } from "./DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes";
|
|
4
|
+
import { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock } from "./DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock";
|
|
4
5
|
import { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions } from "./DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions";
|
|
5
6
|
import { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork } from "./DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork";
|
|
6
7
|
import { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards } from "./DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards";
|
|
@@ -17,6 +18,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
17
18
|
* 4
|
|
18
19
|
*/
|
|
19
20
|
baselineCredit?: number;
|
|
21
|
+
clock?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock;
|
|
20
22
|
/**
|
|
21
23
|
* @remarks
|
|
22
24
|
* The CPU architecture. Valid values:
|
|
@@ -379,6 +381,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
379
381
|
return {
|
|
380
382
|
attributes: 'Attributes',
|
|
381
383
|
baselineCredit: 'BaselineCredit',
|
|
384
|
+
clock: 'Clock',
|
|
382
385
|
cpuArchitecture: 'CpuArchitecture',
|
|
383
386
|
cpuCoreCount: 'CpuCoreCount',
|
|
384
387
|
cpuOptions: 'CpuOptions',
|
|
@@ -427,6 +430,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
427
430
|
return {
|
|
428
431
|
attributes: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes,
|
|
429
432
|
baselineCredit: 'number',
|
|
433
|
+
clock: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock,
|
|
430
434
|
cpuArchitecture: 'string',
|
|
431
435
|
cpuCoreCount: 'number',
|
|
432
436
|
cpuOptions: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions,
|
|
@@ -475,6 +479,9 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
475
479
|
if(this.attributes && typeof (this.attributes as any).validate === 'function') {
|
|
476
480
|
(this.attributes as any).validate();
|
|
477
481
|
}
|
|
482
|
+
if(this.clock && typeof (this.clock as any).validate === 'function') {
|
|
483
|
+
(this.clock as any).validate();
|
|
484
|
+
}
|
|
478
485
|
if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
|
|
479
486
|
(this.cpuOptions as any).validate();
|
|
480
487
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock extends $dara.Model {
|
|
6
|
+
ptpSupport?: string;
|
|
7
|
+
static names(): { [key: string]: string } {
|
|
8
|
+
return {
|
|
9
|
+
ptpSupport: 'PtpSupport',
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
static types(): { [key: string]: any } {
|
|
14
|
+
return {
|
|
15
|
+
ptpSupport: 'string',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
validate() {
|
|
20
|
+
super.validate();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
constructor(map?: { [key: string]: any }) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -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,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
|
|
package/src/models/model.ts
CHANGED
|
@@ -417,6 +417,7 @@ export { DescribeInstanceTypeFamiliesResponseBodyInstanceTypeFamiliesInstanceTyp
|
|
|
417
417
|
export { DescribeInstanceTypeFamiliesResponseBodyInstanceTypeFamilies } from './DescribeInstanceTypeFamiliesResponseBodyInstanceTypeFamilies';
|
|
418
418
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributesAttribute } from './DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributesAttribute';
|
|
419
419
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes } from './DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes';
|
|
420
|
+
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock } from './DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock';
|
|
420
421
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes } from './DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes';
|
|
421
422
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions } from './DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions';
|
|
422
423
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork } from './DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork';
|