@alicloud/ecd20200930 4.7.4 → 4.7.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.js +48 -5
- package/dist/client.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +7 -0
- package/dist/models/CreateTemplateRequest.js +14 -0
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/DescribeTemplatesResponseBodyData.d.ts +7 -0
- package/dist/models/DescribeTemplatesResponseBodyData.js +14 -0
- package/dist/models/DescribeTemplatesResponseBodyData.js.map +1 -1
- package/dist/models/ModifyTemplateRequest.d.ts +7 -0
- package/dist/models/ModifyTemplateRequest.js +14 -0
- package/dist/models/ModifyTemplateRequest.js.map +1 -1
- package/dist/models/RunCommandRequest.d.ts +1 -0
- package/dist/models/RunCommandRequest.js +2 -0
- package/dist/models/RunCommandRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +63 -5
- package/src/models/CreateTemplateRequest.ts +21 -0
- package/src/models/DescribeTemplatesResponseBodyData.ts +21 -0
- package/src/models/ModifyTemplateRequest.ts +21 -0
- package/src/models/RunCommandRequest.ts +3 -0
|
@@ -6,6 +6,9 @@ import { ModifyTemplateRequestSiteConfigList } from "./ModifyTemplateRequestSite
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
export class ModifyTemplateRequest extends $dara.Model {
|
|
9
|
+
autoPay?: boolean;
|
|
10
|
+
autoRenew?: boolean;
|
|
11
|
+
chargeType?: string;
|
|
9
12
|
/**
|
|
10
13
|
* @example
|
|
11
14
|
* zh-CN
|
|
@@ -21,11 +24,14 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
21
24
|
* m-gx2x1dhsmusr2****
|
|
22
25
|
*/
|
|
23
26
|
imageId?: string;
|
|
27
|
+
period?: number;
|
|
28
|
+
periodUnit?: string;
|
|
24
29
|
/**
|
|
25
30
|
* @example
|
|
26
31
|
* pg-gx2x1dhsmthe9****
|
|
27
32
|
*/
|
|
28
33
|
policyGroupId?: string;
|
|
34
|
+
postPaidAfterUsedUp?: boolean;
|
|
29
35
|
regionConfigList?: ModifyTemplateRequestRegionConfigList[];
|
|
30
36
|
/**
|
|
31
37
|
* @example
|
|
@@ -58,12 +64,19 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
58
64
|
* bcc-dweha*****
|
|
59
65
|
*/
|
|
60
66
|
timerGroupId?: string;
|
|
67
|
+
userDuration?: number;
|
|
61
68
|
static names(): { [key: string]: string } {
|
|
62
69
|
return {
|
|
70
|
+
autoPay: 'AutoPay',
|
|
71
|
+
autoRenew: 'AutoRenew',
|
|
72
|
+
chargeType: 'ChargeType',
|
|
63
73
|
defaultLanguage: 'DefaultLanguage',
|
|
64
74
|
description: 'Description',
|
|
65
75
|
imageId: 'ImageId',
|
|
76
|
+
period: 'Period',
|
|
77
|
+
periodUnit: 'PeriodUnit',
|
|
66
78
|
policyGroupId: 'PolicyGroupId',
|
|
79
|
+
postPaidAfterUsedUp: 'PostPaidAfterUsedUp',
|
|
67
80
|
regionConfigList: 'RegionConfigList',
|
|
68
81
|
resourceGroupId: 'ResourceGroupId',
|
|
69
82
|
resourceTagList: 'ResourceTagList',
|
|
@@ -73,15 +86,22 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
73
86
|
templateId: 'TemplateId',
|
|
74
87
|
templateName: 'TemplateName',
|
|
75
88
|
timerGroupId: 'TimerGroupId',
|
|
89
|
+
userDuration: 'UserDuration',
|
|
76
90
|
};
|
|
77
91
|
}
|
|
78
92
|
|
|
79
93
|
static types(): { [key: string]: any } {
|
|
80
94
|
return {
|
|
95
|
+
autoPay: 'boolean',
|
|
96
|
+
autoRenew: 'boolean',
|
|
97
|
+
chargeType: 'string',
|
|
81
98
|
defaultLanguage: 'string',
|
|
82
99
|
description: 'string',
|
|
83
100
|
imageId: 'string',
|
|
101
|
+
period: 'number',
|
|
102
|
+
periodUnit: 'string',
|
|
84
103
|
policyGroupId: 'string',
|
|
104
|
+
postPaidAfterUsedUp: 'boolean',
|
|
85
105
|
regionConfigList: { 'type': 'array', 'itemType': ModifyTemplateRequestRegionConfigList },
|
|
86
106
|
resourceGroupId: 'string',
|
|
87
107
|
resourceTagList: { 'type': 'array', 'itemType': ModifyTemplateRequestResourceTagList },
|
|
@@ -91,6 +111,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
91
111
|
templateId: 'string',
|
|
92
112
|
templateName: 'string',
|
|
93
113
|
timerGroupId: 'string',
|
|
114
|
+
userDuration: 'number',
|
|
94
115
|
};
|
|
95
116
|
}
|
|
96
117
|
|
|
@@ -16,6 +16,7 @@ export class RunCommandRequest extends $dara.Model {
|
|
|
16
16
|
* ipconfig
|
|
17
17
|
*/
|
|
18
18
|
commandContent?: string;
|
|
19
|
+
commandRole?: string;
|
|
19
20
|
/**
|
|
20
21
|
* @remarks
|
|
21
22
|
* The encoding mode of the command content. Valid values:
|
|
@@ -80,6 +81,7 @@ export class RunCommandRequest extends $dara.Model {
|
|
|
80
81
|
static names(): { [key: string]: string } {
|
|
81
82
|
return {
|
|
82
83
|
commandContent: 'CommandContent',
|
|
84
|
+
commandRole: 'CommandRole',
|
|
83
85
|
contentEncoding: 'ContentEncoding',
|
|
84
86
|
desktopId: 'DesktopId',
|
|
85
87
|
endUserId: 'EndUserId',
|
|
@@ -92,6 +94,7 @@ export class RunCommandRequest extends $dara.Model {
|
|
|
92
94
|
static types(): { [key: string]: any } {
|
|
93
95
|
return {
|
|
94
96
|
commandContent: 'string',
|
|
97
|
+
commandRole: 'string',
|
|
95
98
|
contentEncoding: 'string',
|
|
96
99
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
97
100
|
endUserId: 'string',
|