@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.
@@ -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
  }
@@ -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';