@alicloud/ecs20140526 7.0.11 → 7.0.13

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.
Files changed (50) hide show
  1. package/dist/client.d.ts +12 -4
  2. package/dist/client.js +15 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.d.ts +2 -0
  5. package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.js +6 -0
  6. package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.js.map +1 -1
  7. package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationSchedulerOptions.d.ts +15 -0
  8. package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationSchedulerOptions.js +60 -0
  9. package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationSchedulerOptions.js.map +1 -0
  10. package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.d.ts +2 -0
  11. package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.js +6 -0
  12. package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.js.map +1 -1
  13. package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSchedulerOptions.d.ts +15 -0
  14. package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSchedulerOptions.js +60 -0
  15. package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSchedulerOptions.js.map +1 -0
  16. package/dist/models/DescribeDedicatedHostsRequest.d.ts +1 -0
  17. package/dist/models/DescribeDedicatedHostsRequest.js +2 -0
  18. package/dist/models/DescribeDedicatedHostsRequest.js.map +1 -1
  19. package/dist/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacity.d.ts +2 -0
  20. package/dist/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacity.js +6 -0
  21. package/dist/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacity.js.map +1 -1
  22. package/dist/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypes.d.ts +15 -0
  23. package/dist/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypes.js +62 -0
  24. package/dist/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypes.js.map +1 -0
  25. package/dist/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType.d.ts +15 -0
  26. package/dist/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType.js +60 -0
  27. package/dist/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType.js.map +1 -0
  28. package/dist/models/DescribeLaunchTemplatesRequest.d.ts +7 -5
  29. package/dist/models/DescribeLaunchTemplatesRequest.js.map +1 -1
  30. package/dist/models/DescribeLaunchTemplatesResponseBody.d.ts +4 -4
  31. package/dist/models/DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplateSet.d.ts +5 -5
  32. package/dist/models/DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplateSetTagsTag.d.ts +2 -2
  33. package/dist/models/model.d.ts +4 -0
  34. package/dist/models/model.js +47 -39
  35. package/dist/models/model.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/client.ts +16 -4
  38. package/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts +7 -0
  39. package/src/models/CreateAutoProvisioningGroupRequestLaunchConfigurationSchedulerOptions.ts +30 -0
  40. package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts +7 -0
  41. package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSchedulerOptions.ts +30 -0
  42. package/src/models/DescribeDedicatedHostsRequest.ts +3 -0
  43. package/src/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacity.ts +7 -0
  44. package/src/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypes.ts +31 -0
  45. package/src/models/DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType.ts +30 -0
  46. package/src/models/DescribeLaunchTemplatesRequest.ts +7 -5
  47. package/src/models/DescribeLaunchTemplatesResponseBody.ts +4 -4
  48. package/src/models/DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplateSet.ts +5 -5
  49. package/src/models/DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplateSetTagsTag.ts +2 -2
  50. package/src/models/model.ts +4 -0
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType } from "./DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType";
4
+
5
+
6
+ export class DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypes extends $dara.Model {
7
+ availableInstanceType?: DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType[];
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ availableInstanceType: 'AvailableInstanceType',
11
+ };
12
+ }
13
+
14
+ static types(): { [key: string]: any } {
15
+ return {
16
+ availableInstanceType: { 'type': 'array', 'itemType': DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType },
17
+ };
18
+ }
19
+
20
+ validate() {
21
+ if(Array.isArray(this.availableInstanceType)) {
22
+ $dara.Model.validateArray(this.availableInstanceType);
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 DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType extends $dara.Model {
6
+ availableInstanceCapacity?: number;
7
+ instanceType?: string;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ availableInstanceCapacity: 'AvailableInstanceCapacity',
11
+ instanceType: 'InstanceType',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ availableInstanceCapacity: 'number',
18
+ instanceType: 'string',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
@@ -32,7 +32,7 @@ export class DescribeLaunchTemplatesRequest extends $dara.Model {
32
32
  * @remarks
33
33
  * The number of entries to return on each page.
34
34
  *
35
- * Default value: 10.
35
+ * Default value: 1.
36
36
  *
37
37
  * @example
38
38
  * 1
@@ -40,9 +40,9 @@ export class DescribeLaunchTemplatesRequest extends $dara.Model {
40
40
  pageNumber?: number;
41
41
  /**
42
42
  * @remarks
43
- * The ID of the resource group to which the launch template belongs. If you specify this parameter to query resources, up to 1,000 resources that belong to the specified resource group can be returned.
43
+ * The number of entries to return on each page.
44
44
  *
45
- * > Resources in the default resource group are displayed in the response regardless of whether you specify this parameter.
45
+ * Default value: 10.
46
46
  *
47
47
  * @example
48
48
  * 10
@@ -50,7 +50,7 @@ export class DescribeLaunchTemplatesRequest extends $dara.Model {
50
50
  pageSize?: number;
51
51
  /**
52
52
  * @remarks
53
- * The tags of the launch template.
53
+ * The ID of the region. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
54
54
  *
55
55
  * This parameter is required.
56
56
  *
@@ -62,7 +62,9 @@ export class DescribeLaunchTemplatesRequest extends $dara.Model {
62
62
  resourceOwnerId?: number;
63
63
  /**
64
64
  * @remarks
65
- * The IDs of launch templates. You can specify up to 100 launch template IDs. You must specify LaunchTemplateId or LaunchTemplateName to determine a launch template.
65
+ * The ID of the resource group to which the launch template belongs. If you specify this parameter to query resources, up to 1,000 resources that belong to the specified resource group can be returned.
66
+ *
67
+ * > Resources in the default resource group are displayed in the response regardless of whether you specify this parameter.
66
68
  *
67
69
  * @example
68
70
  * rg-acfmxazb4p****
@@ -11,7 +11,7 @@ export class DescribeLaunchTemplatesResponseBody extends $dara.Model {
11
11
  launchTemplateSets?: DescribeLaunchTemplatesResponseBodyLaunchTemplateSets;
12
12
  /**
13
13
  * @remarks
14
- * The total number of launch templates.
14
+ * The page number of the returned page.
15
15
  *
16
16
  * @example
17
17
  * 1
@@ -19,7 +19,7 @@ export class DescribeLaunchTemplatesResponseBody extends $dara.Model {
19
19
  pageNumber?: number;
20
20
  /**
21
21
  * @remarks
22
- * The ID of the request.
22
+ * The number of entries returned per page.
23
23
  *
24
24
  * @example
25
25
  * 10
@@ -27,7 +27,7 @@ export class DescribeLaunchTemplatesResponseBody extends $dara.Model {
27
27
  pageSize?: number;
28
28
  /**
29
29
  * @remarks
30
- * The page number of the returned page.
30
+ * The ID of the request.
31
31
  *
32
32
  * @example
33
33
  * 04F0F334-1335-436C-A1D7-6C044FE12CBA
@@ -35,7 +35,7 @@ export class DescribeLaunchTemplatesResponseBody extends $dara.Model {
35
35
  requestId?: string;
36
36
  /**
37
37
  * @remarks
38
- * The information about the launch templates.
38
+ * The total number of launch templates.
39
39
  *
40
40
  * @example
41
41
  * 1
@@ -24,7 +24,7 @@ export class DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplate
24
24
  createdBy?: string;
25
25
  /**
26
26
  * @remarks
27
- * The time when the launch template was modified.
27
+ * The default version number of the launch template.
28
28
  *
29
29
  * @example
30
30
  * 1
@@ -32,7 +32,7 @@ export class DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplate
32
32
  defaultVersionNumber?: number;
33
33
  /**
34
34
  * @remarks
35
- * The tags of the launch template.
35
+ * The latest version number of the launch template.
36
36
  *
37
37
  * @example
38
38
  * 1
@@ -40,7 +40,7 @@ export class DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplate
40
40
  latestVersionNumber?: number;
41
41
  /**
42
42
  * @remarks
43
- * The time when the launch template was created.
43
+ * The ID of the launch template.
44
44
  *
45
45
  * @example
46
46
  * lt-m5e3ofjr1zn1aw7q****
@@ -48,7 +48,7 @@ export class DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplate
48
48
  launchTemplateId?: string;
49
49
  /**
50
50
  * @remarks
51
- * The default version number of the launch template.
51
+ * The name of the template.
52
52
  *
53
53
  * @example
54
54
  * wd-152630748****
@@ -66,7 +66,7 @@ export class DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplate
66
66
  modifiedTime?: string;
67
67
  /**
68
68
  * @remarks
69
- * The creator of the launch template.
69
+ * The ID of the resource group to which the launch template belongs.
70
70
  *
71
71
  * @example
72
72
  * rg-acfmxazb4p****
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplateSetTagsTag extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The tag value of the launch template.
8
+ * The tag key of the launch template.
9
9
  *
10
10
  * @example
11
11
  * TestKey
@@ -13,7 +13,7 @@ export class DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplate
13
13
  tagKey?: string;
14
14
  /**
15
15
  * @remarks
16
- * The tag key of the launch template.
16
+ * The tag value of the launch template.
17
17
  *
18
18
  * @example
19
19
  * TestValue
@@ -23,6 +23,7 @@ export { CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk } from '.
23
23
  export { CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk } from './CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk';
24
24
  export { CreateAutoProvisioningGroupRequestLaunchConfigurationTag } from './CreateAutoProvisioningGroupRequestLaunchConfigurationTag';
25
25
  export { CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions } from './CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions';
26
+ export { CreateAutoProvisioningGroupRequestLaunchConfigurationSchedulerOptions } from './CreateAutoProvisioningGroupRequestLaunchConfigurationSchedulerOptions';
26
27
  export { CreateAutoProvisioningGroupRequestLaunchConfiguration } from './CreateAutoProvisioningGroupRequestLaunchConfiguration';
27
28
  export { CreateAutoProvisioningGroupRequestDataDiskConfig } from './CreateAutoProvisioningGroupRequestDataDiskConfig';
28
29
  export { CreateAutoProvisioningGroupRequestLaunchTemplateConfig } from './CreateAutoProvisioningGroupRequestLaunchTemplateConfig';
@@ -36,6 +37,7 @@ export { CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk } f
36
37
  export { CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk } from './CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk';
37
38
  export { CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag } from './CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag';
38
39
  export { CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions } from './CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions';
40
+ export { CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSchedulerOptions } from './CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSchedulerOptions';
39
41
  export { CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration } from './CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration';
40
42
  export { CreateAutoProvisioningGroupShrinkRequestDataDiskConfig } from './CreateAutoProvisioningGroupShrinkRequestDataDiskConfig';
41
43
  export { CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig } from './CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig';
@@ -224,6 +226,8 @@ export { DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTy
224
226
  export { DescribeDedicatedHostTypesResponseBodyDedicatedHostTypes } from './DescribeDedicatedHostTypesResponseBodyDedicatedHostTypes';
225
227
  export { DescribeDedicatedHostsRequestTag } from './DescribeDedicatedHostsRequestTag';
226
228
  export { DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostSchedulerOptions } from './DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostSchedulerOptions';
229
+ export { DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType } from './DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypesAvailableInstanceType';
230
+ export { DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypes } from './DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacityAvailableInstanceTypes';
227
231
  export { DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacitySocketCapacitiesSocketCapacity } from './DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacitySocketCapacitiesSocketCapacity';
228
232
  export { DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacitySocketCapacities } from './DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacitySocketCapacities';
229
233
  export { DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacity } from './DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHostCapacity';