@alicloud/ecd20200930 4.11.4 → 4.11.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.js +4 -1
- package/dist/client.js.map +1 -1
- package/dist/models/ModifyTemplateRequest.d.ts +15 -0
- package/dist/models/ModifyTemplateRequest.js +27 -1
- package/dist/models/ModifyTemplateRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +24 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +5 -1
- package/src/models/ModifyTemplateRequest.ts +32 -0
- package/src/models/model.ts +1 -0
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class ModifyTemplateRequestDataDiskList extends $dara.Model {
|
|
6
|
+
performanceLevel?: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
performanceLevel: 'PerformanceLevel',
|
|
11
|
+
size: 'Size',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
performanceLevel: 'string',
|
|
18
|
+
size: 'number',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
5
31
|
export class ModifyTemplateRequestRegionConfigList extends $dara.Model {
|
|
6
32
|
/**
|
|
7
33
|
* @example
|
|
@@ -135,6 +161,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
135
161
|
autoPay?: boolean;
|
|
136
162
|
autoRenew?: boolean;
|
|
137
163
|
chargeType?: string;
|
|
164
|
+
dataDiskList?: ModifyTemplateRequestDataDiskList[];
|
|
138
165
|
/**
|
|
139
166
|
* @example
|
|
140
167
|
* zh-CN
|
|
@@ -196,6 +223,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
196
223
|
autoPay: 'AutoPay',
|
|
197
224
|
autoRenew: 'AutoRenew',
|
|
198
225
|
chargeType: 'ChargeType',
|
|
226
|
+
dataDiskList: 'DataDiskList',
|
|
199
227
|
defaultLanguage: 'DefaultLanguage',
|
|
200
228
|
description: 'Description',
|
|
201
229
|
imageId: 'ImageId',
|
|
@@ -221,6 +249,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
221
249
|
autoPay: 'boolean',
|
|
222
250
|
autoRenew: 'boolean',
|
|
223
251
|
chargeType: 'string',
|
|
252
|
+
dataDiskList: { 'type': 'array', 'itemType': ModifyTemplateRequestDataDiskList },
|
|
224
253
|
defaultLanguage: 'string',
|
|
225
254
|
description: 'string',
|
|
226
255
|
imageId: 'string',
|
|
@@ -242,6 +271,9 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
242
271
|
}
|
|
243
272
|
|
|
244
273
|
validate() {
|
|
274
|
+
if(Array.isArray(this.dataDiskList)) {
|
|
275
|
+
$dara.Model.validateArray(this.dataDiskList);
|
|
276
|
+
}
|
|
245
277
|
if(Array.isArray(this.regionConfigList)) {
|
|
246
278
|
$dara.Model.validateArray(this.regionConfigList);
|
|
247
279
|
}
|
package/src/models/model.ts
CHANGED
|
@@ -231,6 +231,7 @@ export { ModifyPolicyGroupRequestRevokeAccessPolicyRule } from './ModifyPolicyGr
|
|
|
231
231
|
export { ModifyPolicyGroupRequestRevokeSecurityPolicyRule } from './ModifyPolicyGroupRequest';
|
|
232
232
|
export { ModifyPolicyGroupRequestUsbSupplyRedirectRule } from './ModifyPolicyGroupRequest';
|
|
233
233
|
export { ModifyResourceCenterPolicyResponseBodyModifyResults } from './ModifyResourceCenterPolicyResponseBody';
|
|
234
|
+
export { ModifyTemplateRequestDataDiskList } from './ModifyTemplateRequest';
|
|
234
235
|
export { ModifyTemplateRequestRegionConfigList } from './ModifyTemplateRequest';
|
|
235
236
|
export { ModifyTemplateRequestResourceTagList } from './ModifyTemplateRequest';
|
|
236
237
|
export { ModifyTemplateRequestSiteConfigList } from './ModifyTemplateRequest';
|