@alicloud/ecs20140526 7.1.2 → 7.2.0
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 +41 -8
- package/dist/client.js +98 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreatePrefixListRequest.d.ts +5 -5
- package/dist/models/DescribeCloudAssistantSettingsResponseBody.d.ts +18 -0
- package/dist/models/DescribeCloudAssistantSettingsResponseBody.js.map +1 -1
- package/dist/models/DescribeDeploymentSetsRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceTypesRequest.d.ts +1 -0
- package/dist/models/DescribeInstanceTypesRequest.js +5 -0
- package/dist/models/DescribeInstanceTypesRequest.js.map +1 -1
- package/dist/models/DescribeInstanceTypesResponseBody.d.ts +57 -0
- package/dist/models/DescribeInstanceTypesResponseBody.js +99 -1
- package/dist/models/DescribeInstanceTypesResponseBody.js.map +1 -1
- package/dist/models/DescribeNetworkInterfacesResponseBody.d.ts +1 -1
- package/dist/models/DescribeSecurityGroupAttributeRequest.d.ts +8 -0
- package/dist/models/DescribeSecurityGroupAttributeRequest.js +2 -0
- package/dist/models/DescribeSecurityGroupAttributeRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.d.ts +14 -0
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js +28 -1
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +18 -0
- package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +4 -0
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
- package/dist/models/ModifyInstanceClockOptionsRequest.d.ts +71 -0
- package/dist/models/ModifyInstanceClockOptionsRequest.js +74 -0
- package/dist/models/ModifyInstanceClockOptionsRequest.js.map +1 -0
- package/dist/models/ModifyInstanceClockOptionsResponse.d.ts +19 -0
- package/dist/models/ModifyInstanceClockOptionsResponse.js +69 -0
- package/dist/models/ModifyInstanceClockOptionsResponse.js.map +1 -0
- package/dist/models/ModifyInstanceClockOptionsResponseBody.d.ts +31 -0
- package/dist/models/ModifyInstanceClockOptionsResponseBody.js +60 -0
- package/dist/models/ModifyInstanceClockOptionsResponseBody.js.map +1 -0
- package/dist/models/ModifyInstanceNetworkOptionsRequest.d.ts +14 -0
- package/dist/models/ModifyInstanceNetworkOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +5 -0
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.js.map +1 -1
- package/dist/models/ModifySnapshotAttributeRequest.d.ts +1 -1
- package/dist/models/ModifySnapshotCategoryRequest.d.ts +1 -1
- package/dist/models/RunInstancesRequest.d.ts +14 -0
- package/dist/models/RunInstancesRequest.js +25 -1
- package/dist/models/RunInstancesRequest.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +65 -47
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +112 -8
- package/src/models/CreatePrefixListRequest.ts +5 -5
- package/src/models/DescribeCloudAssistantSettingsResponseBody.ts +18 -0
- package/src/models/DescribeDeploymentSetsRequest.ts +1 -1
- package/src/models/DescribeInstanceTypesRequest.ts +6 -0
- package/src/models/DescribeInstanceTypesResponseBody.ts +119 -0
- package/src/models/DescribeNetworkInterfacesResponseBody.ts +1 -1
- package/src/models/DescribeSecurityGroupAttributeRequest.ts +10 -0
- package/src/models/DescribeSecurityGroupAttributeResponseBody.ts +32 -0
- package/src/models/ModifyCloudAssistantSettingsRequest.ts +18 -0
- package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +4 -0
- package/src/models/ModifyInstanceClockOptionsRequest.ts +100 -0
- package/src/models/ModifyInstanceClockOptionsResponse.ts +40 -0
- package/src/models/ModifyInstanceClockOptionsResponseBody.ts +46 -0
- package/src/models/ModifyInstanceNetworkOptionsRequest.ts +14 -0
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +5 -0
- package/src/models/ModifySnapshotAttributeRequest.ts +1 -1
- package/src/models/ModifySnapshotCategoryRequest.ts +1 -1
- package/src/models/RunInstancesRequest.ts +29 -0
- package/src/models/model.ts +9 -0
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeInstanceTypesRequest extends $dara.Model {
|
|
6
|
+
additionalAttributes?: string[];
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The CPU architecture. Valid values:
|
|
@@ -434,6 +435,7 @@ export class DescribeInstanceTypesRequest extends $dara.Model {
|
|
|
434
435
|
resourceOwnerId?: number;
|
|
435
436
|
static names(): { [key: string]: string } {
|
|
436
437
|
return {
|
|
438
|
+
additionalAttributes: 'AdditionalAttributes',
|
|
437
439
|
cpuArchitecture: 'CpuArchitecture',
|
|
438
440
|
cpuArchitectures: 'CpuArchitectures',
|
|
439
441
|
GPUSpec: 'GPUSpec',
|
|
@@ -486,6 +488,7 @@ export class DescribeInstanceTypesRequest extends $dara.Model {
|
|
|
486
488
|
|
|
487
489
|
static types(): { [key: string]: any } {
|
|
488
490
|
return {
|
|
491
|
+
additionalAttributes: { 'type': 'array', 'itemType': 'string' },
|
|
489
492
|
cpuArchitecture: 'string',
|
|
490
493
|
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
491
494
|
GPUSpec: 'string',
|
|
@@ -537,6 +540,9 @@ export class DescribeInstanceTypesRequest extends $dara.Model {
|
|
|
537
540
|
}
|
|
538
541
|
|
|
539
542
|
validate() {
|
|
543
|
+
if(Array.isArray(this.additionalAttributes)) {
|
|
544
|
+
$dara.Model.validateArray(this.additionalAttributes);
|
|
545
|
+
}
|
|
540
546
|
if(Array.isArray(this.cpuArchitectures)) {
|
|
541
547
|
$dara.Model.validateArray(this.cpuArchitectures);
|
|
542
548
|
}
|
|
@@ -305,6 +305,119 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCa
|
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
+
export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo extends $dara.Model {
|
|
309
|
+
ebsBandwidth?: number;
|
|
310
|
+
ebsBurstBandwidth?: number;
|
|
311
|
+
name?: string;
|
|
312
|
+
vpcBandwidth?: number;
|
|
313
|
+
vpcBurstBandwidth?: number;
|
|
314
|
+
static names(): { [key: string]: string } {
|
|
315
|
+
return {
|
|
316
|
+
ebsBandwidth: 'EbsBandwidth',
|
|
317
|
+
ebsBurstBandwidth: 'EbsBurstBandwidth',
|
|
318
|
+
name: 'Name',
|
|
319
|
+
vpcBandwidth: 'VpcBandwidth',
|
|
320
|
+
vpcBurstBandwidth: 'VpcBurstBandwidth',
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
static types(): { [key: string]: any } {
|
|
325
|
+
return {
|
|
326
|
+
ebsBandwidth: 'number',
|
|
327
|
+
ebsBurstBandwidth: 'number',
|
|
328
|
+
name: 'string',
|
|
329
|
+
vpcBandwidth: 'number',
|
|
330
|
+
vpcBurstBandwidth: 'number',
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
validate() {
|
|
335
|
+
super.validate();
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
constructor(map?: { [key: string]: any }) {
|
|
339
|
+
super(map);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos extends $dara.Model {
|
|
344
|
+
weightingInfo?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo[];
|
|
345
|
+
static names(): { [key: string]: string } {
|
|
346
|
+
return {
|
|
347
|
+
weightingInfo: 'WeightingInfo',
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
static types(): { [key: string]: any } {
|
|
352
|
+
return {
|
|
353
|
+
weightingInfo: { 'type': 'array', 'itemType': DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo },
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
validate() {
|
|
358
|
+
if(Array.isArray(this.weightingInfo)) {
|
|
359
|
+
$dara.Model.validateArray(this.weightingInfo);
|
|
360
|
+
}
|
|
361
|
+
super.validate();
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
constructor(map?: { [key: string]: any }) {
|
|
365
|
+
super(map);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting extends $dara.Model {
|
|
370
|
+
weightingInfos?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos;
|
|
371
|
+
static names(): { [key: string]: string } {
|
|
372
|
+
return {
|
|
373
|
+
weightingInfos: 'WeightingInfos',
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
static types(): { [key: string]: any } {
|
|
378
|
+
return {
|
|
379
|
+
weightingInfos: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos,
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
validate() {
|
|
384
|
+
if(this.weightingInfos && typeof (this.weightingInfos as any).validate === 'function') {
|
|
385
|
+
(this.weightingInfos as any).validate();
|
|
386
|
+
}
|
|
387
|
+
super.validate();
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
constructor(map?: { [key: string]: any }) {
|
|
391
|
+
super(map);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo extends $dara.Model {
|
|
396
|
+
bandwidthWeighting?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting;
|
|
397
|
+
static names(): { [key: string]: string } {
|
|
398
|
+
return {
|
|
399
|
+
bandwidthWeighting: 'BandwidthWeighting',
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
static types(): { [key: string]: any } {
|
|
404
|
+
return {
|
|
405
|
+
bandwidthWeighting: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting,
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
validate() {
|
|
410
|
+
if(this.bandwidthWeighting && typeof (this.bandwidthWeighting as any).validate === 'function') {
|
|
411
|
+
(this.bandwidthWeighting as any).validate();
|
|
412
|
+
}
|
|
413
|
+
super.validate();
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
constructor(map?: { [key: string]: any }) {
|
|
417
|
+
super(map);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
308
421
|
export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes extends $dara.Model {
|
|
309
422
|
supportedBootMode?: string[];
|
|
310
423
|
static names(): { [key: string]: string } {
|
|
@@ -651,6 +764,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
651
764
|
* true
|
|
652
765
|
*/
|
|
653
766
|
networkEncryptionSupport?: boolean;
|
|
767
|
+
networkInfo?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo;
|
|
654
768
|
/**
|
|
655
769
|
* @remarks
|
|
656
770
|
* Indicates whether cloud disks can be attached by using the NVMe protocol. Valid values:
|
|
@@ -749,6 +863,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
749
863
|
networkCardQuantity: 'NetworkCardQuantity',
|
|
750
864
|
networkCards: 'NetworkCards',
|
|
751
865
|
networkEncryptionSupport: 'NetworkEncryptionSupport',
|
|
866
|
+
networkInfo: 'NetworkInfo',
|
|
752
867
|
nvmeSupport: 'NvmeSupport',
|
|
753
868
|
physicalProcessorModel: 'PhysicalProcessorModel',
|
|
754
869
|
primaryEniQueueNumber: 'PrimaryEniQueueNumber',
|
|
@@ -798,6 +913,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
798
913
|
networkCardQuantity: 'number',
|
|
799
914
|
networkCards: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards,
|
|
800
915
|
networkEncryptionSupport: 'boolean',
|
|
916
|
+
networkInfo: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo,
|
|
801
917
|
nvmeSupport: 'string',
|
|
802
918
|
physicalProcessorModel: 'string',
|
|
803
919
|
primaryEniQueueNumber: 'number',
|
|
@@ -824,6 +940,9 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
824
940
|
if(this.networkCards && typeof (this.networkCards as any).validate === 'function') {
|
|
825
941
|
(this.networkCards as any).validate();
|
|
826
942
|
}
|
|
943
|
+
if(this.networkInfo && typeof (this.networkInfo as any).validate === 'function') {
|
|
944
|
+
(this.networkInfo as any).validate();
|
|
945
|
+
}
|
|
827
946
|
if(this.supportedBootModes && typeof (this.supportedBootModes as any).validate === 'function') {
|
|
828
947
|
(this.supportedBootModes as any).validate();
|
|
829
948
|
}
|
|
@@ -509,7 +509,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
509
509
|
attachment?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment;
|
|
510
510
|
/**
|
|
511
511
|
* @remarks
|
|
512
|
-
* The time when the
|
|
512
|
+
* The time when the security group was created. The time follows the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
513
513
|
*
|
|
514
514
|
* @example
|
|
515
515
|
* 2019-12-25T12:31:31Z
|
|
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The attributes of the security group. Valid value: snapshotPolicyIds: queries information about snapshot policies associated with a security group.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* snapshotPolicyIds
|
|
12
|
+
*/
|
|
13
|
+
attribute?: string;
|
|
6
14
|
/**
|
|
7
15
|
* @remarks
|
|
8
16
|
* The direction in which the security group rule is applied. Valid values:
|
|
@@ -87,6 +95,7 @@ export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
|
|
|
87
95
|
securityGroupId?: string;
|
|
88
96
|
static names(): { [key: string]: string } {
|
|
89
97
|
return {
|
|
98
|
+
attribute: 'Attribute',
|
|
90
99
|
direction: 'Direction',
|
|
91
100
|
maxResults: 'MaxResults',
|
|
92
101
|
nextToken: 'NextToken',
|
|
@@ -102,6 +111,7 @@ export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
|
|
|
102
111
|
|
|
103
112
|
static types(): { [key: string]: any } {
|
|
104
113
|
return {
|
|
114
|
+
attribute: 'string',
|
|
105
115
|
direction: 'string',
|
|
106
116
|
maxResults: 'number',
|
|
107
117
|
nextToken: 'string',
|
|
@@ -308,6 +308,32 @@ export class DescribeSecurityGroupAttributeResponseBodyPermissions extends $dara
|
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
+
export class DescribeSecurityGroupAttributeResponseBodySnapshotPolicyIds extends $dara.Model {
|
|
312
|
+
snapshotPolicyId?: string[];
|
|
313
|
+
static names(): { [key: string]: string } {
|
|
314
|
+
return {
|
|
315
|
+
snapshotPolicyId: 'SnapshotPolicyId',
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
static types(): { [key: string]: any } {
|
|
320
|
+
return {
|
|
321
|
+
snapshotPolicyId: { 'type': 'array', 'itemType': 'string' },
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
validate() {
|
|
326
|
+
if(Array.isArray(this.snapshotPolicyId)) {
|
|
327
|
+
$dara.Model.validateArray(this.snapshotPolicyId);
|
|
328
|
+
}
|
|
329
|
+
super.validate();
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
constructor(map?: { [key: string]: any }) {
|
|
333
|
+
super(map);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
311
337
|
export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
312
338
|
/**
|
|
313
339
|
* @remarks
|
|
@@ -373,6 +399,7 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
|
373
399
|
* SecurityGroupName Sample
|
|
374
400
|
*/
|
|
375
401
|
securityGroupName?: string;
|
|
402
|
+
snapshotPolicyIds?: DescribeSecurityGroupAttributeResponseBodySnapshotPolicyIds;
|
|
376
403
|
/**
|
|
377
404
|
* @remarks
|
|
378
405
|
* The ID of the VPC. If a VPC ID is returned, the network type of the security group is VPC. If no VPC ID is returned, the network type of the security group is classic network.
|
|
@@ -391,6 +418,7 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
|
391
418
|
requestId: 'RequestId',
|
|
392
419
|
securityGroupId: 'SecurityGroupId',
|
|
393
420
|
securityGroupName: 'SecurityGroupName',
|
|
421
|
+
snapshotPolicyIds: 'SnapshotPolicyIds',
|
|
394
422
|
vpcId: 'VpcId',
|
|
395
423
|
};
|
|
396
424
|
}
|
|
@@ -405,6 +433,7 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
|
405
433
|
requestId: 'string',
|
|
406
434
|
securityGroupId: 'string',
|
|
407
435
|
securityGroupName: 'string',
|
|
436
|
+
snapshotPolicyIds: DescribeSecurityGroupAttributeResponseBodySnapshotPolicyIds,
|
|
408
437
|
vpcId: 'string',
|
|
409
438
|
};
|
|
410
439
|
}
|
|
@@ -413,6 +442,9 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
|
|
|
413
442
|
if(this.permissions && typeof (this.permissions as any).validate === 'function') {
|
|
414
443
|
(this.permissions as any).validate();
|
|
415
444
|
}
|
|
445
|
+
if(this.snapshotPolicyIds && typeof (this.snapshotPolicyIds as any).validate === 'function') {
|
|
446
|
+
(this.snapshotPolicyIds as any).validate();
|
|
447
|
+
}
|
|
416
448
|
super.validate();
|
|
417
449
|
}
|
|
418
450
|
|
|
@@ -156,6 +156,20 @@ export class ModifyCloudAssistantSettingsRequestOssDeliveryConfig extends $dara.
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
export class ModifyCloudAssistantSettingsRequestSessionManagerConfig extends $dara.Model {
|
|
159
|
+
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* Specify whether to enable Cloud Assistant Session Manager. Valid values:
|
|
162
|
+
*
|
|
163
|
+
* * true: Enables the feature.
|
|
164
|
+
* * false: Disables the feature.
|
|
165
|
+
*
|
|
166
|
+
* Notes:
|
|
167
|
+
*
|
|
168
|
+
* * The feature applies to all regions.
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* true
|
|
172
|
+
*/
|
|
159
173
|
sessionManagerEnabled?: boolean;
|
|
160
174
|
static names(): { [key: string]: string } {
|
|
161
175
|
return {
|
|
@@ -253,6 +267,10 @@ export class ModifyCloudAssistantSettingsRequest extends $dara.Model {
|
|
|
253
267
|
regionId?: string;
|
|
254
268
|
resourceOwnerAccount?: string;
|
|
255
269
|
resourceOwnerId?: number;
|
|
270
|
+
/**
|
|
271
|
+
* @remarks
|
|
272
|
+
* Cloud Assistant Session Manager configuration.
|
|
273
|
+
*/
|
|
256
274
|
sessionManagerConfig?: ModifyCloudAssistantSettingsRequestSessionManagerConfig;
|
|
257
275
|
/**
|
|
258
276
|
* @remarks
|
|
@@ -27,6 +27,10 @@ export class ModifyCloudAssistantSettingsShrinkRequest extends $dara.Model {
|
|
|
27
27
|
regionId?: string;
|
|
28
28
|
resourceOwnerAccount?: string;
|
|
29
29
|
resourceOwnerId?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* Cloud Assistant Session Manager configuration.
|
|
33
|
+
*/
|
|
30
34
|
sessionManagerConfigShrink?: string;
|
|
31
35
|
/**
|
|
32
36
|
* @remarks
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyInstanceClockOptionsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 123e4567-e89b-12d3-a456-426655440000
|
|
12
|
+
*/
|
|
13
|
+
clientToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Specifies whether to perform only a dry run. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized Resource Access Management (RAM) users, and missing parameter values. Otherwise, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
19
|
+
* * false: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
20
|
+
*
|
|
21
|
+
* Default value: false.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* false
|
|
25
|
+
*/
|
|
26
|
+
dryRun?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The ID of the instance.
|
|
30
|
+
*
|
|
31
|
+
* This parameter is required.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* i-bp67acfmxazb4ph****
|
|
35
|
+
*/
|
|
36
|
+
instanceId?: string;
|
|
37
|
+
ownerAccount?: string;
|
|
38
|
+
ownerId?: number;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* PTP status value. Valid values:
|
|
42
|
+
*
|
|
43
|
+
* * enabled
|
|
44
|
+
* * disabled
|
|
45
|
+
*
|
|
46
|
+
* Default value: disabled.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* enabled
|
|
50
|
+
*/
|
|
51
|
+
ptpStatus?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
55
|
+
*
|
|
56
|
+
* This parameter is required.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* cn-hangzhou
|
|
60
|
+
*/
|
|
61
|
+
regionId?: string;
|
|
62
|
+
resourceOwnerAccount?: string;
|
|
63
|
+
resourceOwnerId?: number;
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
clientToken: 'ClientToken',
|
|
67
|
+
dryRun: 'DryRun',
|
|
68
|
+
instanceId: 'InstanceId',
|
|
69
|
+
ownerAccount: 'OwnerAccount',
|
|
70
|
+
ownerId: 'OwnerId',
|
|
71
|
+
ptpStatus: 'PtpStatus',
|
|
72
|
+
regionId: 'RegionId',
|
|
73
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
74
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static types(): { [key: string]: any } {
|
|
79
|
+
return {
|
|
80
|
+
clientToken: 'string',
|
|
81
|
+
dryRun: 'boolean',
|
|
82
|
+
instanceId: 'string',
|
|
83
|
+
ownerAccount: 'string',
|
|
84
|
+
ownerId: 'number',
|
|
85
|
+
ptpStatus: 'string',
|
|
86
|
+
regionId: 'string',
|
|
87
|
+
resourceOwnerAccount: 'string',
|
|
88
|
+
resourceOwnerId: 'number',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
validate() {
|
|
93
|
+
super.validate();
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
constructor(map?: { [key: string]: any }) {
|
|
97
|
+
super(map);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyInstanceClockOptionsResponseBody } from "./ModifyInstanceClockOptionsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyInstanceClockOptionsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyInstanceClockOptionsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ModifyInstanceClockOptionsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyInstanceClockOptionsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the request.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the modification task.
|
|
17
|
+
*
|
|
18
|
+
* You can call the [DescribeTasks](https://help.aliyun.com/document_detail/25622.html) operation to query the modification results.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* t-bp1hvgwromzv32iq****
|
|
22
|
+
*/
|
|
23
|
+
taskId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
requestId: 'RequestId',
|
|
27
|
+
taskId: 'TaskId',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static types(): { [key: string]: any } {
|
|
32
|
+
return {
|
|
33
|
+
requestId: 'string',
|
|
34
|
+
taskId: 'string',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
validate() {
|
|
39
|
+
super.validate();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
constructor(map?: { [key: string]: any }) {
|
|
43
|
+
super(map);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -4,11 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ModifyInstanceNetworkOptionsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The bandwidth weight. Different specifications support different values. You can call the DescribeInstanceTypes operation to query the values supported by the current instance type.
|
|
9
|
+
*
|
|
10
|
+
* Valid values:
|
|
11
|
+
*
|
|
12
|
+
* * Vpc-L1.
|
|
13
|
+
* * Vpc-L2.
|
|
14
|
+
* * Ebs-L1.
|
|
15
|
+
* * Ebs-L2.
|
|
16
|
+
* * Default.
|
|
17
|
+
*
|
|
7
18
|
* @example
|
|
8
19
|
* Vpc-L1
|
|
9
20
|
*/
|
|
10
21
|
bandwidthWeighting?: string;
|
|
11
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the instance for which you want to modify network configurations.
|
|
25
|
+
*
|
|
12
26
|
* @example
|
|
13
27
|
* i-bp67acfmxazb4p****
|
|
14
28
|
*/
|
|
@@ -12,6 +12,11 @@ export class ModifyInstanceNetworkOptionsResponseBody extends $dara.Model {
|
|
|
12
12
|
*/
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the redeployment task.
|
|
17
|
+
*
|
|
18
|
+
* You can call the [DescribeTasks](https://help.aliyun.com/document_detail/25622.html) operation to query the redeployment result.
|
|
19
|
+
*
|
|
15
20
|
* @example
|
|
16
21
|
* t-bp198jigq7l0h5ac****
|
|
17
22
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifySnapshotAttributeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The description
|
|
8
|
+
* The snapshot description. It can be empty or up to 256 characters in length. It cannot start with http:// or https://.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* testDescription
|
|
@@ -499,6 +499,29 @@ export class RunInstancesRequestArn extends $dara.Model {
|
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
+
export class RunInstancesRequestClockOptions extends $dara.Model {
|
|
503
|
+
ptpStatus?: string;
|
|
504
|
+
static names(): { [key: string]: string } {
|
|
505
|
+
return {
|
|
506
|
+
ptpStatus: 'PtpStatus',
|
|
507
|
+
};
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
static types(): { [key: string]: any } {
|
|
511
|
+
return {
|
|
512
|
+
ptpStatus: 'string',
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
validate() {
|
|
517
|
+
super.validate();
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
constructor(map?: { [key: string]: any }) {
|
|
521
|
+
super(map);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
502
525
|
export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
503
526
|
/**
|
|
504
527
|
* @remarks
|
|
@@ -1402,6 +1425,7 @@ export class RunInstancesRequest extends $dara.Model {
|
|
|
1402
1425
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
1403
1426
|
*/
|
|
1404
1427
|
clientToken?: string;
|
|
1428
|
+
clockOptions?: RunInstancesRequestClockOptions;
|
|
1405
1429
|
/**
|
|
1406
1430
|
* @remarks
|
|
1407
1431
|
* The performance mode of the burstable instance. Valid values:
|
|
@@ -2096,6 +2120,7 @@ export class RunInstancesRequest extends $dara.Model {
|
|
|
2096
2120
|
autoRenew: 'AutoRenew',
|
|
2097
2121
|
autoRenewPeriod: 'AutoRenewPeriod',
|
|
2098
2122
|
clientToken: 'ClientToken',
|
|
2123
|
+
clockOptions: 'ClockOptions',
|
|
2099
2124
|
creditSpecification: 'CreditSpecification',
|
|
2100
2125
|
dataDisk: 'DataDisk',
|
|
2101
2126
|
dedicatedHostId: 'DedicatedHostId',
|
|
@@ -2178,6 +2203,7 @@ export class RunInstancesRequest extends $dara.Model {
|
|
|
2178
2203
|
autoRenew: 'boolean',
|
|
2179
2204
|
autoRenewPeriod: 'number',
|
|
2180
2205
|
clientToken: 'string',
|
|
2206
|
+
clockOptions: RunInstancesRequestClockOptions,
|
|
2181
2207
|
creditSpecification: 'string',
|
|
2182
2208
|
dataDisk: { 'type': 'array', 'itemType': RunInstancesRequestDataDisk },
|
|
2183
2209
|
dedicatedHostId: 'string',
|
|
@@ -2266,6 +2292,9 @@ export class RunInstancesRequest extends $dara.Model {
|
|
|
2266
2292
|
if(Array.isArray(this.arn)) {
|
|
2267
2293
|
$dara.Model.validateArray(this.arn);
|
|
2268
2294
|
}
|
|
2295
|
+
if(this.clockOptions && typeof (this.clockOptions as any).validate === 'function') {
|
|
2296
|
+
(this.clockOptions as any).validate();
|
|
2297
|
+
}
|
|
2269
2298
|
if(Array.isArray(this.dataDisk)) {
|
|
2270
2299
|
$dara.Model.validateArray(this.dataDisk);
|
|
2271
2300
|
}
|
package/src/models/model.ts
CHANGED
|
@@ -433,6 +433,10 @@ export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions }
|
|
|
433
433
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork } from './DescribeInstanceTypesResponseBody';
|
|
434
434
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCardsNetworkCardInfo } from './DescribeInstanceTypesResponseBody';
|
|
435
435
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards } from './DescribeInstanceTypesResponseBody';
|
|
436
|
+
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo } from './DescribeInstanceTypesResponseBody';
|
|
437
|
+
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos } from './DescribeInstanceTypesResponseBody';
|
|
438
|
+
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting } from './DescribeInstanceTypesResponseBody';
|
|
439
|
+
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo } from './DescribeInstanceTypesResponseBody';
|
|
436
440
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes } from './DescribeInstanceTypesResponseBody';
|
|
437
441
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceType } from './DescribeInstanceTypesResponseBody';
|
|
438
442
|
export { DescribeInstanceTypesResponseBodyInstanceTypes } from './DescribeInstanceTypesResponseBody';
|
|
@@ -654,6 +658,7 @@ export { DescribeSavingsPlanPriceResponseBodyPriceInfoRules } from './DescribeSa
|
|
|
654
658
|
export { DescribeSavingsPlanPriceResponseBodyPriceInfo } from './DescribeSavingsPlanPriceResponseBody';
|
|
655
659
|
export { DescribeSecurityGroupAttributeResponseBodyPermissionsPermission } from './DescribeSecurityGroupAttributeResponseBody';
|
|
656
660
|
export { DescribeSecurityGroupAttributeResponseBodyPermissions } from './DescribeSecurityGroupAttributeResponseBody';
|
|
661
|
+
export { DescribeSecurityGroupAttributeResponseBodySnapshotPolicyIds } from './DescribeSecurityGroupAttributeResponseBody';
|
|
657
662
|
export { DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroupsReferencingSecurityGroup } from './DescribeSecurityGroupReferencesResponseBody';
|
|
658
663
|
export { DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroups } from './DescribeSecurityGroupReferencesResponseBody';
|
|
659
664
|
export { DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReference } from './DescribeSecurityGroupReferencesResponseBody';
|
|
@@ -847,6 +852,7 @@ export { RunInstancesRequestSchedulerOptions } from './RunInstancesRequest';
|
|
|
847
852
|
export { RunInstancesRequestSecurityOptions } from './RunInstancesRequest';
|
|
848
853
|
export { RunInstancesRequestSystemDisk } from './RunInstancesRequest';
|
|
849
854
|
export { RunInstancesRequestArn } from './RunInstancesRequest';
|
|
855
|
+
export { RunInstancesRequestClockOptions } from './RunInstancesRequest';
|
|
850
856
|
export { RunInstancesRequestDataDisk } from './RunInstancesRequest';
|
|
851
857
|
export { RunInstancesRequestImageOptions } from './RunInstancesRequest';
|
|
852
858
|
export { RunInstancesRequestNetworkInterface } from './RunInstancesRequest';
|
|
@@ -1711,6 +1717,9 @@ export { ModifyInstanceAutoRenewAttributeResponse } from './ModifyInstanceAutoRe
|
|
|
1711
1717
|
export { ModifyInstanceChargeTypeRequest } from './ModifyInstanceChargeTypeRequest';
|
|
1712
1718
|
export { ModifyInstanceChargeTypeResponseBody } from './ModifyInstanceChargeTypeResponseBody';
|
|
1713
1719
|
export { ModifyInstanceChargeTypeResponse } from './ModifyInstanceChargeTypeResponse';
|
|
1720
|
+
export { ModifyInstanceClockOptionsRequest } from './ModifyInstanceClockOptionsRequest';
|
|
1721
|
+
export { ModifyInstanceClockOptionsResponseBody } from './ModifyInstanceClockOptionsResponseBody';
|
|
1722
|
+
export { ModifyInstanceClockOptionsResponse } from './ModifyInstanceClockOptionsResponse';
|
|
1714
1723
|
export { ModifyInstanceDeploymentRequest } from './ModifyInstanceDeploymentRequest';
|
|
1715
1724
|
export { ModifyInstanceDeploymentResponseBody } from './ModifyInstanceDeploymentResponseBody';
|
|
1716
1725
|
export { ModifyInstanceDeploymentResponse } from './ModifyInstanceDeploymentResponse';
|