@alicloud/ecs20140526 7.8.6 → 7.9.1
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 +949 -954
- package/dist/client.js +978 -950
- package/dist/client.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventRequest.d.ts +3 -3
- package/dist/models/AssignIpv6addressesRequest.d.ts +7 -7
- package/dist/models/AssignIpv6addressesResponseBody.d.ts +1 -1
- package/dist/models/AssignPrivateIpAddressesRequest.d.ts +13 -16
- package/dist/models/AssignPrivateIpAddressesRequest.js.map +1 -1
- package/dist/models/AssignPrivateIpAddressesResponseBody.d.ts +2 -2
- package/dist/models/AttachNetworkInterfaceRequest.d.ts +6 -7
- package/dist/models/AttachNetworkInterfaceRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupEgressRequest.d.ts +73 -100
- package/dist/models/AuthorizeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupRequest.d.ts +70 -91
- package/dist/models/AuthorizeSecurityGroupRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupResponseBody.d.ts +1 -1
- package/dist/models/CancelImagePipelineExecutionRequest.d.ts +2 -2
- package/dist/models/CloneDisksRequest.d.ts +55 -80
- package/dist/models/CloneDisksRequest.js.map +1 -1
- package/dist/models/CloneDisksResponseBody.d.ts +2 -2
- package/dist/models/CreateActivationRequest.d.ts +17 -16
- package/dist/models/CreateActivationRequest.js.map +1 -1
- package/dist/models/CreateActivationResponseBody.d.ts +3 -3
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +286 -380
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +282 -375
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateCommandRequest.d.ts +52 -73
- package/dist/models/CreateCommandRequest.js.map +1 -1
- package/dist/models/CreateCommandResponseBody.d.ts +2 -2
- package/dist/models/CreateDiskRequest.d.ts +57 -59
- package/dist/models/CreateDiskRequest.js.map +1 -1
- package/dist/models/CreateDiskResponseBody.d.ts +3 -3
- package/dist/models/CreateHpcClusterRequest.d.ts +5 -5
- package/dist/models/CreateHpcClusterResponseBody.d.ts +2 -2
- package/dist/models/CreateImageComponentRequest.d.ts +7 -7
- package/dist/models/CreateImageComponentResponseBody.d.ts +1 -1
- package/dist/models/CreateImageRequest.d.ts +43 -88
- package/dist/models/CreateImageRequest.js.map +1 -1
- package/dist/models/CreateImageResponseBody.d.ts +2 -2
- package/dist/models/CreateInstanceRequest.d.ts +184 -274
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreateInstanceResponseBody.d.ts +2 -2
- package/dist/models/CreateLaunchTemplateRequest.d.ts +235 -278
- package/dist/models/CreateLaunchTemplateRequest.js.map +1 -1
- package/dist/models/CreateLaunchTemplateResponseBody.d.ts +3 -3
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +215 -244
- package/dist/models/CreateLaunchTemplateVersionRequest.js.map +1 -1
- package/dist/models/CreateLaunchTemplateVersionResponseBody.d.ts +2 -2
- package/dist/models/CreateSecurityGroupRequest.d.ts +13 -16
- package/dist/models/CreateSecurityGroupRequest.js.map +1 -1
- package/dist/models/CreateSecurityGroupResponseBody.d.ts +1 -1
- package/dist/models/CreateVswitchRequest.d.ts +0 -29
- package/dist/models/CreateVswitchRequest.js.map +1 -1
- package/dist/models/CreateVswitchResponseBody.d.ts +0 -8
- package/dist/models/CreateVswitchResponseBody.js.map +1 -1
- package/dist/models/DeleteHpcClusterRequest.d.ts +2 -2
- package/dist/models/DeleteImagePipelineRequest.d.ts +1 -1
- package/dist/models/DescribeAutoProvisioningGroupInstancesRequest.d.ts +5 -5
- package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBody.d.ts +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyExRequest.d.ts +11 -11
- package/dist/models/DescribeAutoSnapshotPolicyExResponseBody.d.ts +3 -3
- package/dist/models/DescribeAvailableResourceRequest.d.ts +50 -84
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +0 -4
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +40 -40
- package/dist/models/DescribeDisksResponseBody.d.ts +3 -3
- package/dist/models/DescribeImageComponentsRequest.d.ts +3 -3
- package/dist/models/DescribeImageComponentsResponseBody.d.ts +1 -1
- package/dist/models/DescribeImagesRequest.d.ts +61 -89
- package/dist/models/DescribeImagesRequest.js.map +1 -1
- package/dist/models/DescribeImagesResponseBody.d.ts +5 -5
- package/dist/models/DescribeInstanceAttributeRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +64 -96
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsRequest.d.ts +50 -85
- package/dist/models/DescribeInstanceHistoryEventsRequest.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +16 -18
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js +2 -0
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceTopologyResponseBody.d.ts +14 -0
- package/dist/models/DescribeInstanceTopologyResponseBody.js +28 -1
- package/dist/models/DescribeInstanceTopologyResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesRequest.d.ts +54 -68
- package/dist/models/DescribeInstancesRequest.js.map +1 -1
- package/dist/models/DescribeInstancesResponseBody.d.ts +5 -5
- package/dist/models/DescribeInvocationResultsRequest.d.ts +52 -69
- package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +6 -52
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +49 -76
- package/dist/models/DescribeInvocationsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +5 -5
- package/dist/models/DescribeLaunchTemplateVersionsRequest.d.ts +14 -14
- package/dist/models/DescribeLaunchTemplateVersionsResponseBody.d.ts +3 -3
- package/dist/models/DescribeNetworkInterfacePermissionsRequest.d.ts +4 -4
- package/dist/models/DescribePriceRequest.d.ts +158 -242
- package/dist/models/DescribePriceRequest.js.map +1 -1
- package/dist/models/DescribePriceResponseBody.d.ts +15 -15
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +45 -57
- package/dist/models/DescribeRecommendInstanceTypeRequest.js.map +1 -1
- package/dist/models/DescribeResourcesModificationRequest.d.ts +26 -37
- package/dist/models/DescribeResourcesModificationRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeRequest.d.ts +17 -28
- package/dist/models/DescribeSecurityGroupAttributeRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.d.ts +10 -9
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityGroupsRequest.d.ts +20 -20
- package/dist/models/DescribeSecurityGroupsResponseBody.d.ts +4 -4
- package/dist/models/DescribeSendFileResultsRequest.d.ts +21 -25
- package/dist/models/DescribeSendFileResultsRequest.js.map +1 -1
- package/dist/models/DescribeSendFileResultsResponseBody.d.ts +3 -3
- package/dist/models/DescribeSnapshotsRequest.d.ts +44 -59
- package/dist/models/DescribeSnapshotsRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +4 -8
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +22 -28
- package/dist/models/DescribeSpotPriceHistoryRequest.js.map +1 -1
- package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +7 -3
- package/dist/models/DescribeSpotPriceHistoryResponseBody.js.map +1 -1
- package/dist/models/DescribeTerminalSessionsRequest.d.ts +3 -3
- package/dist/models/DescribeTerminalSessionsResponseBody.d.ts +1 -1
- package/dist/models/DescribeZonesRequest.d.ts +18 -28
- package/dist/models/DescribeZonesRequest.js.map +1 -1
- package/dist/models/DescribeZonesResponseBody.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputRequest.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputResponseBody.d.ts +2 -2
- package/dist/models/ModifyHpcClusterAttributeRequest.d.ts +1 -1
- package/dist/models/ModifyInstanceAttributeRequest.d.ts +78 -106
- package/dist/models/ModifyInstanceAttributeRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkSpecRequest.d.ts +14 -14
- package/dist/models/ModifyInstanceNetworkSpecResponseBody.d.ts +1 -1
- package/dist/models/ModifyInstanceSpecRequest.d.ts +16 -16
- package/dist/models/ModifyPlanMaintenanceWindowRequest.d.ts +4 -4
- package/dist/models/ModifyPrepayInstanceSpecRequest.d.ts +28 -46
- package/dist/models/ModifyPrepayInstanceSpecRequest.js.map +1 -1
- package/dist/models/ModifyPrepayInstanceSpecResponseBody.d.ts +2 -2
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +47 -46
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +27 -24
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/ModifySystemEventAttributeRequest.d.ts +45 -0
- package/dist/models/ModifySystemEventAttributeRequest.js +64 -0
- package/dist/models/ModifySystemEventAttributeRequest.js.map +1 -0
- package/dist/models/ModifySystemEventAttributeResponse.d.ts +19 -0
- package/dist/models/ModifySystemEventAttributeResponse.js +69 -0
- package/dist/models/ModifySystemEventAttributeResponse.js.map +1 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.d.ts +18 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.js +58 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.js.map +1 -0
- package/dist/models/RenewElasticityAssurancesRequest.d.ts +27 -23
- package/dist/models/RenewElasticityAssurancesRequest.js.map +1 -1
- package/dist/models/RenewElasticityAssurancesResponseBody.d.ts +1 -1
- package/dist/models/RevokeSecurityGroupEgressRequest.d.ts +35 -37
- package/dist/models/RevokeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/RevokeSecurityGroupRequest.d.ts +71 -89
- package/dist/models/RevokeSecurityGroupRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionRequest.d.ts +24 -32
- package/dist/models/StartTerminalSessionRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionResponseBody.d.ts +2 -2
- package/dist/models/StartTerminalSessionShrinkRequest.d.ts +16 -18
- package/dist/models/StartTerminalSessionShrinkRequest.js.map +1 -1
- package/dist/models/StopInstanceRequest.d.ts +20 -27
- package/dist/models/StopInstanceRequest.js.map +1 -1
- package/dist/models/StopInstancesRequest.d.ts +24 -35
- package/dist/models/StopInstancesRequest.js.map +1 -1
- package/dist/models/UnassignIpv6addressesRequest.d.ts +3 -3
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +45 -37
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +984 -950
- package/src/models/AcceptInquiredSystemEventRequest.ts +3 -3
- package/src/models/AssignIpv6addressesRequest.ts +7 -7
- package/src/models/AssignIpv6addressesResponseBody.ts +1 -1
- package/src/models/AssignPrivateIpAddressesRequest.ts +13 -16
- package/src/models/AssignPrivateIpAddressesResponseBody.ts +2 -2
- package/src/models/AttachNetworkInterfaceRequest.ts +6 -7
- package/src/models/AuthorizeSecurityGroupEgressRequest.ts +79 -106
- package/src/models/AuthorizeSecurityGroupRequest.ts +70 -91
- package/src/models/AuthorizeSecurityGroupResponseBody.ts +1 -1
- package/src/models/CancelImagePipelineExecutionRequest.ts +2 -2
- package/src/models/CloneDisksRequest.ts +55 -80
- package/src/models/CloneDisksResponseBody.ts +2 -2
- package/src/models/CreateActivationRequest.ts +17 -16
- package/src/models/CreateActivationResponseBody.ts +3 -3
- package/src/models/CreateAutoProvisioningGroupRequest.ts +287 -381
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +283 -376
- package/src/models/CreateCommandRequest.ts +52 -73
- package/src/models/CreateCommandResponseBody.ts +2 -2
- package/src/models/CreateDiskRequest.ts +57 -59
- package/src/models/CreateDiskResponseBody.ts +3 -3
- package/src/models/CreateHpcClusterRequest.ts +5 -5
- package/src/models/CreateHpcClusterResponseBody.ts +2 -2
- package/src/models/CreateImageComponentRequest.ts +7 -7
- package/src/models/CreateImageComponentResponseBody.ts +1 -1
- package/src/models/CreateImageRequest.ts +43 -88
- package/src/models/CreateImageResponseBody.ts +2 -2
- package/src/models/CreateInstanceRequest.ts +185 -275
- package/src/models/CreateInstanceResponseBody.ts +2 -2
- package/src/models/CreateLaunchTemplateRequest.ts +235 -278
- package/src/models/CreateLaunchTemplateResponseBody.ts +3 -3
- package/src/models/CreateLaunchTemplateVersionRequest.ts +215 -244
- package/src/models/CreateLaunchTemplateVersionResponseBody.ts +2 -2
- package/src/models/CreateSecurityGroupRequest.ts +13 -16
- package/src/models/CreateSecurityGroupResponseBody.ts +1 -1
- package/src/models/CreateVswitchRequest.ts +0 -29
- package/src/models/CreateVswitchResponseBody.ts +0 -8
- package/src/models/DeleteHpcClusterRequest.ts +2 -2
- package/src/models/DeleteImagePipelineRequest.ts +1 -1
- package/src/models/DescribeAutoProvisioningGroupInstancesRequest.ts +5 -5
- package/src/models/DescribeAutoProvisioningGroupInstancesResponseBody.ts +1 -1
- package/src/models/DescribeAutoSnapshotPolicyExRequest.ts +11 -11
- package/src/models/DescribeAutoSnapshotPolicyExResponseBody.ts +3 -3
- package/src/models/DescribeAvailableResourceRequest.ts +62 -96
- package/src/models/DescribeAvailableResourceResponseBody.ts +0 -4
- package/src/models/DescribeDisksRequest.ts +40 -40
- package/src/models/DescribeDisksResponseBody.ts +3 -3
- package/src/models/DescribeImageComponentsRequest.ts +3 -3
- package/src/models/DescribeImageComponentsResponseBody.ts +1 -1
- package/src/models/DescribeImagesRequest.ts +62 -90
- package/src/models/DescribeImagesResponseBody.ts +5 -5
- package/src/models/DescribeInstanceAttributeRequest.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBody.ts +66 -98
- package/src/models/DescribeInstanceHistoryEventsRequest.ts +50 -85
- package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +18 -18
- package/src/models/DescribeInstanceTopologyResponseBody.ts +32 -0
- package/src/models/DescribeInstancesRequest.ts +57 -71
- package/src/models/DescribeInstancesResponseBody.ts +5 -5
- package/src/models/DescribeInvocationResultsRequest.ts +52 -69
- package/src/models/DescribeInvocationResultsResponseBody.ts +6 -52
- package/src/models/DescribeInvocationsRequest.ts +50 -77
- package/src/models/DescribeInvocationsResponseBody.ts +5 -5
- package/src/models/DescribeLaunchTemplateVersionsRequest.ts +14 -14
- package/src/models/DescribeLaunchTemplateVersionsResponseBody.ts +3 -3
- package/src/models/DescribeNetworkInterfacePermissionsRequest.ts +4 -4
- package/src/models/DescribePriceRequest.ts +160 -244
- package/src/models/DescribePriceResponseBody.ts +15 -15
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +45 -57
- package/src/models/DescribeResourcesModificationRequest.ts +30 -41
- package/src/models/DescribeSecurityGroupAttributeRequest.ts +18 -29
- package/src/models/DescribeSecurityGroupAttributeResponseBody.ts +11 -10
- package/src/models/DescribeSecurityGroupsRequest.ts +21 -21
- package/src/models/DescribeSecurityGroupsResponseBody.ts +4 -4
- package/src/models/DescribeSendFileResultsRequest.ts +21 -25
- package/src/models/DescribeSendFileResultsResponseBody.ts +3 -3
- package/src/models/DescribeSnapshotsRequest.ts +48 -63
- package/src/models/DescribeSnapshotsResponseBody.ts +4 -8
- package/src/models/DescribeSpotPriceHistoryRequest.ts +22 -28
- package/src/models/DescribeSpotPriceHistoryResponseBody.ts +7 -3
- package/src/models/DescribeTerminalSessionsRequest.ts +3 -3
- package/src/models/DescribeTerminalSessionsResponseBody.ts +1 -1
- package/src/models/DescribeZonesRequest.ts +20 -30
- package/src/models/DescribeZonesResponseBody.ts +1 -1
- package/src/models/GetInstanceConsoleOutputRequest.ts +1 -1
- package/src/models/GetInstanceConsoleOutputResponseBody.ts +2 -2
- package/src/models/ModifyHpcClusterAttributeRequest.ts +1 -1
- package/src/models/ModifyInstanceAttributeRequest.ts +80 -108
- package/src/models/ModifyInstanceNetworkSpecRequest.ts +14 -14
- package/src/models/ModifyInstanceNetworkSpecResponseBody.ts +1 -1
- package/src/models/ModifyInstanceSpecRequest.ts +16 -16
- package/src/models/ModifyPlanMaintenanceWindowRequest.ts +4 -4
- package/src/models/ModifyPrepayInstanceSpecRequest.ts +28 -46
- package/src/models/ModifyPrepayInstanceSpecResponseBody.ts +2 -2
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +47 -46
- package/src/models/ModifySecurityGroupRuleRequest.ts +27 -24
- package/src/models/ModifySystemEventAttributeRequest.ts +64 -0
- package/src/models/ModifySystemEventAttributeResponse.ts +40 -0
- package/src/models/ModifySystemEventAttributeResponseBody.ts +31 -0
- package/src/models/RenewElasticityAssurancesRequest.ts +27 -23
- package/src/models/RenewElasticityAssurancesResponseBody.ts +1 -1
- package/src/models/RevokeSecurityGroupEgressRequest.ts +35 -37
- package/src/models/RevokeSecurityGroupRequest.ts +75 -93
- package/src/models/StartTerminalSessionRequest.ts +24 -32
- package/src/models/StartTerminalSessionResponseBody.ts +2 -2
- package/src/models/StartTerminalSessionShrinkRequest.ts +16 -18
- package/src/models/StopInstanceRequest.ts +21 -28
- package/src/models/StopInstancesRequest.ts +25 -36
- package/src/models/UnassignIpv6addressesRequest.ts +3 -3
- package/src/models/model.ts +4 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* > This parameter is in invitational preview and is not
|
|
8
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 123456789012****
|
|
@@ -13,7 +13,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn exte
|
|
|
13
13
|
assumeRoleFor?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* > This parameter is in invitational preview and is not
|
|
16
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 34458433936495****:alice
|
|
@@ -21,7 +21,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn exte
|
|
|
21
21
|
roleType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* > This parameter is in invitational preview and is not
|
|
24
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* acs:ram::123456789012****:role/adminrole
|
|
@@ -55,11 +55,10 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn exte
|
|
|
55
55
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The automatic snapshot policy
|
|
58
|
+
* The ID of the automatic snapshot policy applied to the data disk.
|
|
59
59
|
*
|
|
60
60
|
* Note:
|
|
61
|
-
*
|
|
62
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
61
|
+
* - This parameter takes effect only when you create a one-time synchronous delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
63
62
|
*
|
|
64
63
|
* @example
|
|
65
64
|
* sp-bp67acfmxazb4p****
|
|
@@ -67,13 +66,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
67
66
|
autoSnapshotPolicyId?: string;
|
|
68
67
|
/**
|
|
69
68
|
* @remarks
|
|
70
|
-
* Specifies whether to enable performance burst. Valid values:
|
|
71
|
-
*
|
|
72
|
-
* - true: Enables performance burst.
|
|
69
|
+
* Specifies whether to enable the performance burst feature. Valid values:
|
|
73
70
|
*
|
|
74
|
-
* -
|
|
71
|
+
* - true: enables the feature.
|
|
72
|
+
* - false: disables the feature.
|
|
75
73
|
*
|
|
76
|
-
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
74
|
+
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
77
75
|
*
|
|
78
76
|
* @example
|
|
79
77
|
* false
|
|
@@ -81,19 +79,16 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
81
79
|
burstingEnabled?: boolean;
|
|
82
80
|
/**
|
|
83
81
|
* @remarks
|
|
84
|
-
* The category of data disk N.
|
|
85
|
-
*
|
|
86
|
-
* - cloud_efficiency: Ultra disk.
|
|
82
|
+
* The category of data disk N. Valid values of N: 1 to 16. Valid values:
|
|
87
83
|
*
|
|
88
|
-
* -
|
|
89
|
-
*
|
|
90
|
-
* - cloud_essd: ESSD.
|
|
91
|
-
*
|
|
92
|
-
* - cloud: Basic disk.
|
|
84
|
+
* - cloud_efficiency: ultra disk.
|
|
85
|
+
* - cloud_ssd: standard SSD.
|
|
86
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
87
|
+
* - cloud: basic disk.
|
|
93
88
|
*
|
|
94
89
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
95
90
|
*
|
|
96
|
-
*
|
|
91
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
97
92
|
*
|
|
98
93
|
* @example
|
|
99
94
|
* cloud_ssd
|
|
@@ -101,15 +96,13 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
101
96
|
category?: string;
|
|
102
97
|
/**
|
|
103
98
|
* @remarks
|
|
104
|
-
* Specifies whether
|
|
105
|
-
*
|
|
106
|
-
* -
|
|
107
|
-
*
|
|
108
|
-
* - false: Does not release the data disk with the instance.
|
|
99
|
+
* Specifies whether the data disk is released when the instance is released. Valid values:
|
|
100
|
+
* - true: the data disk is released when the instance is released.
|
|
101
|
+
* - false: the data disk is not released when the instance is released.
|
|
109
102
|
*
|
|
110
103
|
* Default value: true.
|
|
111
104
|
*
|
|
112
|
-
*
|
|
105
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
113
106
|
*
|
|
114
107
|
* @example
|
|
115
108
|
* true
|
|
@@ -117,7 +110,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
117
110
|
deleteWithInstance?: boolean;
|
|
118
111
|
/**
|
|
119
112
|
* @remarks
|
|
120
|
-
* The description of the data disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
113
|
+
* The description of the data disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
121
114
|
*
|
|
122
115
|
* @example
|
|
123
116
|
* DataDisk_Description
|
|
@@ -125,7 +118,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
125
118
|
description?: string;
|
|
126
119
|
/**
|
|
127
120
|
* @remarks
|
|
128
|
-
* The mount point of the data disk.
|
|
121
|
+
* The mount point of the data disk. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
129
122
|
*
|
|
130
123
|
* @example
|
|
131
124
|
* /dev/vd1
|
|
@@ -133,11 +126,11 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
133
126
|
device?: string;
|
|
134
127
|
/**
|
|
135
128
|
* @remarks
|
|
136
|
-
* The name of the data disk. The name must be 2 to 128 characters in length and can contain
|
|
129
|
+
* The name of the data disk. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with `http://` or `https://`. It can contain digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
137
130
|
*
|
|
138
131
|
* Default value: empty.
|
|
139
132
|
*
|
|
140
|
-
*
|
|
133
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
141
134
|
*
|
|
142
135
|
* @example
|
|
143
136
|
* cloud_ssdData
|
|
@@ -145,7 +138,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
145
138
|
diskName?: string;
|
|
146
139
|
/**
|
|
147
140
|
* @remarks
|
|
148
|
-
* > This parameter is not
|
|
141
|
+
* > This parameter is not publicly available.
|
|
149
142
|
*
|
|
150
143
|
* @example
|
|
151
144
|
* null
|
|
@@ -153,15 +146,14 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
153
146
|
encryptAlgorithm?: string;
|
|
154
147
|
/**
|
|
155
148
|
* @remarks
|
|
156
|
-
* Specifies whether
|
|
157
|
-
*
|
|
158
|
-
* - true: Encrypts the disk.
|
|
149
|
+
* Specifies whether data disk N is encrypted. Valid values:
|
|
159
150
|
*
|
|
160
|
-
* -
|
|
151
|
+
* - true: encrypted.
|
|
152
|
+
* - false: not encrypted.
|
|
161
153
|
*
|
|
162
154
|
* Default value: false.
|
|
163
155
|
*
|
|
164
|
-
*
|
|
156
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
165
157
|
*
|
|
166
158
|
* @example
|
|
167
159
|
* false
|
|
@@ -169,7 +161,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
169
161
|
encrypted?: boolean;
|
|
170
162
|
/**
|
|
171
163
|
* @remarks
|
|
172
|
-
* The KMS key
|
|
164
|
+
* The ID of the KMS key for the data disk. If both a launch template and launch configuration are specified, the launch template takes precedence.
|
|
173
165
|
*
|
|
174
166
|
* @example
|
|
175
167
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -177,19 +169,16 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
177
169
|
kmsKeyId?: string;
|
|
178
170
|
/**
|
|
179
171
|
* @remarks
|
|
180
|
-
* The performance level of the
|
|
181
|
-
*
|
|
182
|
-
* - PL0: Up to 10,000 random read/write IOPS per disk.
|
|
172
|
+
* The performance level of the enterprise SSD used as a data disk. The value of N must be consistent with the N in `LaunchConfiguration.DataDisk.N.Category`. Valid values:
|
|
183
173
|
*
|
|
184
|
-
* -
|
|
174
|
+
* - PL0: a single disk can deliver up to 10,000 random read/write IOPS.
|
|
175
|
+
* - PL1 (default): a single disk can deliver up to 50,000 random read/write IOPS.
|
|
176
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
177
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
185
178
|
*
|
|
186
|
-
*
|
|
179
|
+
* For information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
187
180
|
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
* For more information about selecting ESSD performance levels, see [ESSD](https://help.aliyun.com/document_detail/122389.html).
|
|
191
|
-
*
|
|
192
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
181
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
193
182
|
*
|
|
194
183
|
* @example
|
|
195
184
|
* PL1
|
|
@@ -197,11 +186,11 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
197
186
|
performanceLevel?: string;
|
|
198
187
|
/**
|
|
199
188
|
* @remarks
|
|
200
|
-
* The provisioned read/write IOPS
|
|
189
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}.
|
|
201
190
|
*
|
|
202
191
|
* Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
203
192
|
*
|
|
204
|
-
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
193
|
+
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
205
194
|
*
|
|
206
195
|
* @example
|
|
207
196
|
* 40000
|
|
@@ -209,27 +198,20 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
209
198
|
provisionedIops?: number;
|
|
210
199
|
/**
|
|
211
200
|
* @remarks
|
|
212
|
-
* The size of data disk N
|
|
213
|
-
*
|
|
214
|
-
* - cloud_efficiency: 20–32768.
|
|
201
|
+
* The size of data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:
|
|
215
202
|
*
|
|
216
|
-
* -
|
|
203
|
+
* - cloud_efficiency: 20 to 32768.
|
|
204
|
+
* - cloud_ssd: 20 to 32768.
|
|
205
|
+
* - cloud_essd: depends on the value of `LaunchConfiguration.DataDisk.N.PerformanceLevel`.
|
|
206
|
+
* - PL0: 40 to 32768.
|
|
207
|
+
* - PL1: 20 to 32768.
|
|
208
|
+
* - PL2: 461 to 32768.
|
|
209
|
+
* - PL3: 1261 to 32768.
|
|
210
|
+
* - cloud: 5 to 2000.
|
|
217
211
|
*
|
|
218
|
-
*
|
|
212
|
+
* > The value of this parameter must be greater than or equal to the size of the snapshot specified by `LaunchConfiguration.DataDisk.N.SnapshotId`.
|
|
219
213
|
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
222
|
-
* - PL1: 20–32768.
|
|
223
|
-
*
|
|
224
|
-
* - PL2: 461–32768.
|
|
225
|
-
*
|
|
226
|
-
* - PL3: 1261–32768
|
|
227
|
-
*
|
|
228
|
-
* - cloud: 5–2000.
|
|
229
|
-
*
|
|
230
|
-
* > The value must be greater than or equal to the size of the snapshot specified by `LaunchConfiguration.DataDisk.N.SnapshotId`.
|
|
231
|
-
*
|
|
232
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
214
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
233
215
|
*
|
|
234
216
|
* @example
|
|
235
217
|
* 20
|
|
@@ -237,11 +219,11 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
237
219
|
size?: number;
|
|
238
220
|
/**
|
|
239
221
|
* @remarks
|
|
240
|
-
* The snapshot used to create data disk N.
|
|
222
|
+
* The ID of the snapshot used to create data disk N. Valid values of N: 1 to 16.
|
|
241
223
|
*
|
|
242
|
-
* After this parameter
|
|
224
|
+
* After you specify this parameter, the `LaunchConfiguration.DataDisk.N.Size` parameter is ignored. The actual size of the created disk is the size of the specified snapshot. Snapshots created on or before July 15, 2013 cannot be used. Requests that use such snapshots are rejected.
|
|
243
225
|
*
|
|
244
|
-
*
|
|
226
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
245
227
|
*
|
|
246
228
|
* @example
|
|
247
229
|
* s-bp17441ohwka0yuh****
|
|
@@ -297,11 +279,10 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
297
279
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk extends $dara.Model {
|
|
298
280
|
/**
|
|
299
281
|
* @remarks
|
|
300
|
-
* The automatic snapshot policy
|
|
282
|
+
* The ID of the automatic snapshot policy to apply to the system disk.
|
|
301
283
|
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
284
|
+
* After you set this parameter, note the following items:
|
|
285
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
305
286
|
*
|
|
306
287
|
* @example
|
|
307
288
|
* sp-bp67acfmxazb4p****
|
|
@@ -309,13 +290,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDi
|
|
|
309
290
|
autoSnapshotPolicyId?: string;
|
|
310
291
|
/**
|
|
311
292
|
* @remarks
|
|
312
|
-
* Specifies whether to enable performance burst. Valid values:
|
|
313
|
-
*
|
|
314
|
-
* - true: Enables performance burst.
|
|
293
|
+
* Specifies whether to enable the performance burst feature. Valid values:
|
|
315
294
|
*
|
|
316
|
-
* -
|
|
295
|
+
* - true: enables the feature.
|
|
296
|
+
* - false: does not enable the feature.
|
|
317
297
|
*
|
|
318
|
-
* > This parameter is supported only when `SystemDisk.Category` is set to `cloud_auto`. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
298
|
+
* > This parameter is supported only when `SystemDisk.Category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disk](https://help.aliyun.com/document_detail/368372.html).
|
|
319
299
|
*
|
|
320
300
|
* @example
|
|
321
301
|
* false
|
|
@@ -325,15 +305,14 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDi
|
|
|
325
305
|
* @remarks
|
|
326
306
|
* The encryption algorithm for the system disk. Valid values:
|
|
327
307
|
*
|
|
328
|
-
* - aes-256
|
|
329
|
-
*
|
|
330
|
-
* - sm4-128.
|
|
308
|
+
* - aes-256
|
|
309
|
+
* - sm4-128
|
|
331
310
|
*
|
|
332
311
|
* Default value: aes-256.
|
|
333
312
|
*
|
|
334
|
-
*
|
|
313
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
335
314
|
*
|
|
336
|
-
* > This parameter is not
|
|
315
|
+
* > This parameter is not publicly available.
|
|
337
316
|
*
|
|
338
317
|
* @example
|
|
339
318
|
* aes-256
|
|
@@ -341,15 +320,15 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDi
|
|
|
341
320
|
encryptAlgorithm?: string;
|
|
342
321
|
/**
|
|
343
322
|
* @remarks
|
|
344
|
-
* Specifies whether
|
|
323
|
+
* Specifies whether the system disk is encrypted. Valid values:
|
|
345
324
|
*
|
|
346
|
-
* - true:
|
|
325
|
+
* - true: encrypted.
|
|
347
326
|
*
|
|
348
|
-
* - false:
|
|
327
|
+
* - false: not encrypted.
|
|
349
328
|
*
|
|
350
329
|
* Default value: false.
|
|
351
330
|
*
|
|
352
|
-
*
|
|
331
|
+
* If you specify both.
|
|
353
332
|
*
|
|
354
333
|
* @example
|
|
355
334
|
* false
|
|
@@ -357,9 +336,9 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDi
|
|
|
357
336
|
encrypted?: string;
|
|
358
337
|
/**
|
|
359
338
|
* @remarks
|
|
360
|
-
* The KMS key ID
|
|
339
|
+
* The KMS key ID of the system disk.
|
|
361
340
|
*
|
|
362
|
-
* When both a launch template and launch configuration
|
|
341
|
+
* When both a launch template and launch configuration information are specified, the launch template takes precedence.
|
|
363
342
|
*
|
|
364
343
|
* @example
|
|
365
344
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -367,11 +346,10 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDi
|
|
|
367
346
|
KMSKeyId?: string;
|
|
368
347
|
/**
|
|
369
348
|
* @remarks
|
|
370
|
-
* The provisioned read/write IOPS
|
|
371
|
-
*
|
|
372
|
-
* Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
349
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}.
|
|
373
350
|
*
|
|
374
|
-
*
|
|
351
|
+
* Baseline performance = min{1,800 + 50 × Capacity, 50,000}.
|
|
352
|
+
* > This parameter is supported only when SystemDisk.Category is set to cloud_auto. For more information, see [ESSD AutoPL disk](https://help.aliyun.com/document_detail/368372.html).
|
|
375
353
|
*
|
|
376
354
|
* @example
|
|
377
355
|
* 40000
|
|
@@ -411,7 +389,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDi
|
|
|
411
389
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag extends $dara.Model {
|
|
412
390
|
/**
|
|
413
391
|
* @remarks
|
|
414
|
-
* The tag key of the instance.
|
|
392
|
+
* The tag key of the instance. Valid values of N: 1 to 20. The tag key cannot be an empty string. It can be up to 128 characters in length and cannot start with aliyun or acs:. It cannot contain `http://` or `https://`. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
415
393
|
*
|
|
416
394
|
* @example
|
|
417
395
|
* TestKey
|
|
@@ -419,7 +397,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag exte
|
|
|
419
397
|
key?: string;
|
|
420
398
|
/**
|
|
421
399
|
* @remarks
|
|
422
|
-
* The tag value of the instance.
|
|
400
|
+
* The tag value of the instance. Valid values of N: 1 to 20. The tag value can be an empty string. It can be up to 128 characters in length and cannot start with acs:. It cannot contain `http://` or `https://`. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
423
401
|
*
|
|
424
402
|
* @example
|
|
425
403
|
* TestValue
|
|
@@ -453,7 +431,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationCpuOptio
|
|
|
453
431
|
* @remarks
|
|
454
432
|
* The number of CPU cores.
|
|
455
433
|
*
|
|
456
|
-
* Default value:
|
|
434
|
+
* Default value: see [Specify and view CPU options](https://www.alibabacloud.com/help/en/ecs/user-guide/specify-and-view-cpu-options).
|
|
457
435
|
*
|
|
458
436
|
* @example
|
|
459
437
|
* 2
|
|
@@ -461,13 +439,13 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationCpuOptio
|
|
|
461
439
|
core?: number;
|
|
462
440
|
/**
|
|
463
441
|
* @remarks
|
|
464
|
-
* The number of CPU
|
|
442
|
+
* The number of threads per CPU core. The number of vCPUs of the ECS instance = CpuOptions.Core value × CpuOptions.ThreadsPerCore value.
|
|
465
443
|
*
|
|
466
|
-
* CpuOptions.ThreadsPerCore
|
|
444
|
+
* If CpuOptions.ThreadsPerCore is set to 1, CPU hyper-threading is disabled.
|
|
467
445
|
*
|
|
468
|
-
* Only specific instance types support
|
|
446
|
+
* Only specific instance types support custom CPU thread counts.
|
|
469
447
|
*
|
|
470
|
-
*
|
|
448
|
+
* For valid values and default values, see [Specify and view CPU options](https://www.alibabacloud.com/help/en/ecs/user-guide/specify-and-view-cpu-options).
|
|
471
449
|
*
|
|
472
450
|
* @example
|
|
473
451
|
* 2
|
|
@@ -499,11 +477,9 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationCpuOptio
|
|
|
499
477
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
500
478
|
/**
|
|
501
479
|
* @remarks
|
|
502
|
-
* Specifies whether
|
|
503
|
-
*
|
|
504
|
-
* -
|
|
505
|
-
*
|
|
506
|
-
* - false: Not supported.
|
|
480
|
+
* Specifies whether the instance that uses this image supports logon as the ecs-user user. Valid values:
|
|
481
|
+
* - true: supported.
|
|
482
|
+
* - false: not supported.
|
|
507
483
|
*
|
|
508
484
|
* @example
|
|
509
485
|
* false
|
|
@@ -582,18 +558,18 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSecurity
|
|
|
582
558
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends $dara.Model {
|
|
583
559
|
/**
|
|
584
560
|
* @remarks
|
|
585
|
-
* > This parameter is in invitational preview and is not
|
|
561
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
586
562
|
*/
|
|
587
563
|
arn?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn[];
|
|
588
564
|
/**
|
|
589
565
|
* @remarks
|
|
590
|
-
* The automatic release time
|
|
566
|
+
* The automatic release time of the pay-as-you-go instance. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
|
|
591
567
|
*
|
|
592
|
-
* - If seconds (`ss`)
|
|
568
|
+
* - If the value of seconds (`ss`) is not `00`, the time is automatically rounded down to the start of the current minute (`mm`).
|
|
593
569
|
*
|
|
594
570
|
* - The earliest release time is 30 minutes after the current time.
|
|
595
571
|
*
|
|
596
|
-
* - The latest release time cannot
|
|
572
|
+
* - The latest release time cannot be more than three years from the current time.
|
|
597
573
|
*
|
|
598
574
|
* @example
|
|
599
575
|
* 2018-01-01T12:05:00Z
|
|
@@ -601,15 +577,14 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
601
577
|
autoReleaseTime?: string;
|
|
602
578
|
/**
|
|
603
579
|
* @remarks
|
|
604
|
-
* The running mode of burstable
|
|
580
|
+
* The running mode of the burstable instance. Valid values:
|
|
605
581
|
*
|
|
606
|
-
* - Standard:
|
|
582
|
+
* - Standard: standard mode. For more information about instance performance, see the performance constrained mode section in [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
583
|
+
* - Unlimited: unlimited mode. For more information about instance performance, see the unlimited mode section in [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
607
584
|
*
|
|
608
|
-
*
|
|
585
|
+
* Default value: none.
|
|
609
586
|
*
|
|
610
|
-
*
|
|
611
|
-
*
|
|
612
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
587
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
613
588
|
*
|
|
614
589
|
* @example
|
|
615
590
|
* Standard
|
|
@@ -617,12 +592,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
617
592
|
creditSpecification?: string;
|
|
618
593
|
/**
|
|
619
594
|
* @remarks
|
|
620
|
-
* The list of data disk configurations
|
|
595
|
+
* The list of data disk configurations in the launch configuration.
|
|
621
596
|
*/
|
|
622
597
|
dataDisk?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk[];
|
|
623
598
|
/**
|
|
624
599
|
* @remarks
|
|
625
|
-
* The deployment set
|
|
600
|
+
* The ID of the deployment set.
|
|
626
601
|
*
|
|
627
602
|
* @example
|
|
628
603
|
* ds-bp1frxuzdg87zh4p****
|
|
@@ -630,17 +605,13 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
630
605
|
deploymentSetId?: string;
|
|
631
606
|
/**
|
|
632
607
|
* @remarks
|
|
633
|
-
* The hostname of the instance.
|
|
634
|
-
*
|
|
635
|
-
* - Periods (.) and hyphens (-) cannot be the first or last character and cannot appear consecutively.
|
|
636
|
-
*
|
|
637
|
-
* - Windows instances: 2–15 characters. Periods (.) are not supported. Cannot consist of only digits. Can contain letters, digits, and hyphens (-).
|
|
608
|
+
* The hostname of the instance. The following limits apply:
|
|
638
609
|
*
|
|
639
|
-
* -
|
|
640
|
-
*
|
|
641
|
-
* -
|
|
642
|
-
*
|
|
643
|
-
* -
|
|
610
|
+
* - Periods (.) and hyphens (-) cannot be used as the first or last characters and cannot be used consecutively.
|
|
611
|
+
* - Windows instances: The hostname must be 2 to 15 characters in length and cannot contain periods (.) or consist entirely of digits. It can contain letters, digits, and hyphens (-).
|
|
612
|
+
* - Instances of other types (such as Linux): The hostname must be 2 to 64 characters in length and can contain multiple periods (.). Each segment between periods can contain letters, digits, and hyphens (-).
|
|
613
|
+
* - You cannot specify both `LaunchConfiguration.HostName` and `LaunchConfiguration.HostNames.N`. Otherwise, an error is returned.
|
|
614
|
+
* - If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
644
615
|
*
|
|
645
616
|
* @example
|
|
646
617
|
* k8s-node-[1,4]-ecshost
|
|
@@ -648,15 +619,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
648
619
|
hostName?: string;
|
|
649
620
|
/**
|
|
650
621
|
* @remarks
|
|
651
|
-
* The list of hostnames for one or more instances.
|
|
652
|
-
*
|
|
653
|
-
* - This parameter takes effect only when creating an auto provisioning group with `AutoProvisioningGroupType=instant`.
|
|
622
|
+
* The list of hostnames for one or more instances. The following limits apply:
|
|
654
623
|
*
|
|
655
|
-
* -
|
|
656
|
-
*
|
|
657
|
-
* - Periods (.) and hyphens (-) cannot be the first or last
|
|
658
|
-
*
|
|
659
|
-
* - When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
624
|
+
* - This parameter takes effect only when you create a one-time synchronous delivery auto provisioning group (`AutoProvisioningGroupType=instant`).
|
|
625
|
+
* - N indicates the number of instances. Valid values of N: 1 to 1000. The value must be consistent with the TotalTargetCapacity parameter.
|
|
626
|
+
* - Periods (.) and hyphens (-) cannot be used as the first or last characters and cannot be used consecutively.
|
|
627
|
+
* - If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
660
628
|
*
|
|
661
629
|
* @example
|
|
662
630
|
* ecs-host-01
|
|
@@ -664,7 +632,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
664
632
|
hostNames?: string[];
|
|
665
633
|
/**
|
|
666
634
|
* @remarks
|
|
667
|
-
* The image family
|
|
635
|
+
* The name of the image family. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `aliyun` or `acs:`. The name cannot contain `http://` or `https://`. The name can contain digits, colons (:), underscores (_), or hyphens (-).
|
|
668
636
|
*
|
|
669
637
|
* @example
|
|
670
638
|
* hangzhou-daily-update
|
|
@@ -672,7 +640,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
672
640
|
imageFamily?: string;
|
|
673
641
|
/**
|
|
674
642
|
* @remarks
|
|
675
|
-
* The
|
|
643
|
+
* The ID of the image used to launch instances. You can call [DescribeImages](https://help.aliyun.com/document_detail/25534.html) to query available image resources. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
676
644
|
*
|
|
677
645
|
* @example
|
|
678
646
|
* m-bp1g7004ksh0oeuc****
|
|
@@ -680,7 +648,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
680
648
|
imageId?: string;
|
|
681
649
|
/**
|
|
682
650
|
* @remarks
|
|
683
|
-
* The instance
|
|
651
|
+
* The description of the instance. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
684
652
|
*
|
|
685
653
|
* @example
|
|
686
654
|
* Instance_Description
|
|
@@ -688,13 +656,13 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
688
656
|
instanceDescription?: string;
|
|
689
657
|
/**
|
|
690
658
|
* @remarks
|
|
691
|
-
* The instance
|
|
659
|
+
* The name of the instance. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with `http://` or `https://`. It can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
692
660
|
*
|
|
693
|
-
* Default value:
|
|
661
|
+
* Default value: the `InstanceId` of the instance.
|
|
694
662
|
*
|
|
695
|
-
*
|
|
663
|
+
* When you create multiple ECS instances, you can batch configure sequential instance names. For more information, see [Batch configure sequential names or hostnames for multiple instances](https://help.aliyun.com/document_detail/196048.html).
|
|
696
664
|
*
|
|
697
|
-
*
|
|
665
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
698
666
|
*
|
|
699
667
|
* @example
|
|
700
668
|
* k8s-node-[1,4]-alibabacloud
|
|
@@ -702,15 +670,14 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
702
670
|
instanceName?: string;
|
|
703
671
|
/**
|
|
704
672
|
* @remarks
|
|
705
|
-
* The network
|
|
706
|
-
*
|
|
707
|
-
* - PayByBandwidth: Pay-by-bandwidth.
|
|
673
|
+
* The billing method for network usage. Valid values:
|
|
708
674
|
*
|
|
709
|
-
* -
|
|
675
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
676
|
+
* - PayByTraffic: pay-by-traffic.
|
|
710
677
|
*
|
|
711
|
-
* >
|
|
678
|
+
* > In pay-by-traffic mode, the peak inbound and outbound bandwidths are used as upper limits of bandwidths instead of guaranteed performance metrics. When resources are contended, the peak bandwidths may be limited. If you require guaranteed bandwidth, use pay-by-bandwidth.
|
|
712
679
|
*
|
|
713
|
-
*
|
|
680
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
714
681
|
*
|
|
715
682
|
* @example
|
|
716
683
|
* PayByTraffic
|
|
@@ -718,13 +685,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
718
685
|
internetChargeType?: string;
|
|
719
686
|
/**
|
|
720
687
|
* @remarks
|
|
721
|
-
* The maximum inbound public bandwidth
|
|
688
|
+
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
722
689
|
*
|
|
723
|
-
* -
|
|
690
|
+
* - If the maximum outbound public bandwidth is less than or equal to 10 Mbit/s: 1 to 10. Default value: 10.
|
|
691
|
+
* - If the maximum outbound public bandwidth is greater than 10 Mbit/s: 1 to the value of `LaunchConfiguration.InternetMaxBandwidthOut`. Default value: the value of `LaunchConfiguration.InternetMaxBandwidthOut`.
|
|
724
692
|
*
|
|
725
|
-
*
|
|
726
|
-
*
|
|
727
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
693
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
728
694
|
*
|
|
729
695
|
* @example
|
|
730
696
|
* 10
|
|
@@ -732,11 +698,11 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
732
698
|
internetMaxBandwidthIn?: number;
|
|
733
699
|
/**
|
|
734
700
|
* @remarks
|
|
735
|
-
* The maximum outbound public bandwidth
|
|
701
|
+
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
736
702
|
*
|
|
737
703
|
* Default value: 0.
|
|
738
704
|
*
|
|
739
|
-
*
|
|
705
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
740
706
|
*
|
|
741
707
|
* @example
|
|
742
708
|
* 10
|
|
@@ -744,15 +710,14 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
744
710
|
internetMaxBandwidthOut?: number;
|
|
745
711
|
/**
|
|
746
712
|
* @remarks
|
|
747
|
-
* Specifies whether the instance is I/O optimized. Valid values:
|
|
748
|
-
*
|
|
749
|
-
* - none: Not I/O optimized.
|
|
713
|
+
* Specifies whether the instance is an I/O optimized instance. Valid values:
|
|
750
714
|
*
|
|
751
|
-
* -
|
|
715
|
+
* - none: non-I/O optimization.
|
|
716
|
+
* - optimized: I/O optimization.
|
|
752
717
|
*
|
|
753
718
|
* For retired instance types, the default value is none. For other instance types, the default value is optimized.
|
|
754
719
|
*
|
|
755
|
-
*
|
|
720
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
756
721
|
*
|
|
757
722
|
* @example
|
|
758
723
|
* optimized
|
|
@@ -760,13 +725,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
760
725
|
ioOptimized?: string;
|
|
761
726
|
/**
|
|
762
727
|
* @remarks
|
|
763
|
-
* The key pair
|
|
764
|
-
*
|
|
765
|
-
* - For Windows instances, this parameter is ignored. Default value: empty.
|
|
728
|
+
* The name of the key pair.
|
|
766
729
|
*
|
|
767
|
-
* -
|
|
730
|
+
* - For Windows instances, this parameter is ignored and is empty by default.
|
|
731
|
+
* - For Linux instances, password-based logon is disabled during initialization.
|
|
768
732
|
*
|
|
769
|
-
*
|
|
733
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
770
734
|
*
|
|
771
735
|
* @example
|
|
772
736
|
* KeyPair_Name
|
|
@@ -774,13 +738,13 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
774
738
|
keyPairName?: string;
|
|
775
739
|
/**
|
|
776
740
|
* @remarks
|
|
777
|
-
* The instance
|
|
741
|
+
* The password of the instance. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The following special characters are supported:
|
|
778
742
|
*
|
|
779
743
|
* ``()`~!@#$%^&*-_+=|{}`[]`:;\\"<>,.?/``
|
|
780
744
|
*
|
|
781
745
|
* For Windows instances, the password cannot start with a forward slash (/).
|
|
782
746
|
*
|
|
783
|
-
*
|
|
747
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
784
748
|
*
|
|
785
749
|
* @example
|
|
786
750
|
* EcsV587!
|
|
@@ -790,11 +754,10 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
790
754
|
* @remarks
|
|
791
755
|
* Specifies whether to use the password preset in the image. Valid values:
|
|
792
756
|
*
|
|
793
|
-
* - true:
|
|
757
|
+
* - true: uses the preset password.
|
|
758
|
+
* - false: does not use the preset password.
|
|
794
759
|
*
|
|
795
|
-
*
|
|
796
|
-
*
|
|
797
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
760
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
798
761
|
*
|
|
799
762
|
* @example
|
|
800
763
|
* true
|
|
@@ -802,7 +765,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
802
765
|
passwordInherit?: boolean;
|
|
803
766
|
/**
|
|
804
767
|
* @remarks
|
|
805
|
-
* The
|
|
768
|
+
* The name of the instance RAM role. You can call the RAM API [ListRoles](https://help.aliyun.com/document_detail/28713.html) to query the instance RAM roles that you have created. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
806
769
|
*
|
|
807
770
|
* @example
|
|
808
771
|
* RAM_Name
|
|
@@ -810,7 +773,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
810
773
|
ramRoleName?: string;
|
|
811
774
|
/**
|
|
812
775
|
* @remarks
|
|
813
|
-
* The resource group
|
|
776
|
+
* The ID of the resource group to which the instance belongs. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
814
777
|
*
|
|
815
778
|
* @example
|
|
816
779
|
* rg-bp67acfmxazb4p****
|
|
@@ -820,11 +783,10 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
820
783
|
* @remarks
|
|
821
784
|
* Specifies whether to enable security hardening. Valid values:
|
|
822
785
|
*
|
|
823
|
-
* -
|
|
824
|
-
*
|
|
825
|
-
* - Deactive: Disables security hardening. Applies to all image types.
|
|
786
|
+
* - Active: enables security hardening. This value is applicable only to public images.
|
|
787
|
+
* - Deactive: disables security hardening. This value is applicable to all image types.
|
|
826
788
|
*
|
|
827
|
-
*
|
|
789
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
828
790
|
*
|
|
829
791
|
* @example
|
|
830
792
|
* Active
|
|
@@ -832,7 +794,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
832
794
|
securityEnhancementStrategy?: string;
|
|
833
795
|
/**
|
|
834
796
|
* @remarks
|
|
835
|
-
* The security group
|
|
797
|
+
* The ID of the security group to which the instance belongs. If both a launch template and launch configuration information are specified, the launch template takes precedence.
|
|
836
798
|
*
|
|
837
799
|
* @example
|
|
838
800
|
* sg-bp15ed6xe1yxeycg****
|
|
@@ -845,24 +807,21 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
845
807
|
securityGroupIds?: string[];
|
|
846
808
|
/**
|
|
847
809
|
* @remarks
|
|
848
|
-
*
|
|
810
|
+
* The system disk information of the instance. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
849
811
|
*/
|
|
850
812
|
systemDisk?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk;
|
|
851
813
|
/**
|
|
852
814
|
* @remarks
|
|
853
815
|
* The category of the system disk. Valid values:
|
|
854
816
|
*
|
|
855
|
-
* -
|
|
856
|
-
*
|
|
857
|
-
* -
|
|
817
|
+
* - cloud_efficiency: ultra disk.
|
|
818
|
+
* - cloud_ssd: standard SSD.
|
|
819
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
820
|
+
* - cloud: basic disk.
|
|
858
821
|
*
|
|
859
|
-
* -
|
|
822
|
+
* For retired instance types that are non-I/O optimization instances, the default value is cloud. For other instance types, the default value is cloud_efficiency.
|
|
860
823
|
*
|
|
861
|
-
*
|
|
862
|
-
*
|
|
863
|
-
* For retired instance types that are not I/O optimized, the default value is cloud. Otherwise, the default value is cloud_efficiency.
|
|
864
|
-
*
|
|
865
|
-
* When both a launch template and launch configuration parameters are specified, the launch template takes precedence.
|
|
824
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
866
825
|
*
|
|
867
826
|
* @example
|
|
868
827
|
* cloud_ssd
|
|
@@ -872,7 +831,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
872
831
|
* @remarks
|
|
873
832
|
* The description of the system disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
874
833
|
*
|
|
875
|
-
*
|
|
834
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
876
835
|
*
|
|
877
836
|
* @example
|
|
878
837
|
* SystemDisk_Description
|
|
@@ -880,11 +839,11 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
880
839
|
systemDiskDescription?: string;
|
|
881
840
|
/**
|
|
882
841
|
* @remarks
|
|
883
|
-
* The name of the system disk. The name must be 2 to 128 characters in length and can contain
|
|
842
|
+
* The name of the system disk. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with `http://` or `https://`. It can contain digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
884
843
|
*
|
|
885
844
|
* Default value: empty.
|
|
886
845
|
*
|
|
887
|
-
*
|
|
846
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
888
847
|
*
|
|
889
848
|
* @example
|
|
890
849
|
* cloud_ssdSystem
|
|
@@ -892,19 +851,16 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
892
851
|
systemDiskName?: string;
|
|
893
852
|
/**
|
|
894
853
|
* @remarks
|
|
895
|
-
* The performance level of the
|
|
896
|
-
*
|
|
897
|
-
* - PL0 (default): Up to 10,000 random read/write IOPS per disk.
|
|
898
|
-
*
|
|
899
|
-
* - PL1: Up to 50,000 random read/write IOPS per disk.
|
|
900
|
-
*
|
|
901
|
-
* - PL2: Up to 100,000 random read/write IOPS per disk.
|
|
854
|
+
* The performance level (PL) of the enterprise SSD used as the system disk. Valid values:
|
|
902
855
|
*
|
|
903
|
-
* -
|
|
856
|
+
* - PL0 (default): a single disk can deliver up to 10,000 random read/write IOPS.
|
|
857
|
+
* - PL1: a single disk can deliver up to 50,000 random read/write IOPS.
|
|
858
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
859
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
904
860
|
*
|
|
905
|
-
* For
|
|
861
|
+
* For information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
906
862
|
*
|
|
907
|
-
*
|
|
863
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
908
864
|
*
|
|
909
865
|
* @example
|
|
910
866
|
* PL0
|
|
@@ -912,11 +868,11 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
912
868
|
systemDiskPerformanceLevel?: string;
|
|
913
869
|
/**
|
|
914
870
|
* @remarks
|
|
915
|
-
* The size of the system disk
|
|
871
|
+
* The size of the system disk. Unit: GiB. Valid values: 20 to 500. The value of this parameter must be greater than or equal to max{20, size of the image specified by LaunchConfiguration.ImageId}.
|
|
916
872
|
*
|
|
917
873
|
* Default value: max{40, size of the image specified by LaunchConfiguration.ImageId}.
|
|
918
874
|
*
|
|
919
|
-
*
|
|
875
|
+
* If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
920
876
|
*
|
|
921
877
|
* @example
|
|
922
878
|
* 40
|
|
@@ -924,12 +880,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
924
880
|
systemDiskSize?: number;
|
|
925
881
|
/**
|
|
926
882
|
* @remarks
|
|
927
|
-
* The list of tags
|
|
883
|
+
* The list of tags in the launch configuration.
|
|
928
884
|
*/
|
|
929
885
|
tag?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag[];
|
|
930
886
|
/**
|
|
931
887
|
* @remarks
|
|
932
|
-
*
|
|
888
|
+
* Instance user data of the instance. Instance user data must be Base64-encoded. The maximum size of the raw data is 32 KB. If you specify both a launch template and launch configuration information, the launch template takes precedence.
|
|
933
889
|
*
|
|
934
890
|
* @example
|
|
935
891
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
@@ -937,11 +893,10 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
937
893
|
userData?: string;
|
|
938
894
|
/**
|
|
939
895
|
* @remarks
|
|
940
|
-
* Specifies whether to enable auto-renewal.
|
|
896
|
+
* Specifies whether to enable auto-renewal. This parameter takes effect when you create subscription instances. Valid values:
|
|
941
897
|
*
|
|
942
|
-
* - true:
|
|
943
|
-
*
|
|
944
|
-
* - false (default): Disables auto-renewal.
|
|
898
|
+
* - true: enables auto-renewal.
|
|
899
|
+
* - false (default): does not enable auto-renewal.
|
|
945
900
|
*
|
|
946
901
|
* @example
|
|
947
902
|
* true
|
|
@@ -949,21 +904,15 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
949
904
|
autoRenew?: boolean;
|
|
950
905
|
/**
|
|
951
906
|
* @remarks
|
|
952
|
-
* The auto-renewal
|
|
953
|
-
*
|
|
907
|
+
* The auto-renewal period. Valid values:
|
|
908
|
+
*
|
|
954
909
|
* <props="china">
|
|
910
|
+
* - If PeriodUnit is set to Week: 1, 2, and 3.
|
|
911
|
+
* - If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
955
912
|
*
|
|
956
|
-
* - When PeriodUnit=Week: 1, 2, 3.
|
|
957
|
-
*
|
|
958
|
-
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
959
|
-
*
|
|
960
|
-
*
|
|
961
|
-
*
|
|
962
|
-
* <props="intl">
|
|
963
|
-
*
|
|
964
|
-
* When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
965
913
|
*
|
|
966
914
|
*
|
|
915
|
+
* <props="intl">If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
967
916
|
*
|
|
968
917
|
* Default value: 1.
|
|
969
918
|
*
|
|
@@ -973,39 +922,30 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
973
922
|
autoRenewPeriod?: number;
|
|
974
923
|
/**
|
|
975
924
|
* @remarks
|
|
976
|
-
* CPU
|
|
925
|
+
* The CPU-related configurations.
|
|
977
926
|
*/
|
|
978
927
|
cpuOptions?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationCpuOptions;
|
|
979
928
|
/**
|
|
980
929
|
* @remarks
|
|
981
|
-
*
|
|
982
|
-
*
|
|
983
|
-
* Note:
|
|
930
|
+
* The image-related property information.
|
|
984
931
|
*
|
|
985
|
-
*
|
|
932
|
+
* After you set this parameter, note the following items:
|
|
933
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
986
934
|
*/
|
|
987
935
|
imageOptions?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions;
|
|
988
936
|
/**
|
|
989
937
|
* @remarks
|
|
990
|
-
* The subscription duration
|
|
938
|
+
* The subscription duration of the resource. Unit: specified by `PeriodUnit`. This parameter is required when you create subscription instances. Valid values:
|
|
991
939
|
*
|
|
992
940
|
* <props="china">
|
|
993
|
-
*
|
|
994
|
-
* -
|
|
995
|
-
*
|
|
996
|
-
* - When PeriodUnit=Month, Period values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
|
|
997
|
-
*
|
|
941
|
+
* - If PeriodUnit is set to Week, valid values of Period: 1, 2, 3, and 4.
|
|
942
|
+
* - If PeriodUnit is set to Month, valid values of Period: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
998
943
|
*
|
|
999
944
|
*
|
|
1000
|
-
* <props="intl">
|
|
1001
945
|
*
|
|
1002
|
-
*
|
|
946
|
+
* <props="intl">If PeriodUnit is set to Month, valid values of Period: 1, 2, 3, 6, and 12.
|
|
1003
947
|
*
|
|
1004
|
-
*
|
|
1005
|
-
*
|
|
1006
|
-
* <props="partner">
|
|
1007
|
-
*
|
|
1008
|
-
* When PeriodUnit=Month, Period values: 1, 2, 3, 6, 12.
|
|
948
|
+
* <props="partner">If PeriodUnit is set to Month, valid values of Period: 1, 2, 3, 6, and 12.
|
|
1009
949
|
*
|
|
1010
950
|
* @example
|
|
1011
951
|
* 1
|
|
@@ -1013,19 +953,15 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
1013
953
|
period?: number;
|
|
1014
954
|
/**
|
|
1015
955
|
* @remarks
|
|
1016
|
-
* The
|
|
956
|
+
* The unit of the subscription billable methods duration. Valid values:
|
|
1017
957
|
*
|
|
1018
958
|
* <props="china">
|
|
1019
|
-
*
|
|
1020
|
-
* -
|
|
1021
|
-
*
|
|
1022
|
-
* - Month (default).
|
|
1023
|
-
*
|
|
959
|
+
* - Week
|
|
960
|
+
* - Month (default)
|
|
1024
961
|
*
|
|
1025
962
|
*
|
|
1026
|
-
* <props="intl">
|
|
1027
963
|
*
|
|
1028
|
-
* Month (default).
|
|
964
|
+
* <props="intl">Month (default).
|
|
1029
965
|
*
|
|
1030
966
|
* @example
|
|
1031
967
|
* Month
|
|
@@ -1035,17 +971,14 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
1035
971
|
securityOptions?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSecurityOptions;
|
|
1036
972
|
/**
|
|
1037
973
|
* @remarks
|
|
1038
|
-
* The
|
|
974
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
975
|
+
* - 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not subject to automatic release within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the marketplace price and checks the resource inventory to determine whether to retain or revoke the instance.
|
|
976
|
+
* - 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 marketplace price and checks the resource inventory to determine whether to retain or revoke the instance.
|
|
1039
977
|
*
|
|
1040
|
-
*
|
|
978
|
+
* Alibaba Cloud sends an ECS system event notification 5 minutes before the instance is released. Spot instances are billed by second. Select an appropriate protection period based on the expected task execution duration.
|
|
1041
979
|
*
|
|
1042
|
-
*
|
|
1043
|
-
*
|
|
1044
|
-
* Alibaba Cloud sends an ECS system event notification 5 minutes before reclaiming a spot instance. Spot instances are billed per second. Choose the reserved duration based on your task execution time.
|
|
1045
|
-
*
|
|
1046
|
-
* Note:
|
|
1047
|
-
*
|
|
1048
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
980
|
+
* After you set this parameter, note the following items:
|
|
981
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
1049
982
|
*
|
|
1050
983
|
* @example
|
|
1051
984
|
* 1
|
|
@@ -1053,19 +986,18 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
1053
986
|
spotDuration?: number;
|
|
1054
987
|
/**
|
|
1055
988
|
* @remarks
|
|
1056
|
-
* The
|
|
989
|
+
* The spot instance break mode. Valid values:
|
|
1057
990
|
*
|
|
1058
|
-
* - Terminate:
|
|
991
|
+
* - Terminate: directly releases the instance.
|
|
1059
992
|
*
|
|
1060
|
-
* - Stop:
|
|
993
|
+
* - Stop: puts the instance into economical mode.
|
|
1061
994
|
*
|
|
1062
995
|
* For more information about economical mode, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
|
|
1063
996
|
*
|
|
1064
997
|
* Default value: Terminate.
|
|
1065
998
|
*
|
|
1066
|
-
*
|
|
1067
|
-
*
|
|
1068
|
-
* - This parameter takes effect only when creating an auto provisioning group with AutoProvisioningGroupType=instant.
|
|
999
|
+
* After you set this parameter, note the following items:
|
|
1000
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (AutoProvisioningGroupType=instant).
|
|
1069
1001
|
*
|
|
1070
1002
|
* @example
|
|
1071
1003
|
* Terminate
|
|
@@ -1235,15 +1167,12 @@ export class CreateAutoProvisioningGroupShrinkRequestCandidateOptions extends $d
|
|
|
1235
1167
|
export class CreateAutoProvisioningGroupShrinkRequestDataDiskConfig extends $dara.Model {
|
|
1236
1168
|
/**
|
|
1237
1169
|
* @remarks
|
|
1238
|
-
* The data disk
|
|
1239
|
-
*
|
|
1240
|
-
* - cloud_efficiency: Ultra disk.
|
|
1241
|
-
*
|
|
1242
|
-
* - cloud_ssd: Standard SSD.
|
|
1170
|
+
* The category of the data disk. You can specify multiple candidate disk categories. The specified order determines the priority of each disk category. When a disk category is unavailable, the system automatically switches to the next category. Valid values:
|
|
1243
1171
|
*
|
|
1244
|
-
* -
|
|
1245
|
-
*
|
|
1246
|
-
* -
|
|
1172
|
+
* - cloud_efficiency: ultra disk.
|
|
1173
|
+
* - cloud_ssd: standard SSD.
|
|
1174
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
1175
|
+
* - cloud: basic disk.
|
|
1247
1176
|
*
|
|
1248
1177
|
* @example
|
|
1249
1178
|
* cloud_efficiency
|
|
@@ -1278,13 +1207,11 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
1278
1207
|
architectures?: string[];
|
|
1279
1208
|
/**
|
|
1280
1209
|
* @remarks
|
|
1281
|
-
* Specifies whether
|
|
1282
|
-
*
|
|
1283
|
-
* - Exclude: Excludes burstable instance types.
|
|
1284
|
-
*
|
|
1285
|
-
* - Include: Includes burstable instance types.
|
|
1210
|
+
* Specifies whether to include burstable instance types. Valid values:
|
|
1286
1211
|
*
|
|
1287
|
-
* -
|
|
1212
|
+
* - Exclude: excludes burstable instance types.
|
|
1213
|
+
* - Include: includes burstable instance types.
|
|
1214
|
+
* - Required: includes only burstable instance types.
|
|
1288
1215
|
*
|
|
1289
1216
|
* Default value: Include.
|
|
1290
1217
|
*
|
|
@@ -1294,7 +1221,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
1294
1221
|
burstablePerformance?: string;
|
|
1295
1222
|
/**
|
|
1296
1223
|
* @remarks
|
|
1297
|
-
* The list of vCPU counts for instance types.
|
|
1224
|
+
* The list of vCPU core counts for instance types.
|
|
1298
1225
|
*/
|
|
1299
1226
|
cores?: number[];
|
|
1300
1227
|
/**
|
|
@@ -1304,7 +1231,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
1304
1231
|
excludedInstanceTypes?: string[];
|
|
1305
1232
|
/**
|
|
1306
1233
|
* @remarks
|
|
1307
|
-
* The image ID.
|
|
1234
|
+
* The image ID. You can use this parameter to set the image for the current resource pool. If not set, the image specified in `LaunchConfiguration.ImageId` or the launch template is used by default. You can call [DescribeImages](https://help.aliyun.com/document_detail/25534.html) to query available image resources.
|
|
1308
1235
|
* Note: This parameter is supported only when `AutoProvisioningGroupType = instant`.
|
|
1309
1236
|
*
|
|
1310
1237
|
* @example
|
|
@@ -1313,15 +1240,13 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
1313
1240
|
imageId?: string;
|
|
1314
1241
|
/**
|
|
1315
1242
|
* @remarks
|
|
1316
|
-
* The instance family
|
|
1243
|
+
* The level of the instance family, used to filter instance types that meet the requirements. Valid values:
|
|
1317
1244
|
*
|
|
1318
|
-
* - EntryLevel:
|
|
1245
|
+
* - EntryLevel: entry level, which refers to shared instance types. Lower cost but no guarantee of stable computing performance. Suitable for scenarios with low average CPU utilization. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
|
|
1246
|
+
* - EnterpriseLevel: enterprise level. Stable performance with dedicated resources. Suitable for scenarios that require high stability. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
1247
|
+
* - CreditEntryLevel: credit-based entry level, which refers to burstable instances. Uses CPU credits to ensure computing performance. Suitable for scenarios with low average CPU utilization and occasional bursts. For more information, see [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
1319
1248
|
*
|
|
1320
|
-
*
|
|
1321
|
-
*
|
|
1322
|
-
* - CreditEntryLevel: Credit entry-level, or burstable instances. Uses CPU credits to guarantee computing performance. Suitable for workloads with low average CPU usage and occasional bursts. For more information, see [Burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
1323
|
-
*
|
|
1324
|
-
* N ranges from 1 to 10.
|
|
1249
|
+
* Valid values of N: 1 to 10.
|
|
1325
1250
|
*
|
|
1326
1251
|
* @example
|
|
1327
1252
|
* EnterpriseLevel
|
|
@@ -1329,7 +1254,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
1329
1254
|
instanceFamilyLevel?: string;
|
|
1330
1255
|
/**
|
|
1331
1256
|
* @remarks
|
|
1332
|
-
* The instance type
|
|
1257
|
+
* The instance type in the extended launch template. Valid values of N: 1 to 20. For valid values, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
1333
1258
|
*
|
|
1334
1259
|
* @example
|
|
1335
1260
|
* ecs.g5.large
|
|
@@ -1337,9 +1262,9 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
1337
1262
|
instanceType?: string;
|
|
1338
1263
|
/**
|
|
1339
1264
|
* @remarks
|
|
1340
|
-
* The maximum
|
|
1265
|
+
* The maximum price for spot instances in the extended launch template.
|
|
1341
1266
|
*
|
|
1342
|
-
* > After
|
|
1267
|
+
* > After you set `LaunchTemplateConfig`, `LaunchTemplateConfig.N.MaxPrice` is required.
|
|
1343
1268
|
*
|
|
1344
1269
|
* @example
|
|
1345
1270
|
* 3
|
|
@@ -1347,7 +1272,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
1347
1272
|
maxPrice?: number;
|
|
1348
1273
|
/**
|
|
1349
1274
|
* @remarks
|
|
1350
|
-
* > This parameter is in invitational preview and is not
|
|
1275
|
+
* > This parameter is in invitational preview and is not available for use.
|
|
1351
1276
|
*
|
|
1352
1277
|
* @example
|
|
1353
1278
|
* false
|
|
@@ -1368,9 +1293,9 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
1368
1293
|
priority?: number;
|
|
1369
1294
|
/**
|
|
1370
1295
|
* @remarks
|
|
1371
|
-
* The ID of the
|
|
1296
|
+
* The ID of the vSwitch to which the ECS instance in the extended launch template is connected. The zone of the ECS instance created from the extended template is determined by the vSwitch.
|
|
1372
1297
|
*
|
|
1373
|
-
* >
|
|
1298
|
+
* > If you specify LaunchTemplateConfig, LaunchTemplateConfig.N.VSwitchId is required.
|
|
1374
1299
|
*
|
|
1375
1300
|
* @example
|
|
1376
1301
|
* vsw-sn5bsitu4lfzgc5o7****
|
|
@@ -1378,13 +1303,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
1378
1303
|
vSwitchId?: string;
|
|
1379
1304
|
/**
|
|
1380
1305
|
* @remarks
|
|
1381
|
-
* The weight of the instance type in the extended launch template. A higher value indicates
|
|
1382
|
-
*
|
|
1383
|
-
* You can calculate the weight based on the computing power of the specified instance type and the minimum computing power required per node in the cluster. For example, if the minimum computing power per node is 8 vCPUs and 60 GiB memory:
|
|
1306
|
+
* The weight of the instance type in the extended launch template. A higher value indicates that a single instance can meet more computing power requirements, which reduces the number of instances required. Valid values: greater than 0.
|
|
1384
1307
|
*
|
|
1385
|
-
*
|
|
1308
|
+
* You can calculate the weight based on the computing power of the specified instance type and the minimum computing power of a single node in the cluster. For example, if the minimum computing power of a single node is 8 vCPUs and 60 GiB:
|
|
1386
1309
|
*
|
|
1387
|
-
* -
|
|
1310
|
+
* - The weight of an instance type with 8 vCPUs and 60 GiB can be set to 1.
|
|
1311
|
+
* - The weight of an instance type with 16 vCPUs and 120 GiB can be set to 2.
|
|
1388
1312
|
*
|
|
1389
1313
|
* @example
|
|
1390
1314
|
* 2
|
|
@@ -1450,14 +1374,14 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
1450
1374
|
export class CreateAutoProvisioningGroupShrinkRequestPrePaidOptionsSpecifyCapacityDistribution extends $dara.Model {
|
|
1451
1375
|
/**
|
|
1452
1376
|
* @remarks
|
|
1453
|
-
* The set of instance types.
|
|
1377
|
+
* The set of instance types. Duplicate values are not allowed, and the instance types must be within the range of LaunchTemplateConfig.InstanceType.
|
|
1454
1378
|
*/
|
|
1455
1379
|
instanceTypes?: string[];
|
|
1456
1380
|
/**
|
|
1457
1381
|
* @remarks
|
|
1458
1382
|
* The minimum number of instances to deliver within the `InstanceTypes` range.
|
|
1459
1383
|
*
|
|
1460
|
-
* >
|
|
1384
|
+
* > The sum of all MinTargetCapacity values (`sum(MinTargetCapacity) <= TotalTargetCapacity`) cannot exceed TotalTargetCapacity. If any instance type set cannot meet the MinTargetCapacity requirement due to insufficient inventory or other reasons, the entire request fails.
|
|
1461
1385
|
*
|
|
1462
1386
|
* @example
|
|
1463
1387
|
* 5
|
|
@@ -1522,15 +1446,12 @@ export class CreateAutoProvisioningGroupShrinkRequestPrePaidOptions extends $dar
|
|
|
1522
1446
|
export class CreateAutoProvisioningGroupShrinkRequestSystemDiskConfig extends $dara.Model {
|
|
1523
1447
|
/**
|
|
1524
1448
|
* @remarks
|
|
1525
|
-
* The system disk
|
|
1526
|
-
*
|
|
1527
|
-
* - cloud_efficiency: Ultra disk.
|
|
1528
|
-
*
|
|
1529
|
-
* - cloud_ssd: Standard SSD.
|
|
1530
|
-
*
|
|
1531
|
-
* - cloud_essd: ESSD.
|
|
1449
|
+
* The category of the system disk. You can specify multiple candidate disk categories. The specified order determines the priority of each disk category. When a disk category is unavailable, the system automatically switches to the next category. Valid values:
|
|
1532
1450
|
*
|
|
1533
|
-
* -
|
|
1451
|
+
* - cloud_efficiency: ultra disk.
|
|
1452
|
+
* - cloud_ssd: standard SSD.
|
|
1453
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
1454
|
+
* - cloud: basic disk.
|
|
1534
1455
|
*
|
|
1535
1456
|
* @example
|
|
1536
1457
|
* cloud_ssd
|
|
@@ -1562,7 +1483,7 @@ export class CreateAutoProvisioningGroupShrinkRequestTag extends $dara.Model {
|
|
|
1562
1483
|
* @remarks
|
|
1563
1484
|
* The tag key of the auto provisioning group.
|
|
1564
1485
|
*
|
|
1565
|
-
*
|
|
1486
|
+
* Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with aliyun or acs:. The tag key cannot contain http:// or https://.
|
|
1566
1487
|
*
|
|
1567
1488
|
* @example
|
|
1568
1489
|
* TestKey
|
|
@@ -1572,7 +1493,7 @@ export class CreateAutoProvisioningGroupShrinkRequestTag extends $dara.Model {
|
|
|
1572
1493
|
* @remarks
|
|
1573
1494
|
* The tag value of the auto provisioning group.
|
|
1574
1495
|
*
|
|
1575
|
-
*
|
|
1496
|
+
* Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain http:// or https://.
|
|
1576
1497
|
*
|
|
1577
1498
|
* @example
|
|
1578
1499
|
* TestValue
|
|
@@ -1605,7 +1526,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1605
1526
|
launchConfiguration?: CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration;
|
|
1606
1527
|
/**
|
|
1607
1528
|
* @remarks
|
|
1608
|
-
* The name of the auto provisioning group. The name must be 2 to 128 characters in length and can contain
|
|
1529
|
+
* The name of the auto provisioning group. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), and hyphens (-).
|
|
1609
1530
|
*
|
|
1610
1531
|
* @example
|
|
1611
1532
|
* apg-test
|
|
@@ -1615,11 +1536,11 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1615
1536
|
* @remarks
|
|
1616
1537
|
* The delivery type of the auto provisioning group. Valid values:
|
|
1617
1538
|
*
|
|
1618
|
-
* - request:
|
|
1539
|
+
* - request: one-time asynchronous delivery. The group delivers an instance cluster asynchronously only at startup. If scheduling fails, no retry is performed.
|
|
1619
1540
|
*
|
|
1620
|
-
* - instant:
|
|
1541
|
+
* - instant: one-time synchronous delivery. The group synchronously creates instances only at startup and returns the list of successfully created instances and the causes of creation failures in the response.
|
|
1621
1542
|
*
|
|
1622
|
-
* - maintain:
|
|
1543
|
+
* - maintain: continuous delivery. The group attempts to deliver an instance cluster at startup and monitors real-time capacity. If the target capacity is not reached, the group continues to create ECS instances.
|
|
1623
1544
|
*
|
|
1624
1545
|
* Default value: maintain.
|
|
1625
1546
|
*
|
|
@@ -1630,7 +1551,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1630
1551
|
candidateOptions?: CreateAutoProvisioningGroupShrinkRequestCandidateOptions;
|
|
1631
1552
|
/**
|
|
1632
1553
|
* @remarks
|
|
1633
|
-
*
|
|
1554
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
1634
1555
|
*
|
|
1635
1556
|
* @example
|
|
1636
1557
|
* 0c593ea1-3bea-11e9-b96b-88e9fe637760
|
|
@@ -1638,16 +1559,15 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1638
1559
|
clientToken?: string;
|
|
1639
1560
|
/**
|
|
1640
1561
|
* @remarks
|
|
1641
|
-
* The list of data disk configurations
|
|
1562
|
+
* The list of data disk configurations.
|
|
1642
1563
|
*/
|
|
1643
1564
|
dataDiskConfig?: CreateAutoProvisioningGroupShrinkRequestDataDiskConfig[];
|
|
1644
1565
|
/**
|
|
1645
1566
|
* @remarks
|
|
1646
|
-
*
|
|
1567
|
+
* The billing method for the capacity difference when the sum of `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` is less than `TotalTargetCapacity`. Valid values:
|
|
1647
1568
|
*
|
|
1648
|
-
* - PayAsYouGo:
|
|
1649
|
-
*
|
|
1650
|
-
* - Spot: Spot instances.
|
|
1569
|
+
* - PayAsYouGo: pay-as-you-go instances.
|
|
1570
|
+
* - Spot: spot instances.
|
|
1651
1571
|
*
|
|
1652
1572
|
* Default value: Spot.
|
|
1653
1573
|
*
|
|
@@ -1665,11 +1585,10 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1665
1585
|
description?: string;
|
|
1666
1586
|
/**
|
|
1667
1587
|
* @remarks
|
|
1668
|
-
* Specifies whether to release instances when the real-time capacity of the auto provisioning group exceeds the target capacity and scale-in is triggered. Valid values:
|
|
1669
|
-
*
|
|
1670
|
-
* - termination: Releases scaled-in instances.
|
|
1588
|
+
* Specifies whether to release instances when the real-time capacity of the auto provisioning group exceeds the target capacity and a scale-in event is triggered. Valid values:
|
|
1671
1589
|
*
|
|
1672
|
-
* -
|
|
1590
|
+
* - termination: releases the scaled-in instances.
|
|
1591
|
+
* - no-termination: only removes the scaled-in instances from the auto provisioning group.
|
|
1673
1592
|
*
|
|
1674
1593
|
* Default value: no-termination.
|
|
1675
1594
|
*
|
|
@@ -1680,7 +1599,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1680
1599
|
executionMode?: string;
|
|
1681
1600
|
/**
|
|
1682
1601
|
* @remarks
|
|
1683
|
-
* > This parameter is in invitational preview and is not
|
|
1602
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
1684
1603
|
*
|
|
1685
1604
|
* @example
|
|
1686
1605
|
* false
|
|
@@ -1688,12 +1607,12 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1688
1607
|
hibernationOptionsConfigured?: boolean;
|
|
1689
1608
|
/**
|
|
1690
1609
|
* @remarks
|
|
1691
|
-
* The list of extended launch
|
|
1610
|
+
* The list of extended launch templates.
|
|
1692
1611
|
*/
|
|
1693
1612
|
launchTemplateConfig?: CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig[];
|
|
1694
1613
|
/**
|
|
1695
1614
|
* @remarks
|
|
1696
|
-
* The ID of the launch template associated with the auto provisioning group.
|
|
1615
|
+
* The ID of the instance launch template associated with the auto provisioning group. You can invoke [DescribeLaunchTemplates](https://help.aliyun.com/document_detail/73759.html) to query active instance launch templates. If you specify both a launch template and launch configuration information (`LaunchConfiguration.*`), the launch template takes precedence.
|
|
1697
1616
|
*
|
|
1698
1617
|
* @example
|
|
1699
1618
|
* lt-bp1fgzds4bdogu03****
|
|
@@ -1701,9 +1620,9 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1701
1620
|
launchTemplateId?: string;
|
|
1702
1621
|
/**
|
|
1703
1622
|
* @remarks
|
|
1704
|
-
* The version of the launch template associated with the auto provisioning group.
|
|
1623
|
+
* The version of the instance launch template associated with the auto provisioning group. You can invoke [DescribeLaunchTemplateVersions](https://help.aliyun.com/document_detail/73761.html) to query active instance launch template versions.
|
|
1705
1624
|
*
|
|
1706
|
-
* Default value:
|
|
1625
|
+
* Default value: the default version of the launch template.
|
|
1707
1626
|
*
|
|
1708
1627
|
* @example
|
|
1709
1628
|
* 1
|
|
@@ -1713,7 +1632,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1713
1632
|
* @remarks
|
|
1714
1633
|
* The maximum price for spot instances in the auto provisioning group.
|
|
1715
1634
|
*
|
|
1716
|
-
* > If both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are
|
|
1635
|
+
* > If both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the lower value is used.
|
|
1717
1636
|
*
|
|
1718
1637
|
* @example
|
|
1719
1638
|
* 2
|
|
@@ -1721,15 +1640,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1721
1640
|
maxSpotPrice?: number;
|
|
1722
1641
|
/**
|
|
1723
1642
|
* @remarks
|
|
1724
|
-
* The minimum target capacity of the auto provisioning group. Valid values
|
|
1725
|
-
*
|
|
1726
|
-
* Note:
|
|
1727
|
-
*
|
|
1728
|
-
* - This parameter takes effect only when creating an auto provisioning group with `AutoProvisioningGroupType=instant`.
|
|
1729
|
-
*
|
|
1730
|
-
* - If the instance inventory in the region is less than this value, the API call fails and no instances are created.
|
|
1731
|
-
*
|
|
1732
|
-
* - If the instance inventory in the region is greater than this value, instances are created based on other configured parameters.
|
|
1643
|
+
* The minimum target capacity of the auto provisioning group. Valid values
|
|
1733
1644
|
*
|
|
1734
1645
|
* @example
|
|
1735
1646
|
* 20
|
|
@@ -1739,11 +1650,11 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1739
1650
|
ownerId?: number;
|
|
1740
1651
|
/**
|
|
1741
1652
|
* @remarks
|
|
1742
|
-
* The
|
|
1653
|
+
* The policy for creating pay-as-you-go instances. Valid values:
|
|
1743
1654
|
*
|
|
1744
|
-
* - lowest-price:
|
|
1655
|
+
* - lowest-price: cost optimization policy. Selects the instance type with the lowest price.
|
|
1745
1656
|
*
|
|
1746
|
-
* - prioritized:
|
|
1657
|
+
* - prioritized: priority-based policy. Creates instances based on the priority specified by `LaunchTemplateConfig.N.Priority`.
|
|
1747
1658
|
*
|
|
1748
1659
|
* Default value: lowest-price.
|
|
1749
1660
|
*
|
|
@@ -1753,7 +1664,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1753
1664
|
payAsYouGoAllocationStrategy?: string;
|
|
1754
1665
|
/**
|
|
1755
1666
|
* @remarks
|
|
1756
|
-
* The target capacity
|
|
1667
|
+
* The target capacity of pay-as-you-go instances in the auto provisioning group. Valid values: less than or equal to the parameter value of `TotalTargetCapacity`.
|
|
1757
1668
|
*
|
|
1758
1669
|
* @example
|
|
1759
1670
|
* 30
|
|
@@ -1761,12 +1672,12 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1761
1672
|
payAsYouGoTargetCapacity?: string;
|
|
1762
1673
|
/**
|
|
1763
1674
|
* @remarks
|
|
1764
|
-
*
|
|
1675
|
+
* The detailed capacity configuration for subscription instances.
|
|
1765
1676
|
*/
|
|
1766
1677
|
prePaidOptions?: CreateAutoProvisioningGroupShrinkRequestPrePaidOptions;
|
|
1767
1678
|
/**
|
|
1768
1679
|
* @remarks
|
|
1769
|
-
* The
|
|
1680
|
+
* The ID of the region in which the auto provisioning group resides. You can invoke [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
1770
1681
|
*
|
|
1771
1682
|
* This parameter is required.
|
|
1772
1683
|
*
|
|
@@ -1776,7 +1687,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1776
1687
|
regionId?: string;
|
|
1777
1688
|
/**
|
|
1778
1689
|
* @remarks
|
|
1779
|
-
* The resource group
|
|
1690
|
+
* The ID of the resource group to which the auto provisioning group belongs.
|
|
1780
1691
|
*
|
|
1781
1692
|
* @example
|
|
1782
1693
|
* rg-bp67acfmxazb4p****
|
|
@@ -1786,22 +1697,20 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1786
1697
|
resourceOwnerId?: number;
|
|
1787
1698
|
/**
|
|
1788
1699
|
* @remarks
|
|
1789
|
-
* The resource pool
|
|
1790
|
-
*
|
|
1791
|
-
* - This parameter takes effect only when
|
|
1792
|
-
*
|
|
1793
|
-
* - This parameter takes effect only when creating an auto provisioning group with `AutoProvisioningGroupType=instant`.
|
|
1700
|
+
* The resource pool policy used to create instances. After you set this parameter, note the following items:
|
|
1701
|
+
* - This parameter takes effect only when you create pay-as-you-go instances.
|
|
1702
|
+
* - This parameter takes effect only when you create a one-time synchronization delivery auto provisioning group (`AutoProvisioningGroupType=instant`).
|
|
1794
1703
|
*/
|
|
1795
1704
|
resourcePoolOptionsShrink?: string;
|
|
1796
1705
|
/**
|
|
1797
1706
|
* @remarks
|
|
1798
|
-
* The
|
|
1707
|
+
* The policy for creating spot instances. Valid values:
|
|
1799
1708
|
*
|
|
1800
|
-
* - lowest-price:
|
|
1709
|
+
* - lowest-price: cost optimization policy. Selects the instance type with the lowest price.
|
|
1801
1710
|
*
|
|
1802
|
-
* - diversified:
|
|
1711
|
+
* - diversified: balanced zone distribution policy. Creates instances in the zones specified in the extended launch template and evenly distributes them across zones.
|
|
1803
1712
|
*
|
|
1804
|
-
* - capacity-optimized:
|
|
1713
|
+
* - capacity-optimized: capacity optimization distribution policy. Selects the optimal instance type and zone based on inventory availability.
|
|
1805
1714
|
*
|
|
1806
1715
|
* Default value: lowest-price.
|
|
1807
1716
|
*
|
|
@@ -1811,11 +1720,11 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1811
1720
|
spotAllocationStrategy?: string;
|
|
1812
1721
|
/**
|
|
1813
1722
|
* @remarks
|
|
1814
|
-
* The
|
|
1723
|
+
* The action to take when a spot instance is interrupted. Valid values:
|
|
1815
1724
|
*
|
|
1816
|
-
* - stop:
|
|
1725
|
+
* - stop: stops the instance.
|
|
1817
1726
|
*
|
|
1818
|
-
* - terminate:
|
|
1727
|
+
* - terminate: releases the instance.
|
|
1819
1728
|
*
|
|
1820
1729
|
* Default value: terminate.
|
|
1821
1730
|
*
|
|
@@ -1825,9 +1734,9 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1825
1734
|
spotInstanceInterruptionBehavior?: string;
|
|
1826
1735
|
/**
|
|
1827
1736
|
* @remarks
|
|
1828
|
-
* Takes effect
|
|
1737
|
+
* Takes effect when `SpotAllocationStrategy` is set to `lowest-price`. Specifies the number of instance types with the lowest prices from which the auto provisioning group creates instances.
|
|
1829
1738
|
*
|
|
1830
|
-
* Valid values:
|
|
1739
|
+
* Valid values: less than the value of N in `LaunchTemplateConfig.N`.
|
|
1831
1740
|
*
|
|
1832
1741
|
* @example
|
|
1833
1742
|
* 2
|
|
@@ -1835,7 +1744,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1835
1744
|
spotInstancePoolsToUseCount?: number;
|
|
1836
1745
|
/**
|
|
1837
1746
|
* @remarks
|
|
1838
|
-
* The target capacity
|
|
1747
|
+
* The target capacity of spot instances in the auto provisioning group. Valid values: less than or equal to the parameter value of `TotalTargetCapacity`.
|
|
1839
1748
|
*
|
|
1840
1749
|
* @example
|
|
1841
1750
|
* 20
|
|
@@ -1843,21 +1752,20 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1843
1752
|
spotTargetCapacity?: string;
|
|
1844
1753
|
/**
|
|
1845
1754
|
* @remarks
|
|
1846
|
-
* The list of system disk configurations
|
|
1755
|
+
* The list of system disk configurations.
|
|
1847
1756
|
*/
|
|
1848
1757
|
systemDiskConfig?: CreateAutoProvisioningGroupShrinkRequestSystemDiskConfig[];
|
|
1849
1758
|
/**
|
|
1850
1759
|
* @remarks
|
|
1851
|
-
* The
|
|
1760
|
+
* The tags to attach to the auto provisioning group.
|
|
1852
1761
|
*/
|
|
1853
1762
|
tag?: CreateAutoProvisioningGroupShrinkRequestTag[];
|
|
1854
1763
|
/**
|
|
1855
1764
|
* @remarks
|
|
1856
|
-
* Specifies whether to release instances
|
|
1765
|
+
* Specifies whether to release instances auto provisioning group when the auto-provisioning group is deleted. Valid values:
|
|
1857
1766
|
*
|
|
1858
|
-
* - true:
|
|
1859
|
-
*
|
|
1860
|
-
* - false: Retains instances in the group.
|
|
1767
|
+
* - true: releases instances auto provisioning group.
|
|
1768
|
+
* - false: retains instances auto provisioning group.
|
|
1861
1769
|
*
|
|
1862
1770
|
* Default value: false.
|
|
1863
1771
|
*
|
|
@@ -1867,11 +1775,10 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1867
1775
|
terminateInstances?: boolean;
|
|
1868
1776
|
/**
|
|
1869
1777
|
* @remarks
|
|
1870
|
-
* Specifies whether to release instances
|
|
1871
|
-
*
|
|
1872
|
-
* - true: Releases instances in the group.
|
|
1778
|
+
* Specifies whether to release instances auto provisioning group when the auto-provisioning group expires. Valid values:
|
|
1873
1779
|
*
|
|
1874
|
-
* -
|
|
1780
|
+
* - true: releases instances auto provisioning group.
|
|
1781
|
+
* - false: only removes instances from the auto-provisioning group.
|
|
1875
1782
|
*
|
|
1876
1783
|
* Default value: false.
|
|
1877
1784
|
*
|
|
@@ -1881,9 +1788,9 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1881
1788
|
terminateInstancesWithExpiration?: boolean;
|
|
1882
1789
|
/**
|
|
1883
1790
|
* @remarks
|
|
1884
|
-
* The total target capacity of the auto provisioning group. Valid values:
|
|
1791
|
+
* The total target capacity of the auto provisioning group. Valid values: positive integers.
|
|
1885
1792
|
*
|
|
1886
|
-
* The total capacity must be greater than or equal to the sum of `PayAsYouGoTargetCapacity` (target capacity
|
|
1793
|
+
* The total capacity must be greater than or equal to the sum of `PayAsYouGoTargetCapacity` (the target capacity of pay-as-you-go instances) and `SpotTargetCapacity` (the target capacity of spot instances).
|
|
1887
1794
|
*
|
|
1888
1795
|
* This parameter is required.
|
|
1889
1796
|
*
|
|
@@ -1893,11 +1800,11 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1893
1800
|
totalTargetCapacity?: string;
|
|
1894
1801
|
/**
|
|
1895
1802
|
* @remarks
|
|
1896
|
-
* The
|
|
1803
|
+
* The time when the auto provisioning group is started. Used together with `ValidUntil` to determine the valid period.
|
|
1897
1804
|
*
|
|
1898
|
-
* Specify the time in [ISO 8601](https://help.aliyun.com/document_detail/25696.html)
|
|
1805
|
+
* Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0.
|
|
1899
1806
|
*
|
|
1900
|
-
* Default value:
|
|
1807
|
+
* Default value: the UNIX timestamp at which the request takes effect immediately.
|
|
1901
1808
|
*
|
|
1902
1809
|
* @example
|
|
1903
1810
|
* 2019-04-01T15:10:20Z
|
|
@@ -1905,9 +1812,9 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
1905
1812
|
validFrom?: string;
|
|
1906
1813
|
/**
|
|
1907
1814
|
* @remarks
|
|
1908
|
-
* The
|
|
1815
|
+
* The time when the auto provisioning group expires. Used together with `ValidFrom` to determine the valid period.
|
|
1909
1816
|
*
|
|
1910
|
-
* Specify the time in [ISO 8601](https://help.aliyun.com/document_detail/25696.html)
|
|
1817
|
+
* Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0.
|
|
1911
1818
|
*
|
|
1912
1819
|
* Default value: 2099-12-31T23:59:59Z.
|
|
1913
1820
|
*
|