@alicloud/ecs20140526 7.2.4 → 7.3.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 +133 -166
- package/dist/client.js +162 -162
- package/dist/client.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventRequest.d.ts +0 -7
- package/dist/models/AcceptInquiredSystemEventRequest.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventResponseBody.d.ts +0 -3
- package/dist/models/AcceptInquiredSystemEventResponseBody.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +14 -0
- package/dist/models/CreateAutoProvisioningGroupRequest.js +25 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +14 -0
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js +25 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateImagePipelineRequest.d.ts +9 -9
- package/dist/models/CreateInstanceRequest.d.ts +6 -2
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreatePrefixListRequest.d.ts +2 -2
- package/dist/models/CreateSnapshotGroupRequest.d.ts +7 -7
- package/dist/models/DescribeAutoProvisioningGroupHistoryRequest.d.ts +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +42 -0
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +32 -0
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableResourceRequest.d.ts +0 -118
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +9 -75
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeElasticityAssurancesRequest.d.ts +1 -1
- package/dist/models/DescribeEniMonitorDataRequest.d.ts +2 -2
- package/dist/models/DescribeImagePipelineExecutionsRequest.d.ts +22 -24
- package/dist/models/DescribeImagePipelineExecutionsRequest.js.map +1 -1
- package/dist/models/DescribeImagePipelineExecutionsResponseBody.d.ts +26 -24
- package/dist/models/DescribeImagePipelineExecutionsResponseBody.js.map +1 -1
- package/dist/models/DescribeImagePipelinesRequest.d.ts +1 -1
- package/dist/models/DescribeImagePipelinesResponseBody.d.ts +2 -2
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +18 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesFullStatusRequest.d.ts +2 -1
- package/dist/models/DescribeInstancesFullStatusRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsRequest.d.ts +79 -64
- package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +160 -136
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +17 -91
- package/dist/models/DescribeInvocationsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +225 -172
- package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
- package/dist/models/DescribeManagedInstancesRequest.d.ts +18 -0
- package/dist/models/DescribeManagedInstancesRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +1 -1
- package/dist/models/DescribeSnapshotPackageRequest.d.ts +3 -3
- package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +2 -1
- package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +2 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
- package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +8 -8
- package/dist/models/ModifyInstanceMetadataOptionsRequest.d.ts +8 -1
- package/dist/models/ModifyInstanceMetadataOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +1 -1
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +14 -2
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +14 -2
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/OpenSnapshotServiceRequest.d.ts +26 -0
- package/dist/models/OpenSnapshotServiceRequest.js +64 -0
- package/dist/models/OpenSnapshotServiceRequest.js.map +1 -0
- package/dist/models/OpenSnapshotServiceResponse.d.ts +19 -0
- package/dist/models/OpenSnapshotServiceResponse.js +69 -0
- package/dist/models/OpenSnapshotServiceResponse.js.map +1 -0
- package/dist/models/OpenSnapshotServiceResponseBody.d.ts +21 -0
- package/dist/models/OpenSnapshotServiceResponseBody.js +58 -0
- package/dist/models/OpenSnapshotServiceResponseBody.js.map +1 -0
- package/dist/models/ReleaseDedicatedHostRequest.d.ts +12 -0
- package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +69 -59
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +168 -162
- package/src/models/AcceptInquiredSystemEventRequest.ts +0 -7
- package/src/models/AcceptInquiredSystemEventResponseBody.ts +0 -3
- package/src/models/CreateAutoProvisioningGroupRequest.ts +29 -0
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +29 -0
- package/src/models/CreateImagePipelineRequest.ts +9 -9
- package/src/models/CreateInstanceRequest.ts +6 -2
- package/src/models/CreatePrefixListRequest.ts +2 -2
- package/src/models/CreateSnapshotGroupRequest.ts +7 -7
- package/src/models/DescribeAutoProvisioningGroupHistoryRequest.ts +1 -1
- package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +42 -0
- package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +32 -0
- package/src/models/DescribeAvailableResourceRequest.ts +0 -118
- package/src/models/DescribeAvailableResourceResponseBody.ts +9 -75
- package/src/models/DescribeElasticityAssurancesRequest.ts +1 -1
- package/src/models/DescribeEniMonitorDataRequest.ts +2 -2
- package/src/models/DescribeImagePipelineExecutionsRequest.ts +22 -24
- package/src/models/DescribeImagePipelineExecutionsResponseBody.ts +26 -24
- package/src/models/DescribeImagePipelinesRequest.ts +1 -1
- package/src/models/DescribeImagePipelinesResponseBody.ts +2 -2
- package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -1
- package/src/models/DescribeInstancesFullStatusRequest.ts +2 -1
- package/src/models/DescribeInvocationResultsRequest.ts +79 -64
- package/src/models/DescribeInvocationResultsResponseBody.ts +160 -136
- package/src/models/DescribeInvocationsRequest.ts +17 -91
- package/src/models/DescribeInvocationsResponseBody.ts +225 -172
- package/src/models/DescribeManagedInstancesRequest.ts +18 -0
- package/src/models/DescribeSnapshotGroupsResponseBody.ts +1 -1
- package/src/models/DescribeSnapshotPackageRequest.ts +3 -3
- package/src/models/ModifyCloudAssistantSettingsRequest.ts +2 -1
- package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +2 -1
- package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +8 -8
- package/src/models/ModifyInstanceMetadataOptionsRequest.ts +8 -1
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +1 -1
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +14 -2
- package/src/models/ModifySecurityGroupRuleRequest.ts +14 -2
- package/src/models/OpenSnapshotServiceRequest.ts +45 -0
- package/src/models/OpenSnapshotServiceResponse.ts +40 -0
- package/src/models/OpenSnapshotServiceResponseBody.ts +34 -0
- package/src/models/ReleaseDedicatedHostRequest.ts +12 -0
- package/src/models/model.ts +5 -0
|
@@ -518,6 +518,29 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationSchedulerOptio
|
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
|
|
521
|
+
export class CreateAutoProvisioningGroupRequestLaunchConfigurationSecurityOptions extends $dara.Model {
|
|
522
|
+
trustedSystemMode?: string;
|
|
523
|
+
static names(): { [key: string]: string } {
|
|
524
|
+
return {
|
|
525
|
+
trustedSystemMode: 'TrustedSystemMode',
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
static types(): { [key: string]: any } {
|
|
530
|
+
return {
|
|
531
|
+
trustedSystemMode: 'string',
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
validate() {
|
|
536
|
+
super.validate();
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
constructor(map?: { [key: string]: any }) {
|
|
540
|
+
super(map);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
|
|
521
544
|
export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara.Model {
|
|
522
545
|
/**
|
|
523
546
|
* @remarks
|
|
@@ -905,6 +928,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
905
928
|
*/
|
|
906
929
|
periodUnit?: string;
|
|
907
930
|
schedulerOptions?: CreateAutoProvisioningGroupRequestLaunchConfigurationSchedulerOptions;
|
|
931
|
+
securityOptions?: CreateAutoProvisioningGroupRequestLaunchConfigurationSecurityOptions;
|
|
908
932
|
/**
|
|
909
933
|
* @remarks
|
|
910
934
|
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
@@ -981,6 +1005,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
981
1005
|
period: 'Period',
|
|
982
1006
|
periodUnit: 'PeriodUnit',
|
|
983
1007
|
schedulerOptions: 'SchedulerOptions',
|
|
1008
|
+
securityOptions: 'SecurityOptions',
|
|
984
1009
|
spotDuration: 'SpotDuration',
|
|
985
1010
|
spotInterruptionBehavior: 'SpotInterruptionBehavior',
|
|
986
1011
|
};
|
|
@@ -1026,6 +1051,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
1026
1051
|
period: 'number',
|
|
1027
1052
|
periodUnit: 'string',
|
|
1028
1053
|
schedulerOptions: CreateAutoProvisioningGroupRequestLaunchConfigurationSchedulerOptions,
|
|
1054
|
+
securityOptions: CreateAutoProvisioningGroupRequestLaunchConfigurationSecurityOptions,
|
|
1029
1055
|
spotDuration: 'number',
|
|
1030
1056
|
spotInterruptionBehavior: 'string',
|
|
1031
1057
|
};
|
|
@@ -1059,6 +1085,9 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
1059
1085
|
if(this.schedulerOptions && typeof (this.schedulerOptions as any).validate === 'function') {
|
|
1060
1086
|
(this.schedulerOptions as any).validate();
|
|
1061
1087
|
}
|
|
1088
|
+
if(this.securityOptions && typeof (this.securityOptions as any).validate === 'function') {
|
|
1089
|
+
(this.securityOptions as any).validate();
|
|
1090
|
+
}
|
|
1062
1091
|
super.validate();
|
|
1063
1092
|
}
|
|
1064
1093
|
|
|
@@ -518,6 +518,29 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSchedule
|
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
|
|
521
|
+
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSecurityOptions extends $dara.Model {
|
|
522
|
+
trustedSystemMode?: string;
|
|
523
|
+
static names(): { [key: string]: string } {
|
|
524
|
+
return {
|
|
525
|
+
trustedSystemMode: 'TrustedSystemMode',
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
static types(): { [key: string]: any } {
|
|
530
|
+
return {
|
|
531
|
+
trustedSystemMode: 'string',
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
validate() {
|
|
536
|
+
super.validate();
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
constructor(map?: { [key: string]: any }) {
|
|
540
|
+
super(map);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
|
|
521
544
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends $dara.Model {
|
|
522
545
|
/**
|
|
523
546
|
* @remarks
|
|
@@ -905,6 +928,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
905
928
|
*/
|
|
906
929
|
periodUnit?: string;
|
|
907
930
|
schedulerOptions?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSchedulerOptions;
|
|
931
|
+
securityOptions?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSecurityOptions;
|
|
908
932
|
/**
|
|
909
933
|
* @remarks
|
|
910
934
|
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
@@ -981,6 +1005,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
981
1005
|
period: 'Period',
|
|
982
1006
|
periodUnit: 'PeriodUnit',
|
|
983
1007
|
schedulerOptions: 'SchedulerOptions',
|
|
1008
|
+
securityOptions: 'SecurityOptions',
|
|
984
1009
|
spotDuration: 'SpotDuration',
|
|
985
1010
|
spotInterruptionBehavior: 'SpotInterruptionBehavior',
|
|
986
1011
|
};
|
|
@@ -1026,6 +1051,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
1026
1051
|
period: 'number',
|
|
1027
1052
|
periodUnit: 'string',
|
|
1028
1053
|
schedulerOptions: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSchedulerOptions,
|
|
1054
|
+
securityOptions: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSecurityOptions,
|
|
1029
1055
|
spotDuration: 'number',
|
|
1030
1056
|
spotInterruptionBehavior: 'string',
|
|
1031
1057
|
};
|
|
@@ -1059,6 +1085,9 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
1059
1085
|
if(this.schedulerOptions && typeof (this.schedulerOptions as any).validate === 'function') {
|
|
1060
1086
|
(this.schedulerOptions as any).validate();
|
|
1061
1087
|
}
|
|
1088
|
+
if(this.securityOptions && typeof (this.securityOptions as any).validate === 'function') {
|
|
1089
|
+
(this.securityOptions as any).validate();
|
|
1090
|
+
}
|
|
1062
1091
|
super.validate();
|
|
1063
1092
|
}
|
|
1064
1093
|
|
|
@@ -205,7 +205,7 @@ export class CreateImagePipelineRequestImportImageOptionsDiskDeviceMappings exte
|
|
|
205
205
|
* You can use this parameter to specify the sizes of the system disk and data disks in the custom image. When you specify the size of the system disk, make sure that the specified size is greater than or equal to the size of the source image file. Unit: GiB. Valid values:
|
|
206
206
|
*
|
|
207
207
|
* * When the N value is 1, this parameter specifies the size of the system disk in the custom image. Valid values: 1 to 2048.
|
|
208
|
-
* * When the N value is an integer in the range of 2 to 17, this parameter
|
|
208
|
+
* * When the N value is an integer in the range of 2 to 17, this parameter creates a custom image from a data disk. Valid values: 1 to 2048.
|
|
209
209
|
*
|
|
210
210
|
* After the image file is uploaded to an OSS bucket, you can view the size of the image file in the OSS bucket.
|
|
211
211
|
*
|
|
@@ -215,7 +215,7 @@ export class CreateImagePipelineRequestImportImageOptionsDiskDeviceMappings exte
|
|
|
215
215
|
diskImageSize?: number;
|
|
216
216
|
/**
|
|
217
217
|
* @remarks
|
|
218
|
-
* The format of the image. Valid values:
|
|
218
|
+
* The format of the source image. Valid values:
|
|
219
219
|
*
|
|
220
220
|
* * RAW
|
|
221
221
|
* * VHD
|
|
@@ -229,7 +229,7 @@ export class CreateImagePipelineRequestImportImageOptionsDiskDeviceMappings exte
|
|
|
229
229
|
format?: string;
|
|
230
230
|
/**
|
|
231
231
|
* @remarks
|
|
232
|
-
* The OSS bucket where the image file is stored.
|
|
232
|
+
* The Object Storage Service (OSS) bucket where the image file is stored.
|
|
233
233
|
*
|
|
234
234
|
* @example
|
|
235
235
|
* ecsimageos
|
|
@@ -237,7 +237,7 @@ export class CreateImagePipelineRequestImportImageOptionsDiskDeviceMappings exte
|
|
|
237
237
|
OSSBucket?: string;
|
|
238
238
|
/**
|
|
239
239
|
* @remarks
|
|
240
|
-
* The name (key) of the object that the
|
|
240
|
+
* The name (key) of the object that the image file is stored as in the OSS bucket.
|
|
241
241
|
*
|
|
242
242
|
* @example
|
|
243
243
|
* CentOS_5.4_32.raw
|
|
@@ -274,10 +274,10 @@ export class CreateImagePipelineRequestImportImageOptionsFeatures extends $dara.
|
|
|
274
274
|
imdsSupport?: string;
|
|
275
275
|
/**
|
|
276
276
|
* @remarks
|
|
277
|
-
* Specifies whether the imported source image supports the Non-Volatile Memory Express (NVMe) protocol. Valid
|
|
277
|
+
* Specifies whether the imported source image supports the Non-Volatile Memory Express (NVMe) protocol. Valid value:
|
|
278
278
|
*
|
|
279
|
-
* * supported
|
|
280
|
-
* * unsupported
|
|
279
|
+
* * supported Instances created from the image also support the NVMe protocol.
|
|
280
|
+
* * unsupported Instances created from the image do not support the NVMe protocol.
|
|
281
281
|
*
|
|
282
282
|
* Default value: unsupported.
|
|
283
283
|
*
|
|
@@ -350,7 +350,7 @@ export class CreateImagePipelineRequestImportImageOptions extends $dara.Model {
|
|
|
350
350
|
architecture?: string;
|
|
351
351
|
/**
|
|
352
352
|
* @remarks
|
|
353
|
-
* The boot mode of the image. Valid values:
|
|
353
|
+
* The new boot mode of the image. Valid values:
|
|
354
354
|
*
|
|
355
355
|
* * BIOS: BIOS mode
|
|
356
356
|
* * UEFI: Unified Extensible Firmware Interface (UEFI) mode
|
|
@@ -395,7 +395,7 @@ export class CreateImagePipelineRequestImportImageOptions extends $dara.Model {
|
|
|
395
395
|
licenseType?: string;
|
|
396
396
|
/**
|
|
397
397
|
* @remarks
|
|
398
|
-
* The operating system type. Valid
|
|
398
|
+
* The operating system type. Valid value:
|
|
399
399
|
*
|
|
400
400
|
* * windows
|
|
401
401
|
* * linux
|
|
@@ -911,9 +911,13 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
911
911
|
* * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
912
912
|
* * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
913
913
|
*
|
|
914
|
-
*
|
|
914
|
+
* >
|
|
915
915
|
*
|
|
916
|
-
*
|
|
916
|
+
* * You can set this parameter only to 0 or 1.
|
|
917
|
+
*
|
|
918
|
+
* * The spot instance is billed by second. Specify an appropriate protection period.
|
|
919
|
+
*
|
|
920
|
+
* * Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
917
921
|
*
|
|
918
922
|
* @example
|
|
919
923
|
* 1
|
|
@@ -13,9 +13,9 @@ export class CreatePrefixListRequestEntry extends $dara.Model {
|
|
|
13
13
|
* * You can set a single IP address. The system automatically converts the IP address to a CIDR block. For example, if you set 192.168.1.100, the system automatically converts it to 192.168.1.100/32.
|
|
14
14
|
* * If you use an IPv6 CIDR block, the system automatically converts the CIDR block to zero and the letters to lowercase. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000/32, the system converts it to 2001:db8::/32.
|
|
15
15
|
*
|
|
16
|
-
* For more information about CIDR blocks, see [What is CIDR?](
|
|
16
|
+
* For more information about CIDR blocks, see [What is CIDR?](~~185311#598efe6ef1v00~~)
|
|
17
17
|
*
|
|
18
|
-
*
|
|
18
|
+
* This parameter is left empty by default.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -61,21 +61,21 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
61
61
|
description?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The
|
|
64
|
+
* The IDs of the cloud disks for which you want to create a snapshot-consistent group. You can specify the IDs of cloud disks that are attached to multiple instances within the same zone. Valid values of N: 1 to 16. A snapshot-consistent group can contain snapshots of up to 16 cloud disks whose total disk size does not exceed 32 TiB.
|
|
65
65
|
*
|
|
66
|
-
* Take note of the following
|
|
66
|
+
* Take note of the following:
|
|
67
67
|
*
|
|
68
|
-
* * You cannot specify both DiskId.N and `ExcludeDiskId.N` in the same request.
|
|
69
|
-
* * If `InstanceId
|
|
68
|
+
* * You cannot specify both the DiskId.N and `ExcludeDiskId.N` parameters in the same request.
|
|
69
|
+
* * If you specify `InstanceId`, you can specify the IDs of cloud disks that are attached only to the specified instance. You cannot specify the IDs of cloud disks that are attached to multiple instances.
|
|
70
70
|
*/
|
|
71
71
|
diskId?: string[];
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The
|
|
74
|
+
* The IDs of the cloud disks for which you do not want to create snapshots. After you specify the IDs of cloud disks, the snapshot-consistent group that you create does not contain the snapshots of the specified cloud disks. Valid values of N: 1 to 16.
|
|
75
75
|
*
|
|
76
|
-
* This parameter is empty by default, which indicates that snapshots are created for all
|
|
76
|
+
* This parameter is empty by default, which indicates that snapshots are created for all disks of the instance.
|
|
77
77
|
*
|
|
78
|
-
* >
|
|
78
|
+
* > This parameter cannot be set at the same time as the `DiskId.N`.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* d-j6cf7l0ewidb78lq****
|
|
@@ -3,15 +3,57 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeAutoSnapshotPolicyAssociationsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the automatic snapshot policy.
|
|
9
|
+
*
|
|
10
|
+
* * You can specify only one of AutoSnapshotPolicyId and DiskId.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* sp-bp12quk7gqhhuu1f****
|
|
14
|
+
*/
|
|
6
15
|
autoSnapshotPolicyId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The ID of the disk.
|
|
19
|
+
*
|
|
20
|
+
* * You can specify only one of AutoSnapshotPolicyId and DiskId.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* d-bp67acfmxazb4p****
|
|
24
|
+
*/
|
|
7
25
|
diskId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The number of entries to return on each page. Maximum value: 100.
|
|
29
|
+
*
|
|
30
|
+
* Default value:
|
|
31
|
+
*
|
|
32
|
+
* * If you do not specify this parameter or if you set this parameter to a value that is smaller than 10, the default value is 10.
|
|
33
|
+
* * If you set a value greater than 100, the default value is 100.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 10
|
|
37
|
+
*/
|
|
8
38
|
maxResults?: number;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* caeba0bbb2be03f84eb48b699f0a****
|
|
45
|
+
*/
|
|
9
46
|
nextToken?: string;
|
|
10
47
|
ownerAccount?: string;
|
|
11
48
|
ownerId?: number;
|
|
12
49
|
/**
|
|
13
50
|
* @remarks
|
|
51
|
+
* The region ID of the automatic snapshot policy. You can call the [DescribeRegions](https://help.aliyun.com/zh/ecs/developer-reference/api-ecs-2014-05-26-describeregions?spm=a2c4g.11186623.0.i11) operation to view the latest list of Alibaba Cloud regions.
|
|
52
|
+
*
|
|
14
53
|
* This parameter is required.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* cn-hangzhou
|
|
15
57
|
*/
|
|
16
58
|
regionId?: string;
|
|
17
59
|
resourceOwnerAccount?: string;
|
|
@@ -3,7 +3,21 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolicyAssociationsAutoSnapshotPolicyAssociation extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the automatic snapshot policy.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* sp-bp12quk7gqhhuu1f****
|
|
12
|
+
*/
|
|
6
13
|
autoSnapshotPolicyId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the cloud disk.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* d-bp67acfmxazb4p****
|
|
20
|
+
*/
|
|
7
21
|
diskId?: string;
|
|
8
22
|
static names(): { [key: string]: string } {
|
|
9
23
|
return {
|
|
@@ -55,8 +69,26 @@ export class DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolic
|
|
|
55
69
|
}
|
|
56
70
|
|
|
57
71
|
export class DescribeAutoSnapshotPolicyAssociationsResponseBody extends $dara.Model {
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The association of automatic snapshot policies.
|
|
75
|
+
*/
|
|
58
76
|
autoSnapshotPolicyAssociations?: DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolicyAssociations;
|
|
77
|
+
/**
|
|
78
|
+
* @remarks
|
|
79
|
+
* The returned pagination token which can be used in the next request to retrieve a new page of results.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* caeba0bbb2be03f84eb48b699f0a****
|
|
83
|
+
*/
|
|
59
84
|
nextToken?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The request ID.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
91
|
+
*/
|
|
60
92
|
requestId?: string;
|
|
61
93
|
static names(): { [key: string]: string } {
|
|
62
94
|
return {
|
|
@@ -4,52 +4,22 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeAvailableResourceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The number of vCPUs of the instance type. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
9
|
-
*
|
|
10
|
-
* The Cores parameter takes effect only when the DestinationResource parameter is set to InstanceType.
|
|
11
|
-
*
|
|
12
7
|
* @example
|
|
13
8
|
* 2
|
|
14
9
|
*/
|
|
15
10
|
cores?: number;
|
|
16
11
|
/**
|
|
17
|
-
* @remarks
|
|
18
|
-
* The category of the data disk. Valid values:
|
|
19
|
-
*
|
|
20
|
-
* * cloud: basic disk
|
|
21
|
-
* * cloud_efficiency: ultra disk
|
|
22
|
-
* * cloud_ssd: standard SSD
|
|
23
|
-
* * ephemeral_ssd: local SSD
|
|
24
|
-
* * cloud_essd: ESSD
|
|
25
|
-
* * cloud_auto: ESSD AutoPL disk
|
|
26
|
-
*
|
|
27
12
|
* @example
|
|
28
13
|
* cloud_ssd
|
|
29
14
|
*/
|
|
30
15
|
dataDiskCategory?: string;
|
|
31
16
|
/**
|
|
32
|
-
* @remarks
|
|
33
|
-
* The ID of the dedicated host.
|
|
34
|
-
*
|
|
35
17
|
* @example
|
|
36
18
|
* dh-bp165p6xk2tlw61e****
|
|
37
19
|
*/
|
|
38
20
|
dedicatedHostId?: string;
|
|
39
21
|
/**
|
|
40
22
|
* @remarks
|
|
41
|
-
* The resource type to query. Valid values:
|
|
42
|
-
*
|
|
43
|
-
* * Zone: zone.
|
|
44
|
-
* * IoOptimized: I/O optimized resource.
|
|
45
|
-
* * InstanceType: instance type.
|
|
46
|
-
* * SystemDisk: system disk.
|
|
47
|
-
* * DataDisk: data disk.
|
|
48
|
-
* * Network: network type.
|
|
49
|
-
* * ddh: dedicated host.
|
|
50
|
-
*
|
|
51
|
-
* For more information about how to configure the DestinationResource parameter, see the **Description** section of this topic.
|
|
52
|
-
*
|
|
53
23
|
* This parameter is required.
|
|
54
24
|
*
|
|
55
25
|
* @example
|
|
@@ -57,58 +27,26 @@ export class DescribeAvailableResourceRequest extends $dara.Model {
|
|
|
57
27
|
*/
|
|
58
28
|
destinationResource?: string;
|
|
59
29
|
/**
|
|
60
|
-
* @remarks
|
|
61
|
-
* The billing method of the resource. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html). Valid values:
|
|
62
|
-
*
|
|
63
|
-
* * PrePaid: subscription.
|
|
64
|
-
* * PostPaid: pay-as-you-go.
|
|
65
|
-
*
|
|
66
|
-
* Default value: PostPaid.
|
|
67
|
-
*
|
|
68
30
|
* @example
|
|
69
31
|
* PrePaid
|
|
70
32
|
*/
|
|
71
33
|
instanceChargeType?: string;
|
|
72
34
|
/**
|
|
73
|
-
* @remarks
|
|
74
|
-
* The instance types. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation to query the most recent instance type list.
|
|
75
|
-
*
|
|
76
|
-
* For more information about how to configure the InstanceType parameter, see the **Description** section of this topic.
|
|
77
|
-
*
|
|
78
35
|
* @example
|
|
79
36
|
* ecs.g5.large
|
|
80
37
|
*/
|
|
81
38
|
instanceType?: string;
|
|
82
39
|
/**
|
|
83
|
-
* @remarks
|
|
84
|
-
* Specifies whether the instance is an I/O optimized instance. Valid values:
|
|
85
|
-
*
|
|
86
|
-
* * none: The instance is a non-I/O optimized instance.
|
|
87
|
-
* * optimized: The instance is an I/O optimized instance.
|
|
88
|
-
*
|
|
89
|
-
* Default value: optimized.
|
|
90
|
-
*
|
|
91
40
|
* @example
|
|
92
41
|
* optimized
|
|
93
42
|
*/
|
|
94
43
|
ioOptimized?: string;
|
|
95
44
|
/**
|
|
96
|
-
* @remarks
|
|
97
|
-
* The memory size of the instance type. Unit: GiB. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
98
|
-
*
|
|
99
|
-
* The Memory parameter takes effect only when the DestinationResource parameter is set to InstanceType.
|
|
100
|
-
*
|
|
101
45
|
* @example
|
|
102
46
|
* 8.0
|
|
103
47
|
*/
|
|
104
48
|
memory?: number;
|
|
105
49
|
/**
|
|
106
|
-
* @remarks
|
|
107
|
-
* The network type of the cluster. Valid values:
|
|
108
|
-
*
|
|
109
|
-
* * vpc
|
|
110
|
-
* * classic
|
|
111
|
-
*
|
|
112
50
|
* @example
|
|
113
51
|
* vpc
|
|
114
52
|
*/
|
|
@@ -117,8 +55,6 @@ export class DescribeAvailableResourceRequest extends $dara.Model {
|
|
|
117
55
|
ownerId?: number;
|
|
118
56
|
/**
|
|
119
57
|
* @remarks
|
|
120
|
-
* The ID of the region for which to query resources. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
121
|
-
*
|
|
122
58
|
* This parameter is required.
|
|
123
59
|
*
|
|
124
60
|
* @example
|
|
@@ -128,85 +64,31 @@ export class DescribeAvailableResourceRequest extends $dara.Model {
|
|
|
128
64
|
resourceOwnerAccount?: string;
|
|
129
65
|
resourceOwnerId?: number;
|
|
130
66
|
/**
|
|
131
|
-
* @remarks
|
|
132
|
-
* The type of the resource. Valid values:
|
|
133
|
-
*
|
|
134
|
-
* * instance: ECS instance.
|
|
135
|
-
* * disk: cloud disk.
|
|
136
|
-
* * reservedinstance: reserved instance.
|
|
137
|
-
* * ddh: dedicated host.
|
|
138
|
-
*
|
|
139
67
|
* @example
|
|
140
68
|
* instance
|
|
141
69
|
*/
|
|
142
70
|
resourceType?: string;
|
|
143
71
|
/**
|
|
144
|
-
* @remarks
|
|
145
|
-
* The scope of the reserved instance. Valid values:
|
|
146
|
-
*
|
|
147
|
-
* * Region: regional.
|
|
148
|
-
* * Zone: zonal.
|
|
149
|
-
*
|
|
150
72
|
* @example
|
|
151
73
|
* Region
|
|
152
74
|
*/
|
|
153
75
|
scope?: string;
|
|
154
76
|
/**
|
|
155
|
-
* @remarks
|
|
156
|
-
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
157
|
-
*
|
|
158
|
-
* * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
159
|
-
* * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
160
|
-
*
|
|
161
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
|
|
162
|
-
*
|
|
163
|
-
* > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
164
|
-
*
|
|
165
77
|
* @example
|
|
166
78
|
* 1
|
|
167
79
|
*/
|
|
168
80
|
spotDuration?: number;
|
|
169
81
|
/**
|
|
170
|
-
* @remarks
|
|
171
|
-
* The bidding policy for pay-as-you-go instances. Valid values:
|
|
172
|
-
*
|
|
173
|
-
* * NoSpot: The instance is a pay-as-you-go instance.
|
|
174
|
-
* * SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
|
|
175
|
-
* * SpotAsPriceGo: The instance is a spot instance for which the market price is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
|
|
176
|
-
*
|
|
177
|
-
* Default value: NoSpot.
|
|
178
|
-
*
|
|
179
|
-
* The SpotStrategy parameter takes effect only when the InstanceChargeType parameter is set to PostPaid.
|
|
180
|
-
*
|
|
181
82
|
* @example
|
|
182
83
|
* NoSpot
|
|
183
84
|
*/
|
|
184
85
|
spotStrategy?: string;
|
|
185
86
|
/**
|
|
186
|
-
* @remarks
|
|
187
|
-
* The category of the system disk. Valid values:
|
|
188
|
-
*
|
|
189
|
-
* * cloud: basic disk
|
|
190
|
-
* * cloud_efficiency: ultra disk
|
|
191
|
-
* * cloud_ssd: standard SSD
|
|
192
|
-
* * ephemeral_ssd: local SSD
|
|
193
|
-
* * cloud_essd: Enterprise SSD (ESSD)
|
|
194
|
-
* * cloud_auto: ESSD AutoPL disk
|
|
195
|
-
*
|
|
196
|
-
* Default value: cloud_efficiency.
|
|
197
|
-
*
|
|
198
|
-
* > This parameter must be specified when ResourceType is set to instance and DestinationResource is set to DataDisk. If you do not specify this parameter, the default value takes effect.
|
|
199
|
-
*
|
|
200
87
|
* @example
|
|
201
88
|
* cloud_ssd
|
|
202
89
|
*/
|
|
203
90
|
systemDiskCategory?: string;
|
|
204
91
|
/**
|
|
205
|
-
* @remarks
|
|
206
|
-
* The ID of the zone where the instance resides.
|
|
207
|
-
*
|
|
208
|
-
* This parameter is empty by default. When this parameter is empty, the system returns resources that match the other criteria in all zones within the region specified by `RegionId`.
|
|
209
|
-
*
|
|
210
92
|
* @example
|
|
211
93
|
* cn-hangzhou-e
|
|
212
94
|
*/
|