@alicloud/ecs20140526 4.4.4 → 4.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1752 -588
- package/dist/client.js +710 -731
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2333 -1122
package/src/client.ts
CHANGED
|
@@ -4605,6 +4605,14 @@ export class CreateAutoProvisioningGroupRequest extends $tea.Model {
|
|
|
4605
4605
|
resourceGroupId?: string;
|
|
4606
4606
|
resourceOwnerAccount?: string;
|
|
4607
4607
|
resourceOwnerId?: number;
|
|
4608
|
+
/**
|
|
4609
|
+
* @remarks
|
|
4610
|
+
* The resource pool options to use to create instances. When you specify this parameter, take note of the following items:
|
|
4611
|
+
*
|
|
4612
|
+
* * This parameter takes effect only when the auto provisioning group creates pay-as-you-go instances.
|
|
4613
|
+
* * This parameter takes effect only if you set `AutoProvisioningGroupType` to instant.
|
|
4614
|
+
*/
|
|
4615
|
+
resourcePoolOptions?: CreateAutoProvisioningGroupRequestResourcePoolOptions;
|
|
4608
4616
|
/**
|
|
4609
4617
|
* @remarks
|
|
4610
4618
|
* The policy for creating preemptible instances. Valid values:
|
|
@@ -4746,6 +4754,7 @@ export class CreateAutoProvisioningGroupRequest extends $tea.Model {
|
|
|
4746
4754
|
resourceGroupId: 'ResourceGroupId',
|
|
4747
4755
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4748
4756
|
resourceOwnerId: 'ResourceOwnerId',
|
|
4757
|
+
resourcePoolOptions: 'ResourcePoolOptions',
|
|
4749
4758
|
spotAllocationStrategy: 'SpotAllocationStrategy',
|
|
4750
4759
|
spotInstanceInterruptionBehavior: 'SpotInstanceInterruptionBehavior',
|
|
4751
4760
|
spotInstancePoolsToUseCount: 'SpotInstancePoolsToUseCount',
|
|
@@ -4784,6 +4793,7 @@ export class CreateAutoProvisioningGroupRequest extends $tea.Model {
|
|
|
4784
4793
|
resourceGroupId: 'string',
|
|
4785
4794
|
resourceOwnerAccount: 'string',
|
|
4786
4795
|
resourceOwnerId: 'number',
|
|
4796
|
+
resourcePoolOptions: CreateAutoProvisioningGroupRequestResourcePoolOptions,
|
|
4787
4797
|
spotAllocationStrategy: 'string',
|
|
4788
4798
|
spotInstanceInterruptionBehavior: 'string',
|
|
4789
4799
|
spotInstancePoolsToUseCount: 'number',
|
|
@@ -4803,6 +4813,381 @@ export class CreateAutoProvisioningGroupRequest extends $tea.Model {
|
|
|
4803
4813
|
}
|
|
4804
4814
|
}
|
|
4805
4815
|
|
|
4816
|
+
export class CreateAutoProvisioningGroupShrinkRequest extends $tea.Model {
|
|
4817
|
+
launchConfiguration?: CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration;
|
|
4818
|
+
/**
|
|
4819
|
+
* @remarks
|
|
4820
|
+
* The name of the auto provisioning group. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
4821
|
+
*
|
|
4822
|
+
* @example
|
|
4823
|
+
* apg-test
|
|
4824
|
+
*/
|
|
4825
|
+
autoProvisioningGroupName?: string;
|
|
4826
|
+
/**
|
|
4827
|
+
* @remarks
|
|
4828
|
+
* The delivery type of the auto provisioning group. Valid values:
|
|
4829
|
+
*
|
|
4830
|
+
* * request: one-time asynchronous delivery. When the auto provisioning group is started, it attempts to asynchronously deliver an instance cluster that meets the target capacity only once. The group does not retry the operation regardless of whether all the instances are delivered.
|
|
4831
|
+
* * instant: one-time synchronous delivery. When the auto provisioning group is started, it attempts to synchronously deliver an instance cluster that meets the target capacity only once. The list of delivered instances and the causes of delivery failures are returned in the response.
|
|
4832
|
+
* * maintain: continuous delivery. When the auto provisioning group is started, it attempts to deliver an instance cluster that meets the target capacity, and monitors the real-time capacity. If the target capacity of the auto provisioning group is not reached, the auto provisioning group continues to create instances until the target capacity is reached.
|
|
4833
|
+
*
|
|
4834
|
+
* Default value: maintain.
|
|
4835
|
+
*
|
|
4836
|
+
* @example
|
|
4837
|
+
* maintain
|
|
4838
|
+
*/
|
|
4839
|
+
autoProvisioningGroupType?: string;
|
|
4840
|
+
/**
|
|
4841
|
+
* @remarks
|
|
4842
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must 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).
|
|
4843
|
+
*
|
|
4844
|
+
* @example
|
|
4845
|
+
* 0c593ea1-3bea-11e9-b96b-88e9fe637760
|
|
4846
|
+
*/
|
|
4847
|
+
clientToken?: string;
|
|
4848
|
+
/**
|
|
4849
|
+
* @remarks
|
|
4850
|
+
* The information of data disks on the instance.
|
|
4851
|
+
*/
|
|
4852
|
+
dataDiskConfig?: CreateAutoProvisioningGroupShrinkRequestDataDiskConfig[];
|
|
4853
|
+
/**
|
|
4854
|
+
* @remarks
|
|
4855
|
+
* The type of supplemental instances. When the sum of the `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` values is smaller than the `TotalTargetCapacity` value, the auto provisioning group creates instances of the specified type to meet the total target capacity. Valid values:
|
|
4856
|
+
*
|
|
4857
|
+
* * PayAsYouGo: pay-as-you-go instances
|
|
4858
|
+
* * Spot: preemptible instances.
|
|
4859
|
+
*
|
|
4860
|
+
* Default value: Spot.
|
|
4861
|
+
*
|
|
4862
|
+
* @example
|
|
4863
|
+
* Spot
|
|
4864
|
+
*/
|
|
4865
|
+
defaultTargetCapacityType?: string;
|
|
4866
|
+
/**
|
|
4867
|
+
* @remarks
|
|
4868
|
+
* The description of the auto provisioning group.
|
|
4869
|
+
*
|
|
4870
|
+
* @example
|
|
4871
|
+
* testDescription
|
|
4872
|
+
*/
|
|
4873
|
+
description?: string;
|
|
4874
|
+
/**
|
|
4875
|
+
* @remarks
|
|
4876
|
+
* Specifies whether to release scaled-in instances when the real-time capacity of the auto provisioning group exceeds the target capacity and the group is triggered to scale in. Valid values:
|
|
4877
|
+
*
|
|
4878
|
+
* * termination: releases the scaled-in instances in the auto provisioning group.
|
|
4879
|
+
* * no-termination: removes the scaled-in instances from the auto provisioning group but does not release the instances.
|
|
4880
|
+
*
|
|
4881
|
+
* Default value: no-termination.
|
|
4882
|
+
*
|
|
4883
|
+
* @example
|
|
4884
|
+
* termination
|
|
4885
|
+
*/
|
|
4886
|
+
excessCapacityTerminationPolicy?: string;
|
|
4887
|
+
/**
|
|
4888
|
+
* @remarks
|
|
4889
|
+
* >This parameter is in invitational preview and is not publicly available.
|
|
4890
|
+
*
|
|
4891
|
+
* @example
|
|
4892
|
+
* false
|
|
4893
|
+
*/
|
|
4894
|
+
hibernationOptionsConfigured?: boolean;
|
|
4895
|
+
/**
|
|
4896
|
+
* @remarks
|
|
4897
|
+
* The extended configurations of the launch template.
|
|
4898
|
+
*/
|
|
4899
|
+
launchTemplateConfig?: CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig[];
|
|
4900
|
+
/**
|
|
4901
|
+
* @remarks
|
|
4902
|
+
* The ID of the launch template associated with the auto provisioning group. You can call the [DescribeLaunchTemplates](https://help.aliyun.com/document_detail/73759.html) operation to query available launch templates. When both LaunchTemplateId and `LaunchConfiguration.*` parameters are specified, LaunchTemplateId takes precedence.
|
|
4903
|
+
*
|
|
4904
|
+
* @example
|
|
4905
|
+
* lt-bp1fgzds4bdogu03****
|
|
4906
|
+
*/
|
|
4907
|
+
launchTemplateId?: string;
|
|
4908
|
+
/**
|
|
4909
|
+
* @remarks
|
|
4910
|
+
* The version of the launch template associated with the auto provisioning group. You can call the [DescribeLaunchTemplateVersions](https://help.aliyun.com/document_detail/73761.html) operation to query the versions of available launch templates.
|
|
4911
|
+
*
|
|
4912
|
+
* Default value: the default version of the launch template.
|
|
4913
|
+
*
|
|
4914
|
+
* @example
|
|
4915
|
+
* 1
|
|
4916
|
+
*/
|
|
4917
|
+
launchTemplateVersion?: string;
|
|
4918
|
+
/**
|
|
4919
|
+
* @remarks
|
|
4920
|
+
* The maximum price of preemptible instances in the auto provisioning group.
|
|
4921
|
+
*
|
|
4922
|
+
* > When both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the smaller one of the two parameter values is used.
|
|
4923
|
+
*
|
|
4924
|
+
* @example
|
|
4925
|
+
* 2
|
|
4926
|
+
*/
|
|
4927
|
+
maxSpotPrice?: number;
|
|
4928
|
+
/**
|
|
4929
|
+
* @remarks
|
|
4930
|
+
* The minimum target capacity of the auto provisioning group. The value must be a positive integer. When you specify this parameter, take note of the following items:
|
|
4931
|
+
*
|
|
4932
|
+
* - This parameter takes effect only when `AutoProvisioningGroupType` is set to instant.
|
|
4933
|
+
* - If the number of instances that can be created in the current region is smaller than the value of this parameter, the operation cannot be called and no instances are created.
|
|
4934
|
+
* - If the number of instances that can be created in the current region is greater than the value of this parameter, instances can be created based on the specified parameters.
|
|
4935
|
+
*
|
|
4936
|
+
* @example
|
|
4937
|
+
* 20
|
|
4938
|
+
*/
|
|
4939
|
+
minTargetCapacity?: string;
|
|
4940
|
+
ownerAccount?: string;
|
|
4941
|
+
ownerId?: number;
|
|
4942
|
+
/**
|
|
4943
|
+
* @remarks
|
|
4944
|
+
* The policy for creating pay-as-you-go instances. Valid values:
|
|
4945
|
+
*
|
|
4946
|
+
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
|
|
4947
|
+
* * prioritized: priority-based policy. The auto provisioning group creates instances based on the priority specified by `LaunchTemplateConfig.N.Priority`.
|
|
4948
|
+
*
|
|
4949
|
+
* Default value: lowest-price.
|
|
4950
|
+
*
|
|
4951
|
+
* @example
|
|
4952
|
+
* prioritized
|
|
4953
|
+
*/
|
|
4954
|
+
payAsYouGoAllocationStrategy?: string;
|
|
4955
|
+
/**
|
|
4956
|
+
* @remarks
|
|
4957
|
+
* The target capacity of pay-as-you-go instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
|
|
4958
|
+
*
|
|
4959
|
+
* @example
|
|
4960
|
+
* 30
|
|
4961
|
+
*/
|
|
4962
|
+
payAsYouGoTargetCapacity?: string;
|
|
4963
|
+
/**
|
|
4964
|
+
* @remarks
|
|
4965
|
+
* The ID of the region in which to create the auto provisioning group. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
4966
|
+
*
|
|
4967
|
+
* This parameter is required.
|
|
4968
|
+
*
|
|
4969
|
+
* @example
|
|
4970
|
+
* cn-hangzhou
|
|
4971
|
+
*/
|
|
4972
|
+
regionId?: string;
|
|
4973
|
+
/**
|
|
4974
|
+
* @remarks
|
|
4975
|
+
* The ID of the resource group to which to assign the auto provisioning group.
|
|
4976
|
+
*
|
|
4977
|
+
* @example
|
|
4978
|
+
* rg-bp67acfmxazb4p****
|
|
4979
|
+
*/
|
|
4980
|
+
resourceGroupId?: string;
|
|
4981
|
+
resourceOwnerAccount?: string;
|
|
4982
|
+
resourceOwnerId?: number;
|
|
4983
|
+
/**
|
|
4984
|
+
* @remarks
|
|
4985
|
+
* The resource pool options to use to create instances. When you specify this parameter, take note of the following items:
|
|
4986
|
+
*
|
|
4987
|
+
* * This parameter takes effect only when the auto provisioning group creates pay-as-you-go instances.
|
|
4988
|
+
* * This parameter takes effect only if you set `AutoProvisioningGroupType` to instant.
|
|
4989
|
+
*/
|
|
4990
|
+
resourcePoolOptionsShrink?: string;
|
|
4991
|
+
/**
|
|
4992
|
+
* @remarks
|
|
4993
|
+
* The policy for creating preemptible instances. Valid values:
|
|
4994
|
+
*
|
|
4995
|
+
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
|
|
4996
|
+
* * diversified: balanced distribution policy. The auto provisioning group creates instances in zones that are specified in extended configurations and then evenly distributes the instances across the zones.
|
|
4997
|
+
* * capacity-optimized: capacity-optimized distribution policy. The auto provisioning group creates instances of the optimal instance types across the optimal zones based on resource availability.
|
|
4998
|
+
*
|
|
4999
|
+
* Default value: lowest-price.
|
|
5000
|
+
*
|
|
5001
|
+
* @example
|
|
5002
|
+
* diversified
|
|
5003
|
+
*/
|
|
5004
|
+
spotAllocationStrategy?: string;
|
|
5005
|
+
/**
|
|
5006
|
+
* @remarks
|
|
5007
|
+
* The operation to be performed on the preemptible instance when it is interrupted. Valid values:
|
|
5008
|
+
*
|
|
5009
|
+
* * stop: stops the preemptible instance.
|
|
5010
|
+
* * terminate: releases the preemptible instance.
|
|
5011
|
+
*
|
|
5012
|
+
* Default value: terminate.
|
|
5013
|
+
*
|
|
5014
|
+
* @example
|
|
5015
|
+
* terminate
|
|
5016
|
+
*/
|
|
5017
|
+
spotInstanceInterruptionBehavior?: string;
|
|
5018
|
+
/**
|
|
5019
|
+
* @remarks
|
|
5020
|
+
* The number of preemptible instances of the lowest-priced instance type to be created by the auto provisioning group. This parameter takes effect when `SpotAllocationStrategy` is set to `lowest-price`.
|
|
5021
|
+
*
|
|
5022
|
+
* The value must be smaller than the N value specified in `LaunchTemplateConfig.N`.
|
|
5023
|
+
*
|
|
5024
|
+
* @example
|
|
5025
|
+
* 2
|
|
5026
|
+
*/
|
|
5027
|
+
spotInstancePoolsToUseCount?: number;
|
|
5028
|
+
/**
|
|
5029
|
+
* @remarks
|
|
5030
|
+
* The target capacity of preemptible instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
|
|
5031
|
+
*
|
|
5032
|
+
* @example
|
|
5033
|
+
* 20
|
|
5034
|
+
*/
|
|
5035
|
+
spotTargetCapacity?: string;
|
|
5036
|
+
/**
|
|
5037
|
+
* @remarks
|
|
5038
|
+
* The information of system disks on the instance.
|
|
5039
|
+
*/
|
|
5040
|
+
systemDiskConfig?: CreateAutoProvisioningGroupShrinkRequestSystemDiskConfig[];
|
|
5041
|
+
/**
|
|
5042
|
+
* @remarks
|
|
5043
|
+
* The tags to add to the auto provisioning group.
|
|
5044
|
+
*/
|
|
5045
|
+
tag?: CreateAutoProvisioningGroupShrinkRequestTag[];
|
|
5046
|
+
/**
|
|
5047
|
+
* @remarks
|
|
5048
|
+
* Specifies whether to release instances in the auto provisioning group when the auto provisioning group is deleted. Valid values:
|
|
5049
|
+
*
|
|
5050
|
+
* * true: releases the instances.
|
|
5051
|
+
* * false: retains the instances.
|
|
5052
|
+
*
|
|
5053
|
+
* Default value: false.
|
|
5054
|
+
*
|
|
5055
|
+
* @example
|
|
5056
|
+
* true
|
|
5057
|
+
*/
|
|
5058
|
+
terminateInstances?: boolean;
|
|
5059
|
+
/**
|
|
5060
|
+
* @remarks
|
|
5061
|
+
* Specifies whether to release instances in the auto provisioning group when the group expires. Valid values:
|
|
5062
|
+
*
|
|
5063
|
+
* * true: releases the instances.
|
|
5064
|
+
* * false: only removes the instances from the auto provisioning group but does not release them.
|
|
5065
|
+
*
|
|
5066
|
+
* Default value: false.
|
|
5067
|
+
*
|
|
5068
|
+
* @example
|
|
5069
|
+
* true
|
|
5070
|
+
*/
|
|
5071
|
+
terminateInstancesWithExpiration?: boolean;
|
|
5072
|
+
/**
|
|
5073
|
+
* @remarks
|
|
5074
|
+
* The total target capacity of the auto provisioning group. The value must be a positive integer.
|
|
5075
|
+
*
|
|
5076
|
+
* The total target capacity of the auto provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by `PayAsYouGoTargetCapacity` and the target capacity of preemptible instances specified by `SpotTargetCapacity`.
|
|
5077
|
+
*
|
|
5078
|
+
* This parameter is required.
|
|
5079
|
+
*
|
|
5080
|
+
* @example
|
|
5081
|
+
* 60
|
|
5082
|
+
*/
|
|
5083
|
+
totalTargetCapacity?: string;
|
|
5084
|
+
/**
|
|
5085
|
+
* @remarks
|
|
5086
|
+
* The time at which to start the auto provisioning group. The period of time between this point in time and the point in time specified by `ValidUntil` is the validity period of the auto provisioning group.
|
|
5087
|
+
*
|
|
5088
|
+
* 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.
|
|
5089
|
+
*
|
|
5090
|
+
* By default, an auto provisioning group is started immediately after it is created.
|
|
5091
|
+
*
|
|
5092
|
+
* @example
|
|
5093
|
+
* 2019-04-01T15:10:20Z
|
|
5094
|
+
*/
|
|
5095
|
+
validFrom?: string;
|
|
5096
|
+
/**
|
|
5097
|
+
* @remarks
|
|
5098
|
+
* The time at which the auto provisioning group expires. The period of time between this point in time and the point in time specified by `ValidFrom` is the validity period of the auto provisioning group.
|
|
5099
|
+
*
|
|
5100
|
+
* 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.
|
|
5101
|
+
*
|
|
5102
|
+
* Default value: 2099-12-31T23:59:59Z.
|
|
5103
|
+
*
|
|
5104
|
+
* @example
|
|
5105
|
+
* 2019-06-01T15:10:20Z
|
|
5106
|
+
*/
|
|
5107
|
+
validUntil?: string;
|
|
5108
|
+
static names(): { [key: string]: string } {
|
|
5109
|
+
return {
|
|
5110
|
+
launchConfiguration: 'LaunchConfiguration',
|
|
5111
|
+
autoProvisioningGroupName: 'AutoProvisioningGroupName',
|
|
5112
|
+
autoProvisioningGroupType: 'AutoProvisioningGroupType',
|
|
5113
|
+
clientToken: 'ClientToken',
|
|
5114
|
+
dataDiskConfig: 'DataDiskConfig',
|
|
5115
|
+
defaultTargetCapacityType: 'DefaultTargetCapacityType',
|
|
5116
|
+
description: 'Description',
|
|
5117
|
+
excessCapacityTerminationPolicy: 'ExcessCapacityTerminationPolicy',
|
|
5118
|
+
hibernationOptionsConfigured: 'HibernationOptionsConfigured',
|
|
5119
|
+
launchTemplateConfig: 'LaunchTemplateConfig',
|
|
5120
|
+
launchTemplateId: 'LaunchTemplateId',
|
|
5121
|
+
launchTemplateVersion: 'LaunchTemplateVersion',
|
|
5122
|
+
maxSpotPrice: 'MaxSpotPrice',
|
|
5123
|
+
minTargetCapacity: 'MinTargetCapacity',
|
|
5124
|
+
ownerAccount: 'OwnerAccount',
|
|
5125
|
+
ownerId: 'OwnerId',
|
|
5126
|
+
payAsYouGoAllocationStrategy: 'PayAsYouGoAllocationStrategy',
|
|
5127
|
+
payAsYouGoTargetCapacity: 'PayAsYouGoTargetCapacity',
|
|
5128
|
+
regionId: 'RegionId',
|
|
5129
|
+
resourceGroupId: 'ResourceGroupId',
|
|
5130
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
5131
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
5132
|
+
resourcePoolOptionsShrink: 'ResourcePoolOptions',
|
|
5133
|
+
spotAllocationStrategy: 'SpotAllocationStrategy',
|
|
5134
|
+
spotInstanceInterruptionBehavior: 'SpotInstanceInterruptionBehavior',
|
|
5135
|
+
spotInstancePoolsToUseCount: 'SpotInstancePoolsToUseCount',
|
|
5136
|
+
spotTargetCapacity: 'SpotTargetCapacity',
|
|
5137
|
+
systemDiskConfig: 'SystemDiskConfig',
|
|
5138
|
+
tag: 'Tag',
|
|
5139
|
+
terminateInstances: 'TerminateInstances',
|
|
5140
|
+
terminateInstancesWithExpiration: 'TerminateInstancesWithExpiration',
|
|
5141
|
+
totalTargetCapacity: 'TotalTargetCapacity',
|
|
5142
|
+
validFrom: 'ValidFrom',
|
|
5143
|
+
validUntil: 'ValidUntil',
|
|
5144
|
+
};
|
|
5145
|
+
}
|
|
5146
|
+
|
|
5147
|
+
static types(): { [key: string]: any } {
|
|
5148
|
+
return {
|
|
5149
|
+
launchConfiguration: CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration,
|
|
5150
|
+
autoProvisioningGroupName: 'string',
|
|
5151
|
+
autoProvisioningGroupType: 'string',
|
|
5152
|
+
clientToken: 'string',
|
|
5153
|
+
dataDiskConfig: { 'type': 'array', 'itemType': CreateAutoProvisioningGroupShrinkRequestDataDiskConfig },
|
|
5154
|
+
defaultTargetCapacityType: 'string',
|
|
5155
|
+
description: 'string',
|
|
5156
|
+
excessCapacityTerminationPolicy: 'string',
|
|
5157
|
+
hibernationOptionsConfigured: 'boolean',
|
|
5158
|
+
launchTemplateConfig: { 'type': 'array', 'itemType': CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig },
|
|
5159
|
+
launchTemplateId: 'string',
|
|
5160
|
+
launchTemplateVersion: 'string',
|
|
5161
|
+
maxSpotPrice: 'number',
|
|
5162
|
+
minTargetCapacity: 'string',
|
|
5163
|
+
ownerAccount: 'string',
|
|
5164
|
+
ownerId: 'number',
|
|
5165
|
+
payAsYouGoAllocationStrategy: 'string',
|
|
5166
|
+
payAsYouGoTargetCapacity: 'string',
|
|
5167
|
+
regionId: 'string',
|
|
5168
|
+
resourceGroupId: 'string',
|
|
5169
|
+
resourceOwnerAccount: 'string',
|
|
5170
|
+
resourceOwnerId: 'number',
|
|
5171
|
+
resourcePoolOptionsShrink: 'string',
|
|
5172
|
+
spotAllocationStrategy: 'string',
|
|
5173
|
+
spotInstanceInterruptionBehavior: 'string',
|
|
5174
|
+
spotInstancePoolsToUseCount: 'number',
|
|
5175
|
+
spotTargetCapacity: 'string',
|
|
5176
|
+
systemDiskConfig: { 'type': 'array', 'itemType': CreateAutoProvisioningGroupShrinkRequestSystemDiskConfig },
|
|
5177
|
+
tag: { 'type': 'array', 'itemType': CreateAutoProvisioningGroupShrinkRequestTag },
|
|
5178
|
+
terminateInstances: 'boolean',
|
|
5179
|
+
terminateInstancesWithExpiration: 'boolean',
|
|
5180
|
+
totalTargetCapacity: 'string',
|
|
5181
|
+
validFrom: 'string',
|
|
5182
|
+
validUntil: 'string',
|
|
5183
|
+
};
|
|
5184
|
+
}
|
|
5185
|
+
|
|
5186
|
+
constructor(map?: { [key: string]: any }) {
|
|
5187
|
+
super(map);
|
|
5188
|
+
}
|
|
5189
|
+
}
|
|
5190
|
+
|
|
4806
5191
|
export class CreateAutoProvisioningGroupResponseBody extends $tea.Model {
|
|
4807
5192
|
/**
|
|
4808
5193
|
* @remarks
|
|
@@ -5410,6 +5795,7 @@ export class CreateCommandRequest extends $tea.Model {
|
|
|
5410
5795
|
* false
|
|
5411
5796
|
*/
|
|
5412
5797
|
enableParameter?: boolean;
|
|
5798
|
+
launcher?: string;
|
|
5413
5799
|
/**
|
|
5414
5800
|
* @remarks
|
|
5415
5801
|
* The name of the command. The name supports all character sets and can be up to 128 characters in length.
|
|
@@ -5492,6 +5878,7 @@ export class CreateCommandRequest extends $tea.Model {
|
|
|
5492
5878
|
contentEncoding: 'ContentEncoding',
|
|
5493
5879
|
description: 'Description',
|
|
5494
5880
|
enableParameter: 'EnableParameter',
|
|
5881
|
+
launcher: 'Launcher',
|
|
5495
5882
|
name: 'Name',
|
|
5496
5883
|
ownerAccount: 'OwnerAccount',
|
|
5497
5884
|
ownerId: 'OwnerId',
|
|
@@ -5512,6 +5899,7 @@ export class CreateCommandRequest extends $tea.Model {
|
|
|
5512
5899
|
contentEncoding: 'string',
|
|
5513
5900
|
description: 'string',
|
|
5514
5901
|
enableParameter: 'boolean',
|
|
5902
|
+
launcher: 'string',
|
|
5515
5903
|
name: 'string',
|
|
5516
5904
|
ownerAccount: 'string',
|
|
5517
5905
|
ownerId: 'number',
|
|
@@ -7819,6 +8207,13 @@ export class CreateImageComponentRequest extends $tea.Model {
|
|
|
7819
8207
|
* Build
|
|
7820
8208
|
*/
|
|
7821
8209
|
componentType?: string;
|
|
8210
|
+
/**
|
|
8211
|
+
* @remarks
|
|
8212
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
8213
|
+
*
|
|
8214
|
+
* @example
|
|
8215
|
+
* null
|
|
8216
|
+
*/
|
|
7822
8217
|
componentVersion?: string;
|
|
7823
8218
|
/**
|
|
7824
8219
|
* @remarks
|
|
@@ -7838,9 +8233,9 @@ export class CreateImageComponentRequest extends $tea.Model {
|
|
|
7838
8233
|
description?: string;
|
|
7839
8234
|
/**
|
|
7840
8235
|
* @remarks
|
|
7841
|
-
* The component
|
|
8236
|
+
* The name of the image component. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
7842
8237
|
*
|
|
7843
|
-
* >
|
|
8238
|
+
* > If you do not specify `Name`, the return value of `ImageComponentId` is used.
|
|
7844
8239
|
*
|
|
7845
8240
|
* @example
|
|
7846
8241
|
* testComponent
|
|
@@ -7870,7 +8265,7 @@ export class CreateImageComponentRequest extends $tea.Model {
|
|
|
7870
8265
|
resourceOwnerId?: number;
|
|
7871
8266
|
/**
|
|
7872
8267
|
* @remarks
|
|
7873
|
-
* The operating system
|
|
8268
|
+
* The type of the operating system supported by the image component. Only Linux operating systems are supported. Set the value to Linux.
|
|
7874
8269
|
*
|
|
7875
8270
|
* Default value: Linux.
|
|
7876
8271
|
*
|
|
@@ -8061,10 +8456,17 @@ export class CreateImagePipelineRequest extends $tea.Model {
|
|
|
8061
8456
|
* This is description.
|
|
8062
8457
|
*/
|
|
8063
8458
|
description?: string;
|
|
8459
|
+
/**
|
|
8460
|
+
* @remarks
|
|
8461
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
8462
|
+
*
|
|
8463
|
+
* @example
|
|
8464
|
+
* null
|
|
8465
|
+
*/
|
|
8064
8466
|
imageFamily?: string;
|
|
8065
8467
|
/**
|
|
8066
8468
|
* @remarks
|
|
8067
|
-
* The prefix of the image name. The prefix must be 2 to 64 characters in length.
|
|
8469
|
+
* The prefix of the image name. The prefix must be 2 to 64 characters in length. The prefix must start with a letter and cannot start with `http://` or `https://`. The prefix can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
8068
8470
|
*
|
|
8069
8471
|
* The system generates the final complete image name that consists of the specified prefix and the ID of the build task (`ExecutionId`) in the format of `{ImageName}_{ExecutionId}`.
|
|
8070
8472
|
*
|
|
@@ -8094,9 +8496,9 @@ export class CreateImagePipelineRequest extends $tea.Model {
|
|
|
8094
8496
|
internetMaxBandwidthOut?: number;
|
|
8095
8497
|
/**
|
|
8096
8498
|
* @remarks
|
|
8097
|
-
* The name of the
|
|
8499
|
+
* The name of the launch template. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
8098
8500
|
*
|
|
8099
|
-
* >
|
|
8501
|
+
* > If you do not specify `Name`, the return value of `ImagePipelineId` is used.
|
|
8100
8502
|
*
|
|
8101
8503
|
* @example
|
|
8102
8504
|
* testImagePipeline
|
|
@@ -8114,6 +8516,13 @@ export class CreateImagePipelineRequest extends $tea.Model {
|
|
|
8114
8516
|
* cn-hangzhou
|
|
8115
8517
|
*/
|
|
8116
8518
|
regionId?: string;
|
|
8519
|
+
/**
|
|
8520
|
+
* @remarks
|
|
8521
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
8522
|
+
*
|
|
8523
|
+
* @example
|
|
8524
|
+
* null
|
|
8525
|
+
*/
|
|
8117
8526
|
repairMode?: string;
|
|
8118
8527
|
/**
|
|
8119
8528
|
* @remarks
|
|
@@ -8140,6 +8549,13 @@ export class CreateImagePipelineRequest extends $tea.Model {
|
|
|
8140
8549
|
* The tags to add to the template.
|
|
8141
8550
|
*/
|
|
8142
8551
|
tag?: CreateImagePipelineRequestTag[];
|
|
8552
|
+
/**
|
|
8553
|
+
* @remarks
|
|
8554
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
8555
|
+
*
|
|
8556
|
+
* @example
|
|
8557
|
+
* null
|
|
8558
|
+
*/
|
|
8143
8559
|
testContent?: string;
|
|
8144
8560
|
/**
|
|
8145
8561
|
* @remarks
|
|
@@ -9327,8 +9743,20 @@ export class CreateLaunchTemplateRequest extends $tea.Model {
|
|
|
9327
9743
|
* testHostName
|
|
9328
9744
|
*/
|
|
9329
9745
|
hostName?: string;
|
|
9746
|
+
/**
|
|
9747
|
+
* @example
|
|
9748
|
+
* enabled
|
|
9749
|
+
*/
|
|
9330
9750
|
httpEndpoint?: string;
|
|
9751
|
+
/**
|
|
9752
|
+
* @example
|
|
9753
|
+
* 3
|
|
9754
|
+
*/
|
|
9331
9755
|
httpPutResponseHopLimit?: number;
|
|
9756
|
+
/**
|
|
9757
|
+
* @example
|
|
9758
|
+
* optional
|
|
9759
|
+
*/
|
|
9332
9760
|
httpTokens?: string;
|
|
9333
9761
|
/**
|
|
9334
9762
|
* @remarks
|
|
@@ -9964,8 +10392,20 @@ export class CreateLaunchTemplateVersionRequest extends $tea.Model {
|
|
|
9964
10392
|
* testHostName
|
|
9965
10393
|
*/
|
|
9966
10394
|
hostName?: string;
|
|
10395
|
+
/**
|
|
10396
|
+
* @example
|
|
10397
|
+
* enabled
|
|
10398
|
+
*/
|
|
9967
10399
|
httpEndpoint?: string;
|
|
10400
|
+
/**
|
|
10401
|
+
* @example
|
|
10402
|
+
* 3
|
|
10403
|
+
*/
|
|
9968
10404
|
httpPutResponseHopLimit?: number;
|
|
10405
|
+
/**
|
|
10406
|
+
* @example
|
|
10407
|
+
* optional
|
|
10408
|
+
*/
|
|
9969
10409
|
httpTokens?: string;
|
|
9970
10410
|
/**
|
|
9971
10411
|
* @remarks
|
|
@@ -12326,10 +12766,10 @@ export class CreateSnapshotRequest extends $tea.Model {
|
|
|
12326
12766
|
* @remarks
|
|
12327
12767
|
* The category of the snapshot. Valid values:
|
|
12328
12768
|
*
|
|
12329
|
-
* * Standard:
|
|
12769
|
+
* * Standard: standard snapshot
|
|
12330
12770
|
* * Flash: local snapshot
|
|
12331
12771
|
*
|
|
12332
|
-
* > This parameter is no longer used. By default, new
|
|
12772
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
12333
12773
|
*
|
|
12334
12774
|
* @example
|
|
12335
12775
|
* Standard
|
|
@@ -12368,11 +12808,11 @@ export class CreateSnapshotRequest extends $tea.Model {
|
|
|
12368
12808
|
* Specifies whether to enable the instant access feature. Valid values:
|
|
12369
12809
|
*
|
|
12370
12810
|
* * true: enables the instant access feature. This feature can be enabled only for ESSDs.
|
|
12371
|
-
* * false: does not enable the instant access feature. If InstantAccess is set to false, a
|
|
12811
|
+
* * false: does not enable the instant access feature. If InstantAccess is set to false, a standard snapshot is created.
|
|
12372
12812
|
*
|
|
12373
12813
|
* Default value: false.
|
|
12374
12814
|
*
|
|
12375
|
-
* > This parameter is no longer used. By default, new
|
|
12815
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
12376
12816
|
*
|
|
12377
12817
|
* @example
|
|
12378
12818
|
* false
|
|
@@ -12384,7 +12824,7 @@ export class CreateSnapshotRequest extends $tea.Model {
|
|
|
12384
12824
|
*
|
|
12385
12825
|
* By default, the value of this parameter is the same as that of `RetentionDays`.
|
|
12386
12826
|
*
|
|
12387
|
-
* > This parameter is no longer used. By default, new
|
|
12827
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
12388
12828
|
*
|
|
12389
12829
|
* @example
|
|
12390
12830
|
* 1
|
|
@@ -12396,7 +12836,7 @@ export class CreateSnapshotRequest extends $tea.Model {
|
|
|
12396
12836
|
* @remarks
|
|
12397
12837
|
* The snapshot type. Valid values:
|
|
12398
12838
|
*
|
|
12399
|
-
* * Standard:
|
|
12839
|
+
* * Standard: standard snapshot
|
|
12400
12840
|
* * Flash: local snapshot
|
|
12401
12841
|
*
|
|
12402
12842
|
* > This parameter will be removed in the future. We recommend that you use the `InstantAccess` parameter to ensure future compatibility. This parameter and the `InstantAccess` parameter cannot be specified at the same time. For more information, see the "Description" section of this topic.
|
|
@@ -12419,9 +12859,9 @@ export class CreateSnapshotRequest extends $tea.Model {
|
|
|
12419
12859
|
retentionDays?: number;
|
|
12420
12860
|
/**
|
|
12421
12861
|
* @remarks
|
|
12422
|
-
* The name of the snapshot. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with
|
|
12862
|
+
* The name of the snapshot. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
12423
12863
|
*
|
|
12424
|
-
*
|
|
12864
|
+
* The name cannot start with `auto` because snapshots whose names start with auto are recognized as automatic snapshots.
|
|
12425
12865
|
*
|
|
12426
12866
|
* @example
|
|
12427
12867
|
* testSnapshotName
|
|
@@ -12602,7 +13042,7 @@ export class CreateSnapshotGroupRequest extends $tea.Model {
|
|
|
12602
13042
|
*
|
|
12603
13043
|
* Default value: false.
|
|
12604
13044
|
*
|
|
12605
|
-
* > This parameter is no longer used. By default, new
|
|
13045
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
12606
13046
|
*
|
|
12607
13047
|
* @example
|
|
12608
13048
|
* false
|
|
@@ -12614,9 +13054,9 @@ export class CreateSnapshotGroupRequest extends $tea.Model {
|
|
|
12614
13054
|
*
|
|
12615
13055
|
* This parameter takes effect only when `InstantAccess` is set to true. The instant access feature is automatically disabled when the specified duration ends.
|
|
12616
13056
|
*
|
|
12617
|
-
* This parameter is left empty by default, which indicates that the instant access feature is automatically disabled
|
|
13057
|
+
* This parameter is left empty by default, which indicates that the instant access feature is automatically disabled when the instant access snapshots are released.
|
|
12618
13058
|
*
|
|
12619
|
-
* > This parameter is no longer used. By default, new
|
|
13059
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
12620
13060
|
*
|
|
12621
13061
|
* @example
|
|
12622
13062
|
* 1
|
|
@@ -16516,9 +16956,9 @@ export class DeleteSecurityGroupResponse extends $tea.Model {
|
|
|
16516
16956
|
export class DeleteSnapshotRequest extends $tea.Model {
|
|
16517
16957
|
/**
|
|
16518
16958
|
* @remarks
|
|
16519
|
-
* Specifies whether to force delete the snapshot that has been used to create disks. Valid values:
|
|
16959
|
+
* Specifies whether to force delete the snapshot that has been used to create cloud disks. Valid values:
|
|
16520
16960
|
*
|
|
16521
|
-
* * true: force deletes the snapshot. After the snapshot is force deleted, the disks created from the snapshot cannot be re-initialized.
|
|
16961
|
+
* * true: force deletes the snapshot. After the snapshot is force deleted, the cloud disks created from the snapshot cannot be re-initialized.
|
|
16522
16962
|
* * false: does not force delete the snapshot.
|
|
16523
16963
|
*
|
|
16524
16964
|
* Default value: false.
|
|
@@ -22511,7 +22951,7 @@ export class DescribeDiskDefaultKMSKeyIdResponse extends $tea.Model {
|
|
|
22511
22951
|
export class DescribeDiskEncryptionByDefaultStatusRequest extends $tea.Model {
|
|
22512
22952
|
/**
|
|
22513
22953
|
* @remarks
|
|
22514
|
-
* The ID
|
|
22954
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
22515
22955
|
*
|
|
22516
22956
|
* This parameter is required.
|
|
22517
22957
|
*
|
|
@@ -24688,7 +25128,21 @@ export class DescribeHpcClustersResponse extends $tea.Model {
|
|
|
24688
25128
|
}
|
|
24689
25129
|
|
|
24690
25130
|
export class DescribeImageComponentsRequest extends $tea.Model {
|
|
25131
|
+
/**
|
|
25132
|
+
* @remarks
|
|
25133
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
25134
|
+
*
|
|
25135
|
+
* @example
|
|
25136
|
+
* null
|
|
25137
|
+
*/
|
|
24691
25138
|
componentType?: string;
|
|
25139
|
+
/**
|
|
25140
|
+
* @remarks
|
|
25141
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
25142
|
+
*
|
|
25143
|
+
* @example
|
|
25144
|
+
* null
|
|
25145
|
+
*/
|
|
24692
25146
|
componentVersion?: string;
|
|
24693
25147
|
/**
|
|
24694
25148
|
* @remarks
|
|
@@ -24759,6 +25213,13 @@ export class DescribeImageComponentsRequest extends $tea.Model {
|
|
|
24759
25213
|
resourceGroupId?: string;
|
|
24760
25214
|
resourceOwnerAccount?: string;
|
|
24761
25215
|
resourceOwnerId?: number;
|
|
25216
|
+
/**
|
|
25217
|
+
* @remarks
|
|
25218
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
25219
|
+
*
|
|
25220
|
+
* @example
|
|
25221
|
+
* null
|
|
25222
|
+
*/
|
|
24762
25223
|
systemType?: string;
|
|
24763
25224
|
/**
|
|
24764
25225
|
* @remarks
|
|
@@ -24813,7 +25274,7 @@ export class DescribeImageComponentsRequest extends $tea.Model {
|
|
|
24813
25274
|
export class DescribeImageComponentsResponseBody extends $tea.Model {
|
|
24814
25275
|
/**
|
|
24815
25276
|
* @remarks
|
|
24816
|
-
*
|
|
25277
|
+
* The information about the image components.
|
|
24817
25278
|
*/
|
|
24818
25279
|
imageComponent?: DescribeImageComponentsResponseBodyImageComponent;
|
|
24819
25280
|
/**
|
|
@@ -25216,7 +25677,7 @@ export class DescribeImagePipelinesRequest extends $tea.Model {
|
|
|
25216
25677
|
imagePipelineId?: string[];
|
|
25217
25678
|
/**
|
|
25218
25679
|
* @remarks
|
|
25219
|
-
* The number of entries per page. Valid values: 1 to 500
|
|
25680
|
+
* The number of entries per page. Valid values: 1 to 500
|
|
25220
25681
|
*
|
|
25221
25682
|
* Default value: 50.
|
|
25222
25683
|
*
|
|
@@ -25309,7 +25770,7 @@ export class DescribeImagePipelinesRequest extends $tea.Model {
|
|
|
25309
25770
|
export class DescribeImagePipelinesResponseBody extends $tea.Model {
|
|
25310
25771
|
/**
|
|
25311
25772
|
* @remarks
|
|
25312
|
-
*
|
|
25773
|
+
* The information about the image templates.
|
|
25313
25774
|
*/
|
|
25314
25775
|
imagePipeline?: DescribeImagePipelinesResponseBodyImagePipeline;
|
|
25315
25776
|
/**
|
|
@@ -30715,7 +31176,7 @@ export class DescribeLaunchTemplateVersionsRequest extends $tea.Model {
|
|
|
30715
31176
|
* @remarks
|
|
30716
31177
|
* The ID of the launch template.
|
|
30717
31178
|
*
|
|
30718
|
-
* You must set LaunchTemplateId or LaunchTemplateName to specify a launch template.
|
|
31179
|
+
* You must set `LaunchTemplateId` or `LaunchTemplateName` to specify a launch template.
|
|
30719
31180
|
*
|
|
30720
31181
|
* @example
|
|
30721
31182
|
* lt-bp168lnahrdwl39p****
|
|
@@ -30725,13 +31186,15 @@ export class DescribeLaunchTemplateVersionsRequest extends $tea.Model {
|
|
|
30725
31186
|
* @remarks
|
|
30726
31187
|
* The name of the launch template.
|
|
30727
31188
|
*
|
|
31189
|
+
* You must set `LaunchTemplateId` or `LaunchTemplateName` to specify a launch template.
|
|
31190
|
+
*
|
|
30728
31191
|
* @example
|
|
30729
31192
|
* testLaunchTemplateName
|
|
30730
31193
|
*/
|
|
30731
31194
|
launchTemplateName?: string;
|
|
30732
31195
|
/**
|
|
30733
31196
|
* @remarks
|
|
30734
|
-
*
|
|
31197
|
+
* The versions of the launch template.
|
|
30735
31198
|
*
|
|
30736
31199
|
* @example
|
|
30737
31200
|
* 1
|
|
@@ -30739,7 +31202,7 @@ export class DescribeLaunchTemplateVersionsRequest extends $tea.Model {
|
|
|
30739
31202
|
launchTemplateVersion?: number[];
|
|
30740
31203
|
/**
|
|
30741
31204
|
* @remarks
|
|
30742
|
-
* The maximum version number in the version range to query.
|
|
31205
|
+
* The maximum version number in the version range to query. This parameter is used together with `MinVersion` to specify a version range to query.
|
|
30743
31206
|
*
|
|
30744
31207
|
* @example
|
|
30745
31208
|
* 10
|
|
@@ -30747,7 +31210,7 @@ export class DescribeLaunchTemplateVersionsRequest extends $tea.Model {
|
|
|
30747
31210
|
maxVersion?: number;
|
|
30748
31211
|
/**
|
|
30749
31212
|
* @remarks
|
|
30750
|
-
* The minimum version number in the version range to query.
|
|
31213
|
+
* The minimum version number in the version range to query. This parameter is used together with `MaxVersion` to specify a version range to query.
|
|
30751
31214
|
*
|
|
30752
31215
|
* @example
|
|
30753
31216
|
* 1
|
|
@@ -31858,6 +32321,13 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
|
|
|
31858
32321
|
* > This parameter is in invitational preview and unavailable for general users.
|
|
31859
32322
|
*/
|
|
31860
32323
|
slaveInterfaceSpecification?: DescribeNetworkInterfaceAttributeResponseBodySlaveInterfaceSpecification;
|
|
32324
|
+
/**
|
|
32325
|
+
* @remarks
|
|
32326
|
+
* This parameter is not publicly available.
|
|
32327
|
+
*
|
|
32328
|
+
* @example
|
|
32329
|
+
* false
|
|
32330
|
+
*/
|
|
31861
32331
|
sourceDestCheck?: boolean;
|
|
31862
32332
|
/**
|
|
31863
32333
|
* @remarks
|
|
@@ -32472,7 +32942,7 @@ export class DescribeNetworkInterfacesRequest extends $tea.Model {
|
|
|
32472
32942
|
export class DescribeNetworkInterfacesResponseBody extends $tea.Model {
|
|
32473
32943
|
/**
|
|
32474
32944
|
* @remarks
|
|
32475
|
-
* Details
|
|
32945
|
+
* Details of the ENIs.
|
|
32476
32946
|
*/
|
|
32477
32947
|
networkInterfaceSets?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSets;
|
|
32478
32948
|
/**
|
|
@@ -36594,7 +37064,7 @@ export class DescribeSnapshotGroupsResponseBody extends $tea.Model {
|
|
|
36594
37064
|
requestId?: string;
|
|
36595
37065
|
/**
|
|
36596
37066
|
* @remarks
|
|
36597
|
-
*
|
|
37067
|
+
* The information about the snapshot-consistent groups.
|
|
36598
37068
|
*/
|
|
36599
37069
|
snapshotGroups?: DescribeSnapshotGroupsResponseBodySnapshotGroups;
|
|
36600
37070
|
static names(): { [key: string]: string } {
|
|
@@ -36830,7 +37300,7 @@ export class DescribeSnapshotMonitorDataRequest extends $tea.Model {
|
|
|
36830
37300
|
* @remarks
|
|
36831
37301
|
* The category of the snapshot. Valid values:
|
|
36832
37302
|
*
|
|
36833
|
-
* * Standard:
|
|
37303
|
+
* * Standard: standard snapshot
|
|
36834
37304
|
* * Flash: local snapshot
|
|
36835
37305
|
*
|
|
36836
37306
|
* Default value: Standard.
|
|
@@ -37132,7 +37602,7 @@ export class DescribeSnapshotsRequest extends $tea.Model {
|
|
|
37132
37602
|
* @remarks
|
|
37133
37603
|
* The category of the snapshot. Valid values:
|
|
37134
37604
|
*
|
|
37135
|
-
* * Standard:
|
|
37605
|
+
* * Standard: standard snapshot
|
|
37136
37606
|
* * Flash: local snapshot
|
|
37137
37607
|
*
|
|
37138
37608
|
* The local snapshot feature is replaced by the instant access feature. When you specify this parameter, take note of the following items:
|
|
@@ -37431,7 +37901,7 @@ export class DescribeSnapshotsResponseBody extends $tea.Model {
|
|
|
37431
37901
|
requestId?: string;
|
|
37432
37902
|
/**
|
|
37433
37903
|
* @remarks
|
|
37434
|
-
*
|
|
37904
|
+
* Details about the snapshots.
|
|
37435
37905
|
*/
|
|
37436
37906
|
snapshots?: DescribeSnapshotsResponseBodySnapshots;
|
|
37437
37907
|
/**
|
|
@@ -41212,7 +41682,7 @@ export class DisableActivationResponse extends $tea.Model {
|
|
|
41212
41682
|
export class DisableDiskEncryptionByDefaultRequest extends $tea.Model {
|
|
41213
41683
|
/**
|
|
41214
41684
|
* @remarks
|
|
41215
|
-
* The region
|
|
41685
|
+
* The ID of the region for which you want to disable Account-level EBS Default Encryption. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
41216
41686
|
*
|
|
41217
41687
|
* This parameter is required.
|
|
41218
41688
|
*
|
|
@@ -41243,7 +41713,7 @@ export class DisableDiskEncryptionByDefaultRequest extends $tea.Model {
|
|
|
41243
41713
|
export class DisableDiskEncryptionByDefaultResponseBody extends $tea.Model {
|
|
41244
41714
|
/**
|
|
41245
41715
|
* @remarks
|
|
41246
|
-
* The request ID
|
|
41716
|
+
* The request ID.
|
|
41247
41717
|
*
|
|
41248
41718
|
* @example
|
|
41249
41719
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -41291,303 +41761,12 @@ export class DisableDiskEncryptionByDefaultResponse extends $tea.Model {
|
|
|
41291
41761
|
}
|
|
41292
41762
|
}
|
|
41293
41763
|
|
|
41294
|
-
export class EipFillParamsRequest extends $tea.Model {
|
|
41295
|
-
clientToken?: string;
|
|
41296
|
-
ownerAccount?: string;
|
|
41297
|
-
ownerId?: number;
|
|
41298
|
-
resourceOwnerAccount?: string;
|
|
41299
|
-
resourceOwnerId?: number;
|
|
41300
|
-
userCidr?: string;
|
|
41301
|
-
/**
|
|
41302
|
-
* @remarks
|
|
41303
|
-
* This parameter is required.
|
|
41304
|
-
*/
|
|
41305
|
-
data?: string;
|
|
41306
|
-
static names(): { [key: string]: string } {
|
|
41307
|
-
return {
|
|
41308
|
-
clientToken: 'ClientToken',
|
|
41309
|
-
ownerAccount: 'OwnerAccount',
|
|
41310
|
-
ownerId: 'OwnerId',
|
|
41311
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
41312
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
41313
|
-
userCidr: 'UserCidr',
|
|
41314
|
-
data: 'data',
|
|
41315
|
-
};
|
|
41316
|
-
}
|
|
41317
|
-
|
|
41318
|
-
static types(): { [key: string]: any } {
|
|
41319
|
-
return {
|
|
41320
|
-
clientToken: 'string',
|
|
41321
|
-
ownerAccount: 'string',
|
|
41322
|
-
ownerId: 'number',
|
|
41323
|
-
resourceOwnerAccount: 'string',
|
|
41324
|
-
resourceOwnerId: 'number',
|
|
41325
|
-
userCidr: 'string',
|
|
41326
|
-
data: 'string',
|
|
41327
|
-
};
|
|
41328
|
-
}
|
|
41329
|
-
|
|
41330
|
-
constructor(map?: { [key: string]: any }) {
|
|
41331
|
-
super(map);
|
|
41332
|
-
}
|
|
41333
|
-
}
|
|
41334
|
-
|
|
41335
|
-
export class EipFillParamsResponseBody extends $tea.Model {
|
|
41336
|
-
code?: string;
|
|
41337
|
-
data?: string;
|
|
41338
|
-
message?: string;
|
|
41339
|
-
requestId?: string;
|
|
41340
|
-
success?: boolean;
|
|
41341
|
-
static names(): { [key: string]: string } {
|
|
41342
|
-
return {
|
|
41343
|
-
code: 'code',
|
|
41344
|
-
data: 'data',
|
|
41345
|
-
message: 'message',
|
|
41346
|
-
requestId: 'requestId',
|
|
41347
|
-
success: 'success',
|
|
41348
|
-
};
|
|
41349
|
-
}
|
|
41350
|
-
|
|
41351
|
-
static types(): { [key: string]: any } {
|
|
41352
|
-
return {
|
|
41353
|
-
code: 'string',
|
|
41354
|
-
data: 'string',
|
|
41355
|
-
message: 'string',
|
|
41356
|
-
requestId: 'string',
|
|
41357
|
-
success: 'boolean',
|
|
41358
|
-
};
|
|
41359
|
-
}
|
|
41360
|
-
|
|
41361
|
-
constructor(map?: { [key: string]: any }) {
|
|
41362
|
-
super(map);
|
|
41363
|
-
}
|
|
41364
|
-
}
|
|
41365
|
-
|
|
41366
|
-
export class EipFillParamsResponse extends $tea.Model {
|
|
41367
|
-
headers?: { [key: string]: string };
|
|
41368
|
-
statusCode?: number;
|
|
41369
|
-
body?: EipFillParamsResponseBody;
|
|
41370
|
-
static names(): { [key: string]: string } {
|
|
41371
|
-
return {
|
|
41372
|
-
headers: 'headers',
|
|
41373
|
-
statusCode: 'statusCode',
|
|
41374
|
-
body: 'body',
|
|
41375
|
-
};
|
|
41376
|
-
}
|
|
41377
|
-
|
|
41378
|
-
static types(): { [key: string]: any } {
|
|
41379
|
-
return {
|
|
41380
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
41381
|
-
statusCode: 'number',
|
|
41382
|
-
body: EipFillParamsResponseBody,
|
|
41383
|
-
};
|
|
41384
|
-
}
|
|
41385
|
-
|
|
41386
|
-
constructor(map?: { [key: string]: any }) {
|
|
41387
|
-
super(map);
|
|
41388
|
-
}
|
|
41389
|
-
}
|
|
41390
|
-
|
|
41391
|
-
export class EipFillProductRequest extends $tea.Model {
|
|
41392
|
-
clientToken?: string;
|
|
41393
|
-
ownerAccount?: string;
|
|
41394
|
-
ownerId?: number;
|
|
41395
|
-
resourceOwnerAccount?: string;
|
|
41396
|
-
resourceOwnerId?: number;
|
|
41397
|
-
userCidr?: string;
|
|
41398
|
-
/**
|
|
41399
|
-
* @remarks
|
|
41400
|
-
* This parameter is required.
|
|
41401
|
-
*/
|
|
41402
|
-
data?: string;
|
|
41403
|
-
static names(): { [key: string]: string } {
|
|
41404
|
-
return {
|
|
41405
|
-
clientToken: 'ClientToken',
|
|
41406
|
-
ownerAccount: 'OwnerAccount',
|
|
41407
|
-
ownerId: 'OwnerId',
|
|
41408
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
41409
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
41410
|
-
userCidr: 'UserCidr',
|
|
41411
|
-
data: 'data',
|
|
41412
|
-
};
|
|
41413
|
-
}
|
|
41414
|
-
|
|
41415
|
-
static types(): { [key: string]: any } {
|
|
41416
|
-
return {
|
|
41417
|
-
clientToken: 'string',
|
|
41418
|
-
ownerAccount: 'string',
|
|
41419
|
-
ownerId: 'number',
|
|
41420
|
-
resourceOwnerAccount: 'string',
|
|
41421
|
-
resourceOwnerId: 'number',
|
|
41422
|
-
userCidr: 'string',
|
|
41423
|
-
data: 'string',
|
|
41424
|
-
};
|
|
41425
|
-
}
|
|
41426
|
-
|
|
41427
|
-
constructor(map?: { [key: string]: any }) {
|
|
41428
|
-
super(map);
|
|
41429
|
-
}
|
|
41430
|
-
}
|
|
41431
|
-
|
|
41432
|
-
export class EipFillProductResponseBody extends $tea.Model {
|
|
41433
|
-
code?: string;
|
|
41434
|
-
data?: string;
|
|
41435
|
-
message?: string;
|
|
41436
|
-
requestId?: string;
|
|
41437
|
-
success?: boolean;
|
|
41438
|
-
static names(): { [key: string]: string } {
|
|
41439
|
-
return {
|
|
41440
|
-
code: 'code',
|
|
41441
|
-
data: 'data',
|
|
41442
|
-
message: 'message',
|
|
41443
|
-
requestId: 'requestId',
|
|
41444
|
-
success: 'success',
|
|
41445
|
-
};
|
|
41446
|
-
}
|
|
41447
|
-
|
|
41448
|
-
static types(): { [key: string]: any } {
|
|
41449
|
-
return {
|
|
41450
|
-
code: 'string',
|
|
41451
|
-
data: 'string',
|
|
41452
|
-
message: 'string',
|
|
41453
|
-
requestId: 'string',
|
|
41454
|
-
success: 'boolean',
|
|
41455
|
-
};
|
|
41456
|
-
}
|
|
41457
|
-
|
|
41458
|
-
constructor(map?: { [key: string]: any }) {
|
|
41459
|
-
super(map);
|
|
41460
|
-
}
|
|
41461
|
-
}
|
|
41462
|
-
|
|
41463
|
-
export class EipFillProductResponse extends $tea.Model {
|
|
41464
|
-
headers?: { [key: string]: string };
|
|
41465
|
-
statusCode?: number;
|
|
41466
|
-
body?: EipFillProductResponseBody;
|
|
41467
|
-
static names(): { [key: string]: string } {
|
|
41468
|
-
return {
|
|
41469
|
-
headers: 'headers',
|
|
41470
|
-
statusCode: 'statusCode',
|
|
41471
|
-
body: 'body',
|
|
41472
|
-
};
|
|
41473
|
-
}
|
|
41474
|
-
|
|
41475
|
-
static types(): { [key: string]: any } {
|
|
41476
|
-
return {
|
|
41477
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
41478
|
-
statusCode: 'number',
|
|
41479
|
-
body: EipFillProductResponseBody,
|
|
41480
|
-
};
|
|
41481
|
-
}
|
|
41482
|
-
|
|
41483
|
-
constructor(map?: { [key: string]: any }) {
|
|
41484
|
-
super(map);
|
|
41485
|
-
}
|
|
41486
|
-
}
|
|
41487
|
-
|
|
41488
|
-
export class EipNotifyPaidRequest extends $tea.Model {
|
|
41489
|
-
clientToken?: string;
|
|
41490
|
-
ownerAccount?: string;
|
|
41491
|
-
ownerId?: number;
|
|
41492
|
-
resourceOwnerAccount?: string;
|
|
41493
|
-
resourceOwnerId?: number;
|
|
41494
|
-
userCidr?: string;
|
|
41495
|
-
/**
|
|
41496
|
-
* @remarks
|
|
41497
|
-
* This parameter is required.
|
|
41498
|
-
*/
|
|
41499
|
-
data?: string;
|
|
41500
|
-
static names(): { [key: string]: string } {
|
|
41501
|
-
return {
|
|
41502
|
-
clientToken: 'ClientToken',
|
|
41503
|
-
ownerAccount: 'OwnerAccount',
|
|
41504
|
-
ownerId: 'OwnerId',
|
|
41505
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
41506
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
41507
|
-
userCidr: 'UserCidr',
|
|
41508
|
-
data: 'data',
|
|
41509
|
-
};
|
|
41510
|
-
}
|
|
41511
|
-
|
|
41512
|
-
static types(): { [key: string]: any } {
|
|
41513
|
-
return {
|
|
41514
|
-
clientToken: 'string',
|
|
41515
|
-
ownerAccount: 'string',
|
|
41516
|
-
ownerId: 'number',
|
|
41517
|
-
resourceOwnerAccount: 'string',
|
|
41518
|
-
resourceOwnerId: 'number',
|
|
41519
|
-
userCidr: 'string',
|
|
41520
|
-
data: 'string',
|
|
41521
|
-
};
|
|
41522
|
-
}
|
|
41523
|
-
|
|
41524
|
-
constructor(map?: { [key: string]: any }) {
|
|
41525
|
-
super(map);
|
|
41526
|
-
}
|
|
41527
|
-
}
|
|
41528
|
-
|
|
41529
|
-
export class EipNotifyPaidResponseBody extends $tea.Model {
|
|
41530
|
-
code?: string;
|
|
41531
|
-
data?: string;
|
|
41532
|
-
message?: string;
|
|
41533
|
-
requestId?: string;
|
|
41534
|
-
success?: boolean;
|
|
41535
|
-
static names(): { [key: string]: string } {
|
|
41536
|
-
return {
|
|
41537
|
-
code: 'code',
|
|
41538
|
-
data: 'data',
|
|
41539
|
-
message: 'message',
|
|
41540
|
-
requestId: 'requestId',
|
|
41541
|
-
success: 'success',
|
|
41542
|
-
};
|
|
41543
|
-
}
|
|
41544
|
-
|
|
41545
|
-
static types(): { [key: string]: any } {
|
|
41546
|
-
return {
|
|
41547
|
-
code: 'string',
|
|
41548
|
-
data: 'string',
|
|
41549
|
-
message: 'string',
|
|
41550
|
-
requestId: 'string',
|
|
41551
|
-
success: 'boolean',
|
|
41552
|
-
};
|
|
41553
|
-
}
|
|
41554
|
-
|
|
41555
|
-
constructor(map?: { [key: string]: any }) {
|
|
41556
|
-
super(map);
|
|
41557
|
-
}
|
|
41558
|
-
}
|
|
41559
|
-
|
|
41560
|
-
export class EipNotifyPaidResponse extends $tea.Model {
|
|
41561
|
-
headers?: { [key: string]: string };
|
|
41562
|
-
statusCode?: number;
|
|
41563
|
-
body?: EipNotifyPaidResponseBody;
|
|
41564
|
-
static names(): { [key: string]: string } {
|
|
41565
|
-
return {
|
|
41566
|
-
headers: 'headers',
|
|
41567
|
-
statusCode: 'statusCode',
|
|
41568
|
-
body: 'body',
|
|
41569
|
-
};
|
|
41570
|
-
}
|
|
41571
|
-
|
|
41572
|
-
static types(): { [key: string]: any } {
|
|
41573
|
-
return {
|
|
41574
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
41575
|
-
statusCode: 'number',
|
|
41576
|
-
body: EipNotifyPaidResponseBody,
|
|
41577
|
-
};
|
|
41578
|
-
}
|
|
41579
|
-
|
|
41580
|
-
constructor(map?: { [key: string]: any }) {
|
|
41581
|
-
super(map);
|
|
41582
|
-
}
|
|
41583
|
-
}
|
|
41584
|
-
|
|
41585
41764
|
export class EnableDiskEncryptionByDefaultRequest extends $tea.Model {
|
|
41586
41765
|
ownerAccount?: string;
|
|
41587
41766
|
ownerId?: number;
|
|
41588
41767
|
/**
|
|
41589
41768
|
* @remarks
|
|
41590
|
-
* The region ID. You can call the DescribeRegions operation to query the most recent region list.
|
|
41769
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
41591
41770
|
*
|
|
41592
41771
|
* This parameter is required.
|
|
41593
41772
|
*
|
|
@@ -45300,6 +45479,7 @@ export class ModifyCommandRequest extends $tea.Model {
|
|
|
45300
45479
|
* This is description.
|
|
45301
45480
|
*/
|
|
45302
45481
|
description?: string;
|
|
45482
|
+
launcher?: string;
|
|
45303
45483
|
/**
|
|
45304
45484
|
* @remarks
|
|
45305
45485
|
* The command name. The name supports all character sets and can be up to 128 characters in length.
|
|
@@ -45343,6 +45523,7 @@ export class ModifyCommandRequest extends $tea.Model {
|
|
|
45343
45523
|
commandContent: 'CommandContent',
|
|
45344
45524
|
commandId: 'CommandId',
|
|
45345
45525
|
description: 'Description',
|
|
45526
|
+
launcher: 'Launcher',
|
|
45346
45527
|
name: 'Name',
|
|
45347
45528
|
ownerAccount: 'OwnerAccount',
|
|
45348
45529
|
ownerId: 'OwnerId',
|
|
@@ -45359,6 +45540,7 @@ export class ModifyCommandRequest extends $tea.Model {
|
|
|
45359
45540
|
commandContent: 'string',
|
|
45360
45541
|
commandId: 'string',
|
|
45361
45542
|
description: 'string',
|
|
45543
|
+
launcher: 'string',
|
|
45362
45544
|
name: 'string',
|
|
45363
45545
|
ownerAccount: 'string',
|
|
45364
45546
|
ownerId: 'number',
|
|
@@ -47102,7 +47284,7 @@ export class ModifyDiskDefaultKMSKeyIdRequest extends $tea.Model {
|
|
|
47102
47284
|
KMSKeyId?: string;
|
|
47103
47285
|
/**
|
|
47104
47286
|
* @remarks
|
|
47105
|
-
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/
|
|
47287
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
47106
47288
|
*
|
|
47107
47289
|
* This parameter is required.
|
|
47108
47290
|
*
|
|
@@ -49154,12 +49336,12 @@ export class ModifyInstanceChargeTypeRequest extends $tea.Model {
|
|
|
49154
49336
|
* @remarks
|
|
49155
49337
|
* Specifies whether to automatically complete the payment. Valid values:
|
|
49156
49338
|
*
|
|
49157
|
-
* * true: The payment is automatically completed.
|
|
49339
|
+
* * true: The payment is automatically completed. Maintain a sufficient account balance. Otherwise, your order becomes invalid and is canceled.
|
|
49158
49340
|
* * false: An order is generated but no payment is made.
|
|
49159
49341
|
*
|
|
49160
49342
|
* Default value: true.
|
|
49161
49343
|
*
|
|
49162
|
-
* >
|
|
49344
|
+
* > If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, you can log on to the ECS console to pay for the order.
|
|
49163
49345
|
*
|
|
49164
49346
|
* @example
|
|
49165
49347
|
* false
|
|
@@ -49175,9 +49357,9 @@ export class ModifyInstanceChargeTypeRequest extends $tea.Model {
|
|
|
49175
49357
|
clientToken?: string;
|
|
49176
49358
|
/**
|
|
49177
49359
|
* @remarks
|
|
49178
|
-
* Specifies whether to perform only a dry run. Valid
|
|
49360
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
49179
49361
|
*
|
|
49180
|
-
* * true: performs only a dry run. The system checks
|
|
49362
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized Resource Access Management (RAM) users, and missing parameter values. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
49181
49363
|
* * false: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
49182
49364
|
*
|
|
49183
49365
|
* Default value: false.
|
|
@@ -49188,7 +49370,10 @@ export class ModifyInstanceChargeTypeRequest extends $tea.Model {
|
|
|
49188
49370
|
dryRun?: boolean;
|
|
49189
49371
|
/**
|
|
49190
49372
|
* @remarks
|
|
49191
|
-
* Specifies whether to change the billing method of all data disks
|
|
49373
|
+
* Specifies whether to change the billing method of all data disks on the instance from pay-as-you-go to subscription. Valid values:
|
|
49374
|
+
*
|
|
49375
|
+
* * true
|
|
49376
|
+
* * false
|
|
49192
49377
|
*
|
|
49193
49378
|
* Default value: false.
|
|
49194
49379
|
*
|
|
@@ -49200,8 +49385,8 @@ export class ModifyInstanceChargeTypeRequest extends $tea.Model {
|
|
|
49200
49385
|
* @remarks
|
|
49201
49386
|
* The new billing method. Valid values:
|
|
49202
49387
|
*
|
|
49203
|
-
* * PrePaid
|
|
49204
|
-
* * PostPaid
|
|
49388
|
+
* * PrePaid: subscription
|
|
49389
|
+
* * PostPaid: pay-as-you-go
|
|
49205
49390
|
*
|
|
49206
49391
|
* Default value: PrePaid.
|
|
49207
49392
|
*
|
|
@@ -49221,7 +49406,10 @@ export class ModifyInstanceChargeTypeRequest extends $tea.Model {
|
|
|
49221
49406
|
instanceIds?: string;
|
|
49222
49407
|
/**
|
|
49223
49408
|
* @remarks
|
|
49224
|
-
* Specifies whether to return cost details of the order after the billing method is changed from subscription to pay-as-you-go.
|
|
49409
|
+
* Specifies whether to return cost details of the order after the billing method is changed from subscription to pay-as-you-go. Valid values:
|
|
49410
|
+
*
|
|
49411
|
+
* * true
|
|
49412
|
+
* * false
|
|
49225
49413
|
*
|
|
49226
49414
|
* Default value: false.
|
|
49227
49415
|
*
|
|
@@ -49781,7 +49969,7 @@ export class ModifyInstanceMetadataOptionsRequest extends $tea.Model {
|
|
|
49781
49969
|
httpEndpoint?: string;
|
|
49782
49970
|
/**
|
|
49783
49971
|
* @remarks
|
|
49784
|
-
* > This parameter is
|
|
49972
|
+
* > This parameter is not publicly available.
|
|
49785
49973
|
*
|
|
49786
49974
|
* @example
|
|
49787
49975
|
* 1
|
|
@@ -53534,7 +53722,7 @@ export class ModifySnapshotAttributeRequest extends $tea.Model {
|
|
|
53534
53722
|
*
|
|
53535
53723
|
* Default value: false.
|
|
53536
53724
|
*
|
|
53537
|
-
* > This parameter is no longer used. By default, new
|
|
53725
|
+
* > This parameter is no longer used. By default, new standard snapshots of Enterprise SSDs (ESSDs) are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
53538
53726
|
*
|
|
53539
53727
|
* @example
|
|
53540
53728
|
* false
|
|
@@ -54544,6 +54732,9 @@ export class ModifyVpcAttributeResponse extends $tea.Model {
|
|
|
54544
54732
|
export class PurchaseElasticityAssuranceRequest extends $tea.Model {
|
|
54545
54733
|
privatePoolOptions?: PurchaseElasticityAssuranceRequestPrivatePoolOptions;
|
|
54546
54734
|
/**
|
|
54735
|
+
* @remarks
|
|
54736
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must 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).
|
|
54737
|
+
*
|
|
54547
54738
|
* @example
|
|
54548
54739
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
54549
54740
|
*/
|
|
@@ -54551,17 +54742,35 @@ export class PurchaseElasticityAssuranceRequest extends $tea.Model {
|
|
|
54551
54742
|
ownerAccount?: string;
|
|
54552
54743
|
ownerId?: number;
|
|
54553
54744
|
/**
|
|
54745
|
+
* @remarks
|
|
54746
|
+
* The term of the elasticity assurance. The unit of the term is determined by the PeriodUnit value. Valid values:
|
|
54747
|
+
*
|
|
54748
|
+
* * When the PeriodUnit parameter is set to Month, valid values are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
|
|
54749
|
+
* * When the PeriodUnit parameter is set to Year, valid values are 1, 2, 3, 4, and 5.
|
|
54750
|
+
*
|
|
54751
|
+
* Default value: 1.
|
|
54752
|
+
*
|
|
54554
54753
|
* @example
|
|
54555
54754
|
* 1
|
|
54556
54755
|
*/
|
|
54557
54756
|
period?: number;
|
|
54558
54757
|
/**
|
|
54758
|
+
* @remarks
|
|
54759
|
+
* The unit of the term of the elasticity assurance. Valid values:
|
|
54760
|
+
*
|
|
54761
|
+
* * Month
|
|
54762
|
+
* * Year
|
|
54763
|
+
*
|
|
54764
|
+
* Default value: Year.
|
|
54765
|
+
*
|
|
54559
54766
|
* @example
|
|
54560
54767
|
* Month
|
|
54561
54768
|
*/
|
|
54562
54769
|
periodUnit?: string;
|
|
54563
54770
|
/**
|
|
54564
54771
|
* @remarks
|
|
54772
|
+
* The region ID of the elasticity assurance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
54773
|
+
*
|
|
54565
54774
|
* This parameter is required.
|
|
54566
54775
|
*
|
|
54567
54776
|
* @example
|
|
@@ -54571,6 +54780,9 @@ export class PurchaseElasticityAssuranceRequest extends $tea.Model {
|
|
|
54571
54780
|
resourceOwnerAccount?: string;
|
|
54572
54781
|
resourceOwnerId?: number;
|
|
54573
54782
|
/**
|
|
54783
|
+
* @remarks
|
|
54784
|
+
* The time when the elasticity assurance takes effect. The default value is the time when the elasticity assurance is created. Specify the time in the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC. For more information, see [ISO 8601](https://help.aliyun.com/document_detail/25696.html).
|
|
54785
|
+
*
|
|
54574
54786
|
* @example
|
|
54575
54787
|
* 2024-06-18T00:00Z
|
|
54576
54788
|
*/
|
|
@@ -54612,6 +54824,9 @@ export class PurchaseElasticityAssuranceRequest extends $tea.Model {
|
|
|
54612
54824
|
|
|
54613
54825
|
export class PurchaseElasticityAssuranceResponseBody extends $tea.Model {
|
|
54614
54826
|
/**
|
|
54827
|
+
* @remarks
|
|
54828
|
+
* The request ID.
|
|
54829
|
+
*
|
|
54615
54830
|
* @example
|
|
54616
54831
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
54617
54832
|
*/
|
|
@@ -65071,194 +65286,37 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $tea
|
|
|
65071
65286
|
}
|
|
65072
65287
|
}
|
|
65073
65288
|
|
|
65074
|
-
export class
|
|
65075
|
-
/**
|
|
65076
|
-
* @remarks
|
|
65077
|
-
* The category of the system disk. You can specify multiple disk categories, and the disk categories are prioritized in the order in which they are specified. If a specified disk category is unavailable, the system uses the next available disk category. Valid values:
|
|
65078
|
-
*
|
|
65079
|
-
* - cloud_efficiency: ultra disk.
|
|
65080
|
-
* - cloud_ssd: standard SSD.
|
|
65081
|
-
* - cloud_essd: ESSD
|
|
65082
|
-
* - cloud: basic disk.
|
|
65083
|
-
*
|
|
65084
|
-
* @example
|
|
65085
|
-
* cloud_ssd
|
|
65086
|
-
*/
|
|
65087
|
-
diskCategory?: string;
|
|
65088
|
-
static names(): { [key: string]: string } {
|
|
65089
|
-
return {
|
|
65090
|
-
diskCategory: 'DiskCategory',
|
|
65091
|
-
};
|
|
65092
|
-
}
|
|
65093
|
-
|
|
65094
|
-
static types(): { [key: string]: any } {
|
|
65095
|
-
return {
|
|
65096
|
-
diskCategory: 'string',
|
|
65097
|
-
};
|
|
65098
|
-
}
|
|
65099
|
-
|
|
65100
|
-
constructor(map?: { [key: string]: any }) {
|
|
65101
|
-
super(map);
|
|
65102
|
-
}
|
|
65103
|
-
}
|
|
65104
|
-
|
|
65105
|
-
export class CreateAutoProvisioningGroupRequestTag extends $tea.Model {
|
|
65106
|
-
/**
|
|
65107
|
-
* @remarks
|
|
65108
|
-
* The key of tag N to add to the auto provisioning group.
|
|
65109
|
-
*
|
|
65110
|
-
* 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. It cannot start with aliyun or acs: and cannot contain http:// or https://.
|
|
65111
|
-
*
|
|
65112
|
-
* @example
|
|
65113
|
-
* TestKey
|
|
65114
|
-
*/
|
|
65115
|
-
key?: string;
|
|
65289
|
+
export class CreateAutoProvisioningGroupRequestResourcePoolOptions extends $tea.Model {
|
|
65116
65290
|
/**
|
|
65117
65291
|
* @remarks
|
|
65118
|
-
* The
|
|
65119
|
-
*
|
|
65120
|
-
* 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://.
|
|
65121
|
-
*
|
|
65122
|
-
* @example
|
|
65123
|
-
* TestValue
|
|
65292
|
+
* The IDs of private pools. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation that is associated with the private pool. You can specify the IDs of only targeted private pools for this parameter.
|
|
65124
65293
|
*/
|
|
65125
|
-
|
|
65126
|
-
static names(): { [key: string]: string } {
|
|
65127
|
-
return {
|
|
65128
|
-
key: 'Key',
|
|
65129
|
-
value: 'Value',
|
|
65130
|
-
};
|
|
65131
|
-
}
|
|
65132
|
-
|
|
65133
|
-
static types(): { [key: string]: any } {
|
|
65134
|
-
return {
|
|
65135
|
-
key: 'string',
|
|
65136
|
-
value: 'string',
|
|
65137
|
-
};
|
|
65138
|
-
}
|
|
65139
|
-
|
|
65140
|
-
constructor(map?: { [key: string]: any }) {
|
|
65141
|
-
super(map);
|
|
65142
|
-
}
|
|
65143
|
-
}
|
|
65144
|
-
|
|
65145
|
-
export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds extends $tea.Model {
|
|
65146
|
-
instanceId?: string[];
|
|
65147
|
-
static names(): { [key: string]: string } {
|
|
65148
|
-
return {
|
|
65149
|
-
instanceId: 'InstanceId',
|
|
65150
|
-
};
|
|
65151
|
-
}
|
|
65152
|
-
|
|
65153
|
-
static types(): { [key: string]: any } {
|
|
65154
|
-
return {
|
|
65155
|
-
instanceId: { 'type': 'array', 'itemType': 'string' },
|
|
65156
|
-
};
|
|
65157
|
-
}
|
|
65158
|
-
|
|
65159
|
-
constructor(map?: { [key: string]: any }) {
|
|
65160
|
-
super(map);
|
|
65161
|
-
}
|
|
65162
|
-
}
|
|
65163
|
-
|
|
65164
|
-
export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult extends $tea.Model {
|
|
65294
|
+
privatePoolIds?: string[];
|
|
65165
65295
|
/**
|
|
65166
65296
|
* @remarks
|
|
65167
|
-
*
|
|
65297
|
+
* Specifies which resource pools to use to create instances. Resource pools include the public pool and the private pools that are associated with elasticity assurance and capacity reservations in the Active state. Valid values:
|
|
65168
65298
|
*
|
|
65169
|
-
*
|
|
65170
|
-
*
|
|
65171
|
-
|
|
65172
|
-
amount?: number;
|
|
65173
|
-
/**
|
|
65174
|
-
* @remarks
|
|
65175
|
-
* The error code returned when the instance cannot be created.
|
|
65299
|
+
* * PrivatePoolFirst: uses private pools first. If you set this parameter to PrivatePoolFirst, you can specify ResourcePoolOptions.PrivatePoolIds or leave ResourcePoolOptions.PrivatePoolIds empty. If you specify ResourcePoolOptions.PrivatePoolIds, the specified private pools are used first. If you leave ResourcePoolOptions.PrivatePoolIds empty or the private pools that you specify in ResourcePoolOptions.PrivatePoolIds have insufficient capacity, matching open private pools are used. If no matching open private pools exist, the public pool is used.
|
|
65300
|
+
* * PrivatePoolOnly: uses only private pools. If you set this parameter to PrivatePoolOnly, you must specify ResourcePoolOptions.PrivatePoolIds. If the private pools that you specify in ResourcePoolOptions.PrivatePoolIds have insufficient capacity, instances cannot be created.
|
|
65301
|
+
* * PublicPoolOnly: uses the public pool.
|
|
65176
65302
|
*
|
|
65177
|
-
*
|
|
65178
|
-
* InvalidParameter
|
|
65179
|
-
*/
|
|
65180
|
-
errorCode?: string;
|
|
65181
|
-
/**
|
|
65182
|
-
* @remarks
|
|
65183
|
-
* The error message returned when the instance cannot be created.
|
|
65303
|
+
* Default value: PublicPoolOnly.
|
|
65184
65304
|
*
|
|
65185
65305
|
* @example
|
|
65186
|
-
*
|
|
65306
|
+
* PrivatePoolFirst
|
|
65187
65307
|
*/
|
|
65188
|
-
|
|
65189
|
-
/**
|
|
65190
|
-
* @remarks
|
|
65191
|
-
* The IDs of created instances.
|
|
65192
|
-
*/
|
|
65193
|
-
instanceIds?: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds;
|
|
65194
|
-
/**
|
|
65195
|
-
* @remarks
|
|
65196
|
-
* The instance type of the instance.
|
|
65197
|
-
*
|
|
65198
|
-
* @example
|
|
65199
|
-
* ecs.g5.large
|
|
65200
|
-
*/
|
|
65201
|
-
instanceType?: string;
|
|
65202
|
-
/**
|
|
65203
|
-
* @remarks
|
|
65204
|
-
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
65205
|
-
*
|
|
65206
|
-
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
65207
|
-
* * SpotWithPriceLimit: The instance is a preemptible instance for which you specify the maximum hourly price.
|
|
65208
|
-
* * SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is used as the bid price.
|
|
65209
|
-
*
|
|
65210
|
-
* @example
|
|
65211
|
-
* NoSpot
|
|
65212
|
-
*/
|
|
65213
|
-
spotStrategy?: string;
|
|
65214
|
-
/**
|
|
65215
|
-
* @remarks
|
|
65216
|
-
* The zone ID of the instance.
|
|
65217
|
-
*
|
|
65218
|
-
* @example
|
|
65219
|
-
* cn-hangzhou-g
|
|
65220
|
-
*/
|
|
65221
|
-
zoneId?: string;
|
|
65222
|
-
static names(): { [key: string]: string } {
|
|
65223
|
-
return {
|
|
65224
|
-
amount: 'Amount',
|
|
65225
|
-
errorCode: 'ErrorCode',
|
|
65226
|
-
errorMsg: 'ErrorMsg',
|
|
65227
|
-
instanceIds: 'InstanceIds',
|
|
65228
|
-
instanceType: 'InstanceType',
|
|
65229
|
-
spotStrategy: 'SpotStrategy',
|
|
65230
|
-
zoneId: 'ZoneId',
|
|
65231
|
-
};
|
|
65232
|
-
}
|
|
65233
|
-
|
|
65234
|
-
static types(): { [key: string]: any } {
|
|
65235
|
-
return {
|
|
65236
|
-
amount: 'number',
|
|
65237
|
-
errorCode: 'string',
|
|
65238
|
-
errorMsg: 'string',
|
|
65239
|
-
instanceIds: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds,
|
|
65240
|
-
instanceType: 'string',
|
|
65241
|
-
spotStrategy: 'string',
|
|
65242
|
-
zoneId: 'string',
|
|
65243
|
-
};
|
|
65244
|
-
}
|
|
65245
|
-
|
|
65246
|
-
constructor(map?: { [key: string]: any }) {
|
|
65247
|
-
super(map);
|
|
65248
|
-
}
|
|
65249
|
-
}
|
|
65250
|
-
|
|
65251
|
-
export class CreateAutoProvisioningGroupResponseBodyLaunchResults extends $tea.Model {
|
|
65252
|
-
launchResult?: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult[];
|
|
65308
|
+
strategy?: string;
|
|
65253
65309
|
static names(): { [key: string]: string } {
|
|
65254
65310
|
return {
|
|
65255
|
-
|
|
65311
|
+
privatePoolIds: 'PrivatePoolIds',
|
|
65312
|
+
strategy: 'Strategy',
|
|
65256
65313
|
};
|
|
65257
65314
|
}
|
|
65258
65315
|
|
|
65259
65316
|
static types(): { [key: string]: any } {
|
|
65260
65317
|
return {
|
|
65261
|
-
|
|
65318
|
+
privatePoolIds: { 'type': 'array', 'itemType': 'string' },
|
|
65319
|
+
strategy: 'string',
|
|
65262
65320
|
};
|
|
65263
65321
|
}
|
|
65264
65322
|
|
|
@@ -65267,44 +65325,29 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResults extends $tea.M
|
|
|
65267
65325
|
}
|
|
65268
65326
|
}
|
|
65269
65327
|
|
|
65270
|
-
export class
|
|
65271
|
-
/**
|
|
65272
|
-
* @remarks
|
|
65273
|
-
* This parameter is not publicly available.
|
|
65274
|
-
*
|
|
65275
|
-
* @example
|
|
65276
|
-
* 1000000000
|
|
65277
|
-
*/
|
|
65278
|
-
assumeRoleFor?: number;
|
|
65328
|
+
export class CreateAutoProvisioningGroupRequestSystemDiskConfig extends $tea.Model {
|
|
65279
65329
|
/**
|
|
65280
65330
|
* @remarks
|
|
65281
|
-
*
|
|
65331
|
+
* The category of the system disk. You can specify multiple disk categories, and the disk categories are prioritized in the order in which they are specified. If a specified disk category is unavailable, the system uses the next available disk category. Valid values:
|
|
65282
65332
|
*
|
|
65283
|
-
*
|
|
65284
|
-
*
|
|
65285
|
-
|
|
65286
|
-
|
|
65287
|
-
/**
|
|
65288
|
-
* @remarks
|
|
65289
|
-
* This parameter is not publicly available.
|
|
65333
|
+
* - cloud_efficiency: ultra disk.
|
|
65334
|
+
* - cloud_ssd: standard SSD.
|
|
65335
|
+
* - cloud_essd: ESSD
|
|
65336
|
+
* - cloud: basic disk.
|
|
65290
65337
|
*
|
|
65291
65338
|
* @example
|
|
65292
|
-
*
|
|
65339
|
+
* cloud_ssd
|
|
65293
65340
|
*/
|
|
65294
|
-
|
|
65341
|
+
diskCategory?: string;
|
|
65295
65342
|
static names(): { [key: string]: string } {
|
|
65296
65343
|
return {
|
|
65297
|
-
|
|
65298
|
-
roleType: 'RoleType',
|
|
65299
|
-
rolearn: 'Rolearn',
|
|
65344
|
+
diskCategory: 'DiskCategory',
|
|
65300
65345
|
};
|
|
65301
65346
|
}
|
|
65302
65347
|
|
|
65303
65348
|
static types(): { [key: string]: any } {
|
|
65304
65349
|
return {
|
|
65305
|
-
|
|
65306
|
-
roleType: 'string',
|
|
65307
|
-
rolearn: 'string',
|
|
65350
|
+
diskCategory: 'string',
|
|
65308
65351
|
};
|
|
65309
65352
|
}
|
|
65310
65353
|
|
|
@@ -65313,58 +65356,12 @@ export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn exten
|
|
|
65313
65356
|
}
|
|
65314
65357
|
}
|
|
65315
65358
|
|
|
65316
|
-
export class
|
|
65317
|
-
/**
|
|
65318
|
-
* @remarks
|
|
65319
|
-
* This parameter is not publicly available.
|
|
65320
|
-
*/
|
|
65321
|
-
arn?: CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn[];
|
|
65322
|
-
/**
|
|
65323
|
-
* @remarks
|
|
65324
|
-
* Specifies whether to enable cross-region snapshot replication and encryption. Valid values:
|
|
65325
|
-
*
|
|
65326
|
-
* * true
|
|
65327
|
-
* * false
|
|
65328
|
-
*
|
|
65329
|
-
* Default value: false.
|
|
65330
|
-
*
|
|
65331
|
-
* @example
|
|
65332
|
-
* false
|
|
65333
|
-
*/
|
|
65334
|
-
encrypted?: boolean;
|
|
65359
|
+
export class CreateAutoProvisioningGroupRequestTag extends $tea.Model {
|
|
65335
65360
|
/**
|
|
65336
65361
|
* @remarks
|
|
65337
|
-
* The
|
|
65362
|
+
* The key of tag N to add to the auto provisioning group.
|
|
65338
65363
|
*
|
|
65339
|
-
*
|
|
65340
|
-
* 0e478b7a-4262-4802-b8cb-00d3fb40826X
|
|
65341
|
-
*/
|
|
65342
|
-
KMSKeyId?: string;
|
|
65343
|
-
static names(): { [key: string]: string } {
|
|
65344
|
-
return {
|
|
65345
|
-
arn: 'Arn',
|
|
65346
|
-
encrypted: 'Encrypted',
|
|
65347
|
-
KMSKeyId: 'KMSKeyId',
|
|
65348
|
-
};
|
|
65349
|
-
}
|
|
65350
|
-
|
|
65351
|
-
static types(): { [key: string]: any } {
|
|
65352
|
-
return {
|
|
65353
|
-
arn: { 'type': 'array', 'itemType': CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn },
|
|
65354
|
-
encrypted: 'boolean',
|
|
65355
|
-
KMSKeyId: 'string',
|
|
65356
|
-
};
|
|
65357
|
-
}
|
|
65358
|
-
|
|
65359
|
-
constructor(map?: { [key: string]: any }) {
|
|
65360
|
-
super(map);
|
|
65361
|
-
}
|
|
65362
|
-
}
|
|
65363
|
-
|
|
65364
|
-
export class CreateAutoSnapshotPolicyRequestTag extends $tea.Model {
|
|
65365
|
-
/**
|
|
65366
|
-
* @remarks
|
|
65367
|
-
* The key of tag N to add to the automatic snapshot policy. 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 contain http:// or https://. The tag key cannot start with acs: or aliyun.
|
|
65364
|
+
* 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. It cannot start with aliyun or acs: and cannot contain http:// or https://.
|
|
65368
65365
|
*
|
|
65369
65366
|
* @example
|
|
65370
65367
|
* TestKey
|
|
@@ -65372,7 +65369,1308 @@ export class CreateAutoSnapshotPolicyRequestTag extends $tea.Model {
|
|
|
65372
65369
|
key?: string;
|
|
65373
65370
|
/**
|
|
65374
65371
|
* @remarks
|
|
65375
|
-
* The value of tag N to add to the
|
|
65372
|
+
* The value of tag N to add to the auto provisioning group.
|
|
65373
|
+
*
|
|
65374
|
+
* 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://.
|
|
65375
|
+
*
|
|
65376
|
+
* @example
|
|
65377
|
+
* TestValue
|
|
65378
|
+
*/
|
|
65379
|
+
value?: string;
|
|
65380
|
+
static names(): { [key: string]: string } {
|
|
65381
|
+
return {
|
|
65382
|
+
key: 'Key',
|
|
65383
|
+
value: 'Value',
|
|
65384
|
+
};
|
|
65385
|
+
}
|
|
65386
|
+
|
|
65387
|
+
static types(): { [key: string]: any } {
|
|
65388
|
+
return {
|
|
65389
|
+
key: 'string',
|
|
65390
|
+
value: 'string',
|
|
65391
|
+
};
|
|
65392
|
+
}
|
|
65393
|
+
|
|
65394
|
+
constructor(map?: { [key: string]: any }) {
|
|
65395
|
+
super(map);
|
|
65396
|
+
}
|
|
65397
|
+
}
|
|
65398
|
+
|
|
65399
|
+
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn extends $tea.Model {
|
|
65400
|
+
/**
|
|
65401
|
+
* @remarks
|
|
65402
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
65403
|
+
*
|
|
65404
|
+
* @example
|
|
65405
|
+
* 123456789012****
|
|
65406
|
+
*/
|
|
65407
|
+
assumeRoleFor?: number;
|
|
65408
|
+
/**
|
|
65409
|
+
* @remarks
|
|
65410
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
65411
|
+
*
|
|
65412
|
+
* @example
|
|
65413
|
+
* 34458433936495****:alice
|
|
65414
|
+
*/
|
|
65415
|
+
roleType?: string;
|
|
65416
|
+
/**
|
|
65417
|
+
* @remarks
|
|
65418
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
65419
|
+
*
|
|
65420
|
+
* @example
|
|
65421
|
+
* acs:ram::123456789012****:role/adminrole
|
|
65422
|
+
*/
|
|
65423
|
+
rolearn?: string;
|
|
65424
|
+
static names(): { [key: string]: string } {
|
|
65425
|
+
return {
|
|
65426
|
+
assumeRoleFor: 'AssumeRoleFor',
|
|
65427
|
+
roleType: 'RoleType',
|
|
65428
|
+
rolearn: 'Rolearn',
|
|
65429
|
+
};
|
|
65430
|
+
}
|
|
65431
|
+
|
|
65432
|
+
static types(): { [key: string]: any } {
|
|
65433
|
+
return {
|
|
65434
|
+
assumeRoleFor: 'number',
|
|
65435
|
+
roleType: 'string',
|
|
65436
|
+
rolearn: 'string',
|
|
65437
|
+
};
|
|
65438
|
+
}
|
|
65439
|
+
|
|
65440
|
+
constructor(map?: { [key: string]: any }) {
|
|
65441
|
+
super(map);
|
|
65442
|
+
}
|
|
65443
|
+
}
|
|
65444
|
+
|
|
65445
|
+
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk extends $tea.Model {
|
|
65446
|
+
/**
|
|
65447
|
+
* @remarks
|
|
65448
|
+
* Specifies whether to enable the performance burst feature for data disk N. Valid values:
|
|
65449
|
+
*
|
|
65450
|
+
* * true
|
|
65451
|
+
* * false
|
|
65452
|
+
*
|
|
65453
|
+
* > This parameter is available only if you set LaunchConfiguration.DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
65454
|
+
*
|
|
65455
|
+
* @example
|
|
65456
|
+
* false
|
|
65457
|
+
*/
|
|
65458
|
+
burstingEnabled?: boolean;
|
|
65459
|
+
/**
|
|
65460
|
+
* @remarks
|
|
65461
|
+
* The category of data disk N. Valid values of N: 1 to 16. Valid values:
|
|
65462
|
+
*
|
|
65463
|
+
* * cloud_efficiency: ultra disk.
|
|
65464
|
+
* * cloud_ssd: standard SSD.
|
|
65465
|
+
* * cloud_essd: ESSD.
|
|
65466
|
+
* * cloud: basic disk.
|
|
65467
|
+
*
|
|
65468
|
+
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
65469
|
+
*
|
|
65470
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65471
|
+
*
|
|
65472
|
+
* @example
|
|
65473
|
+
* cloud_ssd
|
|
65474
|
+
*/
|
|
65475
|
+
category?: string;
|
|
65476
|
+
/**
|
|
65477
|
+
* @remarks
|
|
65478
|
+
* Specifies whether to release data disk N when the instance to which the data disk is attached is released. Valid values:
|
|
65479
|
+
*
|
|
65480
|
+
* * true
|
|
65481
|
+
* * false
|
|
65482
|
+
*
|
|
65483
|
+
* Default value: true.
|
|
65484
|
+
*
|
|
65485
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65486
|
+
*
|
|
65487
|
+
* @example
|
|
65488
|
+
* true
|
|
65489
|
+
*/
|
|
65490
|
+
deleteWithInstance?: boolean;
|
|
65491
|
+
/**
|
|
65492
|
+
* @remarks
|
|
65493
|
+
* The description of data disk N. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65494
|
+
*
|
|
65495
|
+
* @example
|
|
65496
|
+
* DataDisk_Description
|
|
65497
|
+
*/
|
|
65498
|
+
description?: string;
|
|
65499
|
+
/**
|
|
65500
|
+
* @remarks
|
|
65501
|
+
* The mount point of data disk N. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65502
|
+
*
|
|
65503
|
+
* @example
|
|
65504
|
+
* /dev/vd1
|
|
65505
|
+
*/
|
|
65506
|
+
device?: string;
|
|
65507
|
+
/**
|
|
65508
|
+
* @remarks
|
|
65509
|
+
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
65510
|
+
*
|
|
65511
|
+
* This parameter is left empty by default.
|
|
65512
|
+
*
|
|
65513
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65514
|
+
*
|
|
65515
|
+
* @example
|
|
65516
|
+
* cloud_ssdData
|
|
65517
|
+
*/
|
|
65518
|
+
diskName?: string;
|
|
65519
|
+
/**
|
|
65520
|
+
* @remarks
|
|
65521
|
+
* > This parameter is not publicly available.
|
|
65522
|
+
*
|
|
65523
|
+
* @example
|
|
65524
|
+
* null
|
|
65525
|
+
*/
|
|
65526
|
+
encryptAlgorithm?: string;
|
|
65527
|
+
/**
|
|
65528
|
+
* @remarks
|
|
65529
|
+
* Specifies whether to encrypt data disk N. Valid values:
|
|
65530
|
+
*
|
|
65531
|
+
* * true
|
|
65532
|
+
* * false
|
|
65533
|
+
*
|
|
65534
|
+
* Default value: false.
|
|
65535
|
+
*
|
|
65536
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65537
|
+
*
|
|
65538
|
+
* @example
|
|
65539
|
+
* false
|
|
65540
|
+
*/
|
|
65541
|
+
encrypted?: boolean;
|
|
65542
|
+
/**
|
|
65543
|
+
* @remarks
|
|
65544
|
+
* The ID of the Key Management Service (KMS) key to use for data disk N. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65545
|
+
*
|
|
65546
|
+
* @example
|
|
65547
|
+
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
65548
|
+
*/
|
|
65549
|
+
kmsKeyId?: string;
|
|
65550
|
+
/**
|
|
65551
|
+
* @remarks
|
|
65552
|
+
* The performance level of the Enterprise SSD (ESSD) to use as data disk N. The value of N in this parameter must be the same as the value of N in `LaunchConfiguration.DataDisk.N.Category`. Valid values:
|
|
65553
|
+
*
|
|
65554
|
+
* * PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
|
|
65555
|
+
* * PL1 (default): A single ESSD can deliver up to 50,000 random read/write IOPS.
|
|
65556
|
+
* * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
|
|
65557
|
+
* * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
|
|
65558
|
+
*
|
|
65559
|
+
* For more information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
65560
|
+
*
|
|
65561
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65562
|
+
*
|
|
65563
|
+
* @example
|
|
65564
|
+
* PL1
|
|
65565
|
+
*/
|
|
65566
|
+
performanceLevel?: string;
|
|
65567
|
+
/**
|
|
65568
|
+
* @remarks
|
|
65569
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as data disk N. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
65570
|
+
*
|
|
65571
|
+
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
65572
|
+
*
|
|
65573
|
+
* > This parameter is available only if you set LaunchConfiguration.DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
65574
|
+
*
|
|
65575
|
+
* @example
|
|
65576
|
+
* 40000
|
|
65577
|
+
*/
|
|
65578
|
+
provisionedIops?: number;
|
|
65579
|
+
/**
|
|
65580
|
+
* @remarks
|
|
65581
|
+
* The size of data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:
|
|
65582
|
+
*
|
|
65583
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_efficiency: 20 to 32768.
|
|
65584
|
+
*
|
|
65585
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_ssd: 20 to 32768.
|
|
65586
|
+
*
|
|
65587
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_essd: vary based on the `LaunchConfiguration.DataDisk.N.PerformanceLevel` value.
|
|
65588
|
+
*
|
|
65589
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL0: 40 to 32768.
|
|
65590
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL1: 20 to 32768.
|
|
65591
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL2: 461 to 32768.
|
|
65592
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL3: 1261 to 32768.
|
|
65593
|
+
*
|
|
65594
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud: 5 to 2000.
|
|
65595
|
+
*
|
|
65596
|
+
* > The value of this parameter must be greater than or equal to the size of the snapshot specified by `LaunchConfiguration.DataDisk.N.SnapshotId`.
|
|
65597
|
+
*
|
|
65598
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65599
|
+
*
|
|
65600
|
+
* @example
|
|
65601
|
+
* 20
|
|
65602
|
+
*/
|
|
65603
|
+
size?: number;
|
|
65604
|
+
/**
|
|
65605
|
+
* @remarks
|
|
65606
|
+
* The ID of the snapshot to use to create data disk N. Valid values of N: 1 to 16.
|
|
65607
|
+
*
|
|
65608
|
+
* If you specify this parameter, `LaunchConfiguration.DataDisk.N.Size` is ignored. The size of data disk N is the same as that of the snapshot specified by this parameter. Use snapshots created after July 15, 2013. Otherwise, an error is returned and your request is rejected.
|
|
65609
|
+
*
|
|
65610
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65611
|
+
*
|
|
65612
|
+
* @example
|
|
65613
|
+
* s-bp17441ohwka0yuh****
|
|
65614
|
+
*/
|
|
65615
|
+
snapshotId?: string;
|
|
65616
|
+
static names(): { [key: string]: string } {
|
|
65617
|
+
return {
|
|
65618
|
+
burstingEnabled: 'BurstingEnabled',
|
|
65619
|
+
category: 'Category',
|
|
65620
|
+
deleteWithInstance: 'DeleteWithInstance',
|
|
65621
|
+
description: 'Description',
|
|
65622
|
+
device: 'Device',
|
|
65623
|
+
diskName: 'DiskName',
|
|
65624
|
+
encryptAlgorithm: 'EncryptAlgorithm',
|
|
65625
|
+
encrypted: 'Encrypted',
|
|
65626
|
+
kmsKeyId: 'KmsKeyId',
|
|
65627
|
+
performanceLevel: 'PerformanceLevel',
|
|
65628
|
+
provisionedIops: 'ProvisionedIops',
|
|
65629
|
+
size: 'Size',
|
|
65630
|
+
snapshotId: 'SnapshotId',
|
|
65631
|
+
};
|
|
65632
|
+
}
|
|
65633
|
+
|
|
65634
|
+
static types(): { [key: string]: any } {
|
|
65635
|
+
return {
|
|
65636
|
+
burstingEnabled: 'boolean',
|
|
65637
|
+
category: 'string',
|
|
65638
|
+
deleteWithInstance: 'boolean',
|
|
65639
|
+
description: 'string',
|
|
65640
|
+
device: 'string',
|
|
65641
|
+
diskName: 'string',
|
|
65642
|
+
encryptAlgorithm: 'string',
|
|
65643
|
+
encrypted: 'boolean',
|
|
65644
|
+
kmsKeyId: 'string',
|
|
65645
|
+
performanceLevel: 'string',
|
|
65646
|
+
provisionedIops: 'number',
|
|
65647
|
+
size: 'number',
|
|
65648
|
+
snapshotId: 'string',
|
|
65649
|
+
};
|
|
65650
|
+
}
|
|
65651
|
+
|
|
65652
|
+
constructor(map?: { [key: string]: any }) {
|
|
65653
|
+
super(map);
|
|
65654
|
+
}
|
|
65655
|
+
}
|
|
65656
|
+
|
|
65657
|
+
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk extends $tea.Model {
|
|
65658
|
+
/**
|
|
65659
|
+
* @remarks
|
|
65660
|
+
* Specifies whether to enable the performance burst feature for the system disk. Valid values:
|
|
65661
|
+
*
|
|
65662
|
+
* * true
|
|
65663
|
+
* * false
|
|
65664
|
+
*
|
|
65665
|
+
* > This parameter is available only if you set `LaunchConfiguration.SystemDisk.Category` to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
65666
|
+
*
|
|
65667
|
+
* @example
|
|
65668
|
+
* false
|
|
65669
|
+
*/
|
|
65670
|
+
burstingEnabled?: boolean;
|
|
65671
|
+
/**
|
|
65672
|
+
* @remarks
|
|
65673
|
+
* The algorithm to use to encrypt the system disk. Valid values:
|
|
65674
|
+
*
|
|
65675
|
+
* * aes-256
|
|
65676
|
+
* * sm4-128
|
|
65677
|
+
*
|
|
65678
|
+
* Default value: aes-256.
|
|
65679
|
+
*
|
|
65680
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65681
|
+
*
|
|
65682
|
+
* > This parameter is not publicly available.
|
|
65683
|
+
*
|
|
65684
|
+
* @example
|
|
65685
|
+
* aes-256
|
|
65686
|
+
*/
|
|
65687
|
+
encryptAlgorithm?: string;
|
|
65688
|
+
/**
|
|
65689
|
+
* @remarks
|
|
65690
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
65691
|
+
*
|
|
65692
|
+
* * true
|
|
65693
|
+
* * false
|
|
65694
|
+
*
|
|
65695
|
+
* Default value: false.
|
|
65696
|
+
*
|
|
65697
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65698
|
+
*
|
|
65699
|
+
* @example
|
|
65700
|
+
* false
|
|
65701
|
+
*/
|
|
65702
|
+
encrypted?: string;
|
|
65703
|
+
/**
|
|
65704
|
+
* @remarks
|
|
65705
|
+
* The ID of the KMS key to use for the system disk.
|
|
65706
|
+
*
|
|
65707
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65708
|
+
*
|
|
65709
|
+
* @example
|
|
65710
|
+
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
65711
|
+
*/
|
|
65712
|
+
KMSKeyId?: string;
|
|
65713
|
+
/**
|
|
65714
|
+
* @remarks
|
|
65715
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
65716
|
+
*
|
|
65717
|
+
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
65718
|
+
*
|
|
65719
|
+
* > This parameter is available only if you set LaunchConfiguration.SystemDisk.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
65720
|
+
*
|
|
65721
|
+
* @example
|
|
65722
|
+
* 40000
|
|
65723
|
+
*/
|
|
65724
|
+
provisionedIops?: number;
|
|
65725
|
+
static names(): { [key: string]: string } {
|
|
65726
|
+
return {
|
|
65727
|
+
burstingEnabled: 'BurstingEnabled',
|
|
65728
|
+
encryptAlgorithm: 'EncryptAlgorithm',
|
|
65729
|
+
encrypted: 'Encrypted',
|
|
65730
|
+
KMSKeyId: 'KMSKeyId',
|
|
65731
|
+
provisionedIops: 'ProvisionedIops',
|
|
65732
|
+
};
|
|
65733
|
+
}
|
|
65734
|
+
|
|
65735
|
+
static types(): { [key: string]: any } {
|
|
65736
|
+
return {
|
|
65737
|
+
burstingEnabled: 'boolean',
|
|
65738
|
+
encryptAlgorithm: 'string',
|
|
65739
|
+
encrypted: 'string',
|
|
65740
|
+
KMSKeyId: 'string',
|
|
65741
|
+
provisionedIops: 'number',
|
|
65742
|
+
};
|
|
65743
|
+
}
|
|
65744
|
+
|
|
65745
|
+
constructor(map?: { [key: string]: any }) {
|
|
65746
|
+
super(map);
|
|
65747
|
+
}
|
|
65748
|
+
}
|
|
65749
|
+
|
|
65750
|
+
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag extends $tea.Model {
|
|
65751
|
+
/**
|
|
65752
|
+
* @remarks
|
|
65753
|
+
* The key of the tag. 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 acs: or aliyun. It cannot contain `http://` or `https://`. If both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
|
|
65754
|
+
*
|
|
65755
|
+
* @example
|
|
65756
|
+
* TestKey
|
|
65757
|
+
*/
|
|
65758
|
+
key?: string;
|
|
65759
|
+
/**
|
|
65760
|
+
* @remarks
|
|
65761
|
+
* The value of the tag. Valid values of N: 1 to 20. The tag value can be an empty string. It can be up to 128 characters in length. It cannot start with acs: or contain `http://` or `https://`. If both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
|
|
65762
|
+
*
|
|
65763
|
+
* @example
|
|
65764
|
+
* TestValue
|
|
65765
|
+
*/
|
|
65766
|
+
value?: string;
|
|
65767
|
+
static names(): { [key: string]: string } {
|
|
65768
|
+
return {
|
|
65769
|
+
key: 'Key',
|
|
65770
|
+
value: 'Value',
|
|
65771
|
+
};
|
|
65772
|
+
}
|
|
65773
|
+
|
|
65774
|
+
static types(): { [key: string]: any } {
|
|
65775
|
+
return {
|
|
65776
|
+
key: 'string',
|
|
65777
|
+
value: 'string',
|
|
65778
|
+
};
|
|
65779
|
+
}
|
|
65780
|
+
|
|
65781
|
+
constructor(map?: { [key: string]: any }) {
|
|
65782
|
+
super(map);
|
|
65783
|
+
}
|
|
65784
|
+
}
|
|
65785
|
+
|
|
65786
|
+
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends $tea.Model {
|
|
65787
|
+
/**
|
|
65788
|
+
* @remarks
|
|
65789
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
65790
|
+
*/
|
|
65791
|
+
arn?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn[];
|
|
65792
|
+
/**
|
|
65793
|
+
* @remarks
|
|
65794
|
+
* 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 Coordinated Universal Time (UTC).
|
|
65795
|
+
*
|
|
65796
|
+
* * If the value of `ss` is not `00`, the start time is automatically rounded down to the nearest minute based on the value of `mm`.
|
|
65797
|
+
* * The specified time must be at least 30 minutes later than the current time.
|
|
65798
|
+
* * The specified time can be at most three years later than the current time.
|
|
65799
|
+
*
|
|
65800
|
+
* @example
|
|
65801
|
+
* 2018-01-01T12:05:00Z
|
|
65802
|
+
*/
|
|
65803
|
+
autoReleaseTime?: string;
|
|
65804
|
+
/**
|
|
65805
|
+
* @remarks
|
|
65806
|
+
* The performance mode of the burstable instance. Valid values:
|
|
65807
|
+
*
|
|
65808
|
+
* * Standard: the standard mode. For more information, see the "Standard mode" section in the [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html) topic.
|
|
65809
|
+
* * Unlimited: the unlimited mode. For more information, see the "Unlimited mode" section in the [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html) topic.
|
|
65810
|
+
*
|
|
65811
|
+
* This parameter is empty by default.
|
|
65812
|
+
*
|
|
65813
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65814
|
+
*
|
|
65815
|
+
* @example
|
|
65816
|
+
* Standard
|
|
65817
|
+
*/
|
|
65818
|
+
creditSpecification?: string;
|
|
65819
|
+
/**
|
|
65820
|
+
* @remarks
|
|
65821
|
+
* The cloud disks in the extended configurations of the launch template.
|
|
65822
|
+
*/
|
|
65823
|
+
dataDisk?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk[];
|
|
65824
|
+
/**
|
|
65825
|
+
* @remarks
|
|
65826
|
+
* The ID of the deployment set.
|
|
65827
|
+
*
|
|
65828
|
+
* @example
|
|
65829
|
+
* ds-bp1frxuzdg87zh4p****
|
|
65830
|
+
*/
|
|
65831
|
+
deploymentSetId?: string;
|
|
65832
|
+
/**
|
|
65833
|
+
* @remarks
|
|
65834
|
+
* The instance hostname. Take note of the following items:
|
|
65835
|
+
*
|
|
65836
|
+
* * The hostname cannot start or end with a period (.) or hyphen (-). The hostname cannot contain consecutive periods (.) or hyphens (-).
|
|
65837
|
+
* * For Windows instances, the hostname must be 2 to 15 characters in length and cannot contain periods (.) or contain only digits. It can contain letters, digits, and hyphens (-).
|
|
65838
|
+
* * For instances that run other operating systems such as Linux, the hostname must be 2 to 64 characters in length. You can use periods (.) to separate a hostname into multiple segments. Each segment can contain letters, digits, and hyphens (-).
|
|
65839
|
+
* * You cannot specify both `LaunchConfiguration.HostName` and `LaunchConfiguration.HostNames.N`. Otherwise, an error is returned.
|
|
65840
|
+
* * When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65841
|
+
*
|
|
65842
|
+
* @example
|
|
65843
|
+
* k8s-node-[1,4]-ecshost
|
|
65844
|
+
*/
|
|
65845
|
+
hostName?: string;
|
|
65846
|
+
/**
|
|
65847
|
+
* @remarks
|
|
65848
|
+
* The hostname of instance N. You can use this parameter to specify different hostnames for multiple instances. Take note of the following items:
|
|
65849
|
+
*
|
|
65850
|
+
* - This parameter takes effect only when `AutoProvisioningGroupType` is set to instant.
|
|
65851
|
+
* - The value of N indicates the number of instances. Valid values of N: 1 to 1000. The value of N must be the same as the TotalTargetCapacity value.
|
|
65852
|
+
* - The hostname cannot start or end with a period (.) or hyphen (-). The hostname cannot contain consecutive periods (.) or hyphens (-).
|
|
65853
|
+
* - For Windows instances, the hostname must be 2 to 15 characters in length and cannot contain periods (.) or contain only digits. The hostname can contain letters, digits, and hyphens (-).
|
|
65854
|
+
* - For instances that run other operating systems such as Linux, the hostname must be 2 to 64 characters in length. You can use periods (.) to separate the hostname into multiple segments. Each segment can contain letters, digits, and hyphens (-).
|
|
65855
|
+
* - You cannot specify both `LaunchConfiguration.HostName` and `LaunchConfiguration.HostNames.N`. Otherwise, an error is returned.
|
|
65856
|
+
* - When both LaunchTemplateId and LaunchConfiguration.* parameters are specified, LaunchTemplateId takes precedence.
|
|
65857
|
+
*
|
|
65858
|
+
* @example
|
|
65859
|
+
* ecs-host-01
|
|
65860
|
+
*/
|
|
65861
|
+
hostNames?: string[];
|
|
65862
|
+
/**
|
|
65863
|
+
* @remarks
|
|
65864
|
+
* 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 letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
65865
|
+
*
|
|
65866
|
+
* @example
|
|
65867
|
+
* hangzhou-daily-update
|
|
65868
|
+
*/
|
|
65869
|
+
imageFamily?: string;
|
|
65870
|
+
/**
|
|
65871
|
+
* @remarks
|
|
65872
|
+
* The ID of the image to be used to create the instance. You can call the [DescribeImages](https://help.aliyun.com/document_detail/25534.html) operation to query available image resources. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65873
|
+
*
|
|
65874
|
+
* @example
|
|
65875
|
+
* m-bp1g7004ksh0oeuc****
|
|
65876
|
+
*/
|
|
65877
|
+
imageId?: string;
|
|
65878
|
+
/**
|
|
65879
|
+
* @remarks
|
|
65880
|
+
* The instance description. The description must be 2 to 256 characters in length. The description can contain letters and cannot start with `http://` or `https://`. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65881
|
+
*
|
|
65882
|
+
* @example
|
|
65883
|
+
* Instance_Description
|
|
65884
|
+
*/
|
|
65885
|
+
instanceDescription?: string;
|
|
65886
|
+
/**
|
|
65887
|
+
* @remarks
|
|
65888
|
+
* The instance name. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
65889
|
+
*
|
|
65890
|
+
* The default value of this parameter is the `InstanceId` value.
|
|
65891
|
+
*
|
|
65892
|
+
* When you batch create instances, you can batch configure sequential names for the instances. For more information, see [Batch configure sequential names or hostnames for multiple instances](https://help.aliyun.com/document_detail/196048.html).
|
|
65893
|
+
*
|
|
65894
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65895
|
+
*
|
|
65896
|
+
* @example
|
|
65897
|
+
* k8s-node-[1,4]-alibabacloud
|
|
65898
|
+
*/
|
|
65899
|
+
instanceName?: string;
|
|
65900
|
+
/**
|
|
65901
|
+
* @remarks
|
|
65902
|
+
* The billing method for network usage. Valid values:
|
|
65903
|
+
*
|
|
65904
|
+
* * PayByBandwidth: pay-by-bandwidth
|
|
65905
|
+
* * PayByTraffic: pay-by-traffic
|
|
65906
|
+
*
|
|
65907
|
+
* > When the pay-by-traffic billing method for network usage is used, the maximum inbound and outbound bandwidth values are used as the upper limits of bandwidth instead of guaranteed performance specifications. When demands outstrip resource supplies, the maximum bandwidths may be limited. If you want guaranteed bandwidth for your instance, use the pay-by-bandwidth billing method.
|
|
65908
|
+
*
|
|
65909
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65910
|
+
*
|
|
65911
|
+
* @example
|
|
65912
|
+
* PayByTraffic
|
|
65913
|
+
*/
|
|
65914
|
+
internetChargeType?: string;
|
|
65915
|
+
/**
|
|
65916
|
+
* @remarks
|
|
65917
|
+
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
65918
|
+
*
|
|
65919
|
+
* * When the maximum outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10 and the default value is 10.
|
|
65920
|
+
* * When the maximum outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `LaunchConfiguration.InternetMaxBandwidthOut`, and the default value is the value of `LaunchConfiguration.InternetMaxBandwidthOut`.
|
|
65921
|
+
*
|
|
65922
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65923
|
+
*
|
|
65924
|
+
* @example
|
|
65925
|
+
* 10
|
|
65926
|
+
*/
|
|
65927
|
+
internetMaxBandwidthIn?: number;
|
|
65928
|
+
/**
|
|
65929
|
+
* @remarks
|
|
65930
|
+
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
65931
|
+
*
|
|
65932
|
+
* Default value: 0.
|
|
65933
|
+
*
|
|
65934
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65935
|
+
*
|
|
65936
|
+
* @example
|
|
65937
|
+
* 10
|
|
65938
|
+
*/
|
|
65939
|
+
internetMaxBandwidthOut?: number;
|
|
65940
|
+
/**
|
|
65941
|
+
* @remarks
|
|
65942
|
+
* Specifies whether the instance is I/O optimized. Valid values:
|
|
65943
|
+
*
|
|
65944
|
+
* * none: The instance is not I/O optimized.
|
|
65945
|
+
* * optimized: The instance is I/O optimized.
|
|
65946
|
+
*
|
|
65947
|
+
* For instances of retired instance types, the default value is none. For instances of other instance types, the default value is optimized.
|
|
65948
|
+
*
|
|
65949
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65950
|
+
*
|
|
65951
|
+
* @example
|
|
65952
|
+
* optimized
|
|
65953
|
+
*/
|
|
65954
|
+
ioOptimized?: string;
|
|
65955
|
+
/**
|
|
65956
|
+
* @remarks
|
|
65957
|
+
* The key pair name.
|
|
65958
|
+
*
|
|
65959
|
+
* * For Windows instances, this parameter is ignored. This parameter is empty by default.
|
|
65960
|
+
* * By default, password-based logon is disabled for Linux instances.
|
|
65961
|
+
*
|
|
65962
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65963
|
+
*
|
|
65964
|
+
* @example
|
|
65965
|
+
* KeyPair_Name
|
|
65966
|
+
*/
|
|
65967
|
+
keyPairName?: string;
|
|
65968
|
+
/**
|
|
65969
|
+
* @remarks
|
|
65970
|
+
* The instance password. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
|
|
65971
|
+
*
|
|
65972
|
+
* ``( ) ` ~ ! @ # $ % ^ & * - _ + = | { } ``: ; \\" < > , . ? /`` For Windows instances, the password cannot start with a forward slash (/). When both LaunchTemplateId and LaunchConfiguration.* parameters are specified, LaunchTemplateId takes precedence. `
|
|
65973
|
+
*
|
|
65974
|
+
* @example
|
|
65975
|
+
* EcsV587!
|
|
65976
|
+
*/
|
|
65977
|
+
password?: string;
|
|
65978
|
+
/**
|
|
65979
|
+
* @remarks
|
|
65980
|
+
* Specifies whether to use the password preset in the image. Valid values:
|
|
65981
|
+
*
|
|
65982
|
+
* * true: uses the password preset in the image.
|
|
65983
|
+
* * false: does not use the password preset in the image.
|
|
65984
|
+
*
|
|
65985
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65986
|
+
*
|
|
65987
|
+
* @example
|
|
65988
|
+
* true
|
|
65989
|
+
*/
|
|
65990
|
+
passwordInherit?: boolean;
|
|
65991
|
+
/**
|
|
65992
|
+
* @remarks
|
|
65993
|
+
* The name of the instance Resource Access Management (RAM) role. You can call the [ListRoles](https://help.aliyun.com/document_detail/28713.html) operation provided by RAM to query the instance RAM roles that you created. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
65994
|
+
*
|
|
65995
|
+
* @example
|
|
65996
|
+
* RAM_Name
|
|
65997
|
+
*/
|
|
65998
|
+
ramRoleName?: string;
|
|
65999
|
+
/**
|
|
66000
|
+
* @remarks
|
|
66001
|
+
* The ID of the resource group to which to assign the instance. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
66002
|
+
*
|
|
66003
|
+
* @example
|
|
66004
|
+
* rg-bp67acfmxazb4p****
|
|
66005
|
+
*/
|
|
66006
|
+
resourceGroupId?: string;
|
|
66007
|
+
/**
|
|
66008
|
+
* @remarks
|
|
66009
|
+
* Specifies whether to enable security hardening. Valid values:
|
|
66010
|
+
*
|
|
66011
|
+
* * Active: enables security hardening. This value is applicable only to public images.
|
|
66012
|
+
* * Deactive: disables security hardening. This value is applicable to all image types.
|
|
66013
|
+
*
|
|
66014
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
66015
|
+
*
|
|
66016
|
+
* @example
|
|
66017
|
+
* Active
|
|
66018
|
+
*/
|
|
66019
|
+
securityEnhancementStrategy?: string;
|
|
66020
|
+
/**
|
|
66021
|
+
* @remarks
|
|
66022
|
+
* The ID of the security group to which to assign the instance. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
66023
|
+
*
|
|
66024
|
+
* @example
|
|
66025
|
+
* sg-bp15ed6xe1yxeycg****
|
|
66026
|
+
*/
|
|
66027
|
+
securityGroupId?: string;
|
|
66028
|
+
/**
|
|
66029
|
+
* @remarks
|
|
66030
|
+
* The IDs of the security groups to which the new ECS instances belong.
|
|
66031
|
+
*/
|
|
66032
|
+
securityGroupIds?: string[];
|
|
66033
|
+
/**
|
|
66034
|
+
* @remarks
|
|
66035
|
+
* The system disk information of instances. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
66036
|
+
*/
|
|
66037
|
+
systemDisk?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk;
|
|
66038
|
+
/**
|
|
66039
|
+
* @remarks
|
|
66040
|
+
* The category of the system disk. Valid values:
|
|
66041
|
+
*
|
|
66042
|
+
* * cloud_efficiency: ultra disk
|
|
66043
|
+
* * cloud_ssd: standard SSD
|
|
66044
|
+
* * cloud_essd: enhanced SSD (ESSD)
|
|
66045
|
+
* * cloud: basic disk
|
|
66046
|
+
*
|
|
66047
|
+
* For non-I/O optimized instances of retired instance types, the default value is cloud. For other instances, the default value is cloud_efficiency.
|
|
66048
|
+
*
|
|
66049
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
66050
|
+
*
|
|
66051
|
+
* @example
|
|
66052
|
+
* cloud_ssd
|
|
66053
|
+
*/
|
|
66054
|
+
systemDiskCategory?: string;
|
|
66055
|
+
/**
|
|
66056
|
+
* @remarks
|
|
66057
|
+
* The description of the system disk. The description must be 2 to 256 characters in length. The description can contain letters and cannot start with `http://` or `https://`.
|
|
66058
|
+
*
|
|
66059
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
66060
|
+
*
|
|
66061
|
+
* @example
|
|
66062
|
+
* SystemDisk_Description
|
|
66063
|
+
*/
|
|
66064
|
+
systemDiskDescription?: string;
|
|
66065
|
+
/**
|
|
66066
|
+
* @remarks
|
|
66067
|
+
* The name of the system disk. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
66068
|
+
*
|
|
66069
|
+
* This parameter is empty by default.
|
|
66070
|
+
*
|
|
66071
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
66072
|
+
*
|
|
66073
|
+
* @example
|
|
66074
|
+
* cloud_ssdSystem
|
|
66075
|
+
*/
|
|
66076
|
+
systemDiskName?: string;
|
|
66077
|
+
/**
|
|
66078
|
+
* @remarks
|
|
66079
|
+
* The performance level of the ESSD to be used as the system disk. Valid values:
|
|
66080
|
+
*
|
|
66081
|
+
* * PL0 (default): A single ESSD can deliver up to 10,000 random read/write IOPS.
|
|
66082
|
+
* * PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
|
|
66083
|
+
* * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
|
|
66084
|
+
* * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
|
|
66085
|
+
*
|
|
66086
|
+
* For more information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
66087
|
+
*
|
|
66088
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
66089
|
+
*
|
|
66090
|
+
* @example
|
|
66091
|
+
* PL0
|
|
66092
|
+
*/
|
|
66093
|
+
systemDiskPerformanceLevel?: string;
|
|
66094
|
+
/**
|
|
66095
|
+
* @remarks
|
|
66096
|
+
* The size of the system disk. Valid values: 20 to 500. Unit: GiB. The value must be at least 20 and greater than or equal to the size of the image specified by LaunchConfiguration.ImageId.
|
|
66097
|
+
*
|
|
66098
|
+
* Default value: 40 or the size of the image specified by LaunchConfiguration.ImageId, whichever is greater.
|
|
66099
|
+
*
|
|
66100
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
66101
|
+
*
|
|
66102
|
+
* @example
|
|
66103
|
+
* 40
|
|
66104
|
+
*/
|
|
66105
|
+
systemDiskSize?: number;
|
|
66106
|
+
/**
|
|
66107
|
+
* @remarks
|
|
66108
|
+
* The tag in the extended configurations of the launch template.
|
|
66109
|
+
*/
|
|
66110
|
+
tag?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag[];
|
|
66111
|
+
/**
|
|
66112
|
+
* @remarks
|
|
66113
|
+
* The instance user data. The user data must be encoded in Base64. The raw data can be up to 32 KB in size. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
66114
|
+
*
|
|
66115
|
+
* @example
|
|
66116
|
+
* ZWNobyBoZWxsbyBlY3Mh
|
|
66117
|
+
*/
|
|
66118
|
+
userData?: string;
|
|
66119
|
+
static names(): { [key: string]: string } {
|
|
66120
|
+
return {
|
|
66121
|
+
arn: 'Arn',
|
|
66122
|
+
autoReleaseTime: 'AutoReleaseTime',
|
|
66123
|
+
creditSpecification: 'CreditSpecification',
|
|
66124
|
+
dataDisk: 'DataDisk',
|
|
66125
|
+
deploymentSetId: 'DeploymentSetId',
|
|
66126
|
+
hostName: 'HostName',
|
|
66127
|
+
hostNames: 'HostNames',
|
|
66128
|
+
imageFamily: 'ImageFamily',
|
|
66129
|
+
imageId: 'ImageId',
|
|
66130
|
+
instanceDescription: 'InstanceDescription',
|
|
66131
|
+
instanceName: 'InstanceName',
|
|
66132
|
+
internetChargeType: 'InternetChargeType',
|
|
66133
|
+
internetMaxBandwidthIn: 'InternetMaxBandwidthIn',
|
|
66134
|
+
internetMaxBandwidthOut: 'InternetMaxBandwidthOut',
|
|
66135
|
+
ioOptimized: 'IoOptimized',
|
|
66136
|
+
keyPairName: 'KeyPairName',
|
|
66137
|
+
password: 'Password',
|
|
66138
|
+
passwordInherit: 'PasswordInherit',
|
|
66139
|
+
ramRoleName: 'RamRoleName',
|
|
66140
|
+
resourceGroupId: 'ResourceGroupId',
|
|
66141
|
+
securityEnhancementStrategy: 'SecurityEnhancementStrategy',
|
|
66142
|
+
securityGroupId: 'SecurityGroupId',
|
|
66143
|
+
securityGroupIds: 'SecurityGroupIds',
|
|
66144
|
+
systemDisk: 'SystemDisk',
|
|
66145
|
+
systemDiskCategory: 'SystemDiskCategory',
|
|
66146
|
+
systemDiskDescription: 'SystemDiskDescription',
|
|
66147
|
+
systemDiskName: 'SystemDiskName',
|
|
66148
|
+
systemDiskPerformanceLevel: 'SystemDiskPerformanceLevel',
|
|
66149
|
+
systemDiskSize: 'SystemDiskSize',
|
|
66150
|
+
tag: 'Tag',
|
|
66151
|
+
userData: 'UserData',
|
|
66152
|
+
};
|
|
66153
|
+
}
|
|
66154
|
+
|
|
66155
|
+
static types(): { [key: string]: any } {
|
|
66156
|
+
return {
|
|
66157
|
+
arn: { 'type': 'array', 'itemType': CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn },
|
|
66158
|
+
autoReleaseTime: 'string',
|
|
66159
|
+
creditSpecification: 'string',
|
|
66160
|
+
dataDisk: { 'type': 'array', 'itemType': CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk },
|
|
66161
|
+
deploymentSetId: 'string',
|
|
66162
|
+
hostName: 'string',
|
|
66163
|
+
hostNames: { 'type': 'array', 'itemType': 'string' },
|
|
66164
|
+
imageFamily: 'string',
|
|
66165
|
+
imageId: 'string',
|
|
66166
|
+
instanceDescription: 'string',
|
|
66167
|
+
instanceName: 'string',
|
|
66168
|
+
internetChargeType: 'string',
|
|
66169
|
+
internetMaxBandwidthIn: 'number',
|
|
66170
|
+
internetMaxBandwidthOut: 'number',
|
|
66171
|
+
ioOptimized: 'string',
|
|
66172
|
+
keyPairName: 'string',
|
|
66173
|
+
password: 'string',
|
|
66174
|
+
passwordInherit: 'boolean',
|
|
66175
|
+
ramRoleName: 'string',
|
|
66176
|
+
resourceGroupId: 'string',
|
|
66177
|
+
securityEnhancementStrategy: 'string',
|
|
66178
|
+
securityGroupId: 'string',
|
|
66179
|
+
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
66180
|
+
systemDisk: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk,
|
|
66181
|
+
systemDiskCategory: 'string',
|
|
66182
|
+
systemDiskDescription: 'string',
|
|
66183
|
+
systemDiskName: 'string',
|
|
66184
|
+
systemDiskPerformanceLevel: 'string',
|
|
66185
|
+
systemDiskSize: 'number',
|
|
66186
|
+
tag: { 'type': 'array', 'itemType': CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag },
|
|
66187
|
+
userData: 'string',
|
|
66188
|
+
};
|
|
66189
|
+
}
|
|
66190
|
+
|
|
66191
|
+
constructor(map?: { [key: string]: any }) {
|
|
66192
|
+
super(map);
|
|
66193
|
+
}
|
|
66194
|
+
}
|
|
66195
|
+
|
|
66196
|
+
export class CreateAutoProvisioningGroupShrinkRequestDataDiskConfig extends $tea.Model {
|
|
66197
|
+
/**
|
|
66198
|
+
* @remarks
|
|
66199
|
+
* The category of data disk N. You can use this parameter to specify multiple disk categories, and the disk categories are prioritized in the order in which they are specified. If a specified disk category is unavailable, the system uses the next available disk category. Valid values:
|
|
66200
|
+
*
|
|
66201
|
+
* - cloud_efficiency: ultra disk
|
|
66202
|
+
* - cloud_ssd: standard SSD
|
|
66203
|
+
* - cloud_essd: ESSD
|
|
66204
|
+
* - cloud: basic disk
|
|
66205
|
+
*
|
|
66206
|
+
* @example
|
|
66207
|
+
* cloud_efficiency
|
|
66208
|
+
*/
|
|
66209
|
+
diskCategory?: string;
|
|
66210
|
+
static names(): { [key: string]: string } {
|
|
66211
|
+
return {
|
|
66212
|
+
diskCategory: 'DiskCategory',
|
|
66213
|
+
};
|
|
66214
|
+
}
|
|
66215
|
+
|
|
66216
|
+
static types(): { [key: string]: any } {
|
|
66217
|
+
return {
|
|
66218
|
+
diskCategory: 'string',
|
|
66219
|
+
};
|
|
66220
|
+
}
|
|
66221
|
+
|
|
66222
|
+
constructor(map?: { [key: string]: any }) {
|
|
66223
|
+
super(map);
|
|
66224
|
+
}
|
|
66225
|
+
}
|
|
66226
|
+
|
|
66227
|
+
export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extends $tea.Model {
|
|
66228
|
+
/**
|
|
66229
|
+
* @remarks
|
|
66230
|
+
* The architectures of the instance types.
|
|
66231
|
+
*/
|
|
66232
|
+
architectures?: string[];
|
|
66233
|
+
/**
|
|
66234
|
+
* @remarks
|
|
66235
|
+
* Specifies whether to include burstable instance types. Valid values:
|
|
66236
|
+
*
|
|
66237
|
+
* * Exclude: does not include burstable instance types.
|
|
66238
|
+
* * Include: includes burstable instance types.
|
|
66239
|
+
* * Required: includes only burstable instance types.
|
|
66240
|
+
*
|
|
66241
|
+
* Default value: Include.
|
|
66242
|
+
*
|
|
66243
|
+
* @example
|
|
66244
|
+
* Include
|
|
66245
|
+
*/
|
|
66246
|
+
burstablePerformance?: string;
|
|
66247
|
+
/**
|
|
66248
|
+
* @remarks
|
|
66249
|
+
* The number of vCPU cores of the instance type.
|
|
66250
|
+
*/
|
|
66251
|
+
cores?: number[];
|
|
66252
|
+
/**
|
|
66253
|
+
* @remarks
|
|
66254
|
+
* The instance types that you want to exclude.
|
|
66255
|
+
*/
|
|
66256
|
+
excludedInstanceTypes?: string[];
|
|
66257
|
+
/**
|
|
66258
|
+
* @remarks
|
|
66259
|
+
* The instance family level of the instance type in extended configuration N. This parameter is used to filter instance types. Valid values:
|
|
66260
|
+
*
|
|
66261
|
+
* * EntryLevel: entry level (shared instance types). Instance types of this level are the most cost-effective but may not provide stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
|
|
66262
|
+
* * EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources and are suitable for scenarios that require high stability. For more information, see the [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) topic.
|
|
66263
|
+
* * CreditEntryLevel: credit entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
66264
|
+
*
|
|
66265
|
+
* Valid values of N: 1 to 10.
|
|
66266
|
+
*
|
|
66267
|
+
* @example
|
|
66268
|
+
* EnterpriseLevel
|
|
66269
|
+
*/
|
|
66270
|
+
instanceFamilyLevel?: string;
|
|
66271
|
+
/**
|
|
66272
|
+
* @remarks
|
|
66273
|
+
* The instance type in extended configuration N. Valid values of N: 1 to 20. For more information about the valid values of this parameter, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
66274
|
+
*
|
|
66275
|
+
* @example
|
|
66276
|
+
* ecs.g5.large
|
|
66277
|
+
*/
|
|
66278
|
+
instanceType?: string;
|
|
66279
|
+
/**
|
|
66280
|
+
* @remarks
|
|
66281
|
+
* The maximum price of preemptible instances in extended configuration N.
|
|
66282
|
+
*
|
|
66283
|
+
* > If you specify one or more other `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
|
|
66284
|
+
*
|
|
66285
|
+
* @example
|
|
66286
|
+
* 3
|
|
66287
|
+
*/
|
|
66288
|
+
maxPrice?: number;
|
|
66289
|
+
/**
|
|
66290
|
+
* @remarks
|
|
66291
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
66292
|
+
*
|
|
66293
|
+
* @example
|
|
66294
|
+
* false
|
|
66295
|
+
*/
|
|
66296
|
+
maxQuantity?: number;
|
|
66297
|
+
/**
|
|
66298
|
+
* @remarks
|
|
66299
|
+
* The memory sizes of the instance type.
|
|
66300
|
+
*/
|
|
66301
|
+
memories?: number[];
|
|
66302
|
+
/**
|
|
66303
|
+
* @remarks
|
|
66304
|
+
* The priority of extended configuration N. A value of 0 indicates the highest priority. Valid values: 0 to ∞.
|
|
66305
|
+
*
|
|
66306
|
+
* @example
|
|
66307
|
+
* 1
|
|
66308
|
+
*/
|
|
66309
|
+
priority?: number;
|
|
66310
|
+
/**
|
|
66311
|
+
* @remarks
|
|
66312
|
+
* The ID of the vSwitch in extended configuration N. The zone of the ECS instances created from the extended configuration is determined by the vSwitch.
|
|
66313
|
+
*
|
|
66314
|
+
* > If you specify one or more other `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.VSwitchId`.
|
|
66315
|
+
*
|
|
66316
|
+
* @example
|
|
66317
|
+
* vsw-sn5bsitu4lfzgc5o7****
|
|
66318
|
+
*/
|
|
66319
|
+
vSwitchId?: string;
|
|
66320
|
+
/**
|
|
66321
|
+
* @remarks
|
|
66322
|
+
* The weight of the instance type in extended configuration N. A greater weight indicates that a single instance has more computing power and fewer instances are required. The value must be greater than 0.
|
|
66323
|
+
*
|
|
66324
|
+
* The weight is calculated based on the computing power of the specified instance type and the minimum computing power of a single instance in the cluster to be created by the auto provisioning group. For example, assume that the minimum computing power of a single instance is 8 vCPUs and 60 GiB of memory.
|
|
66325
|
+
*
|
|
66326
|
+
* * For an instance type with 8 vCPUs and 60 GiB of memory, you can set the weight to 1.
|
|
66327
|
+
* * For an instance type with 16 vCPUs and 120 GiB of memory, you can set the weight to 2.
|
|
66328
|
+
*
|
|
66329
|
+
* @example
|
|
66330
|
+
* 2
|
|
66331
|
+
*/
|
|
66332
|
+
weightedCapacity?: number;
|
|
66333
|
+
static names(): { [key: string]: string } {
|
|
66334
|
+
return {
|
|
66335
|
+
architectures: 'Architectures',
|
|
66336
|
+
burstablePerformance: 'BurstablePerformance',
|
|
66337
|
+
cores: 'Cores',
|
|
66338
|
+
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
66339
|
+
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
66340
|
+
instanceType: 'InstanceType',
|
|
66341
|
+
maxPrice: 'MaxPrice',
|
|
66342
|
+
maxQuantity: 'MaxQuantity',
|
|
66343
|
+
memories: 'Memories',
|
|
66344
|
+
priority: 'Priority',
|
|
66345
|
+
vSwitchId: 'VSwitchId',
|
|
66346
|
+
weightedCapacity: 'WeightedCapacity',
|
|
66347
|
+
};
|
|
66348
|
+
}
|
|
66349
|
+
|
|
66350
|
+
static types(): { [key: string]: any } {
|
|
66351
|
+
return {
|
|
66352
|
+
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
66353
|
+
burstablePerformance: 'string',
|
|
66354
|
+
cores: { 'type': 'array', 'itemType': 'number' },
|
|
66355
|
+
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
66356
|
+
instanceFamilyLevel: 'string',
|
|
66357
|
+
instanceType: 'string',
|
|
66358
|
+
maxPrice: 'number',
|
|
66359
|
+
maxQuantity: 'number',
|
|
66360
|
+
memories: { 'type': 'array', 'itemType': 'number' },
|
|
66361
|
+
priority: 'number',
|
|
66362
|
+
vSwitchId: 'string',
|
|
66363
|
+
weightedCapacity: 'number',
|
|
66364
|
+
};
|
|
66365
|
+
}
|
|
66366
|
+
|
|
66367
|
+
constructor(map?: { [key: string]: any }) {
|
|
66368
|
+
super(map);
|
|
66369
|
+
}
|
|
66370
|
+
}
|
|
66371
|
+
|
|
66372
|
+
export class CreateAutoProvisioningGroupShrinkRequestSystemDiskConfig extends $tea.Model {
|
|
66373
|
+
/**
|
|
66374
|
+
* @remarks
|
|
66375
|
+
* The category of the system disk. You can specify multiple disk categories, and the disk categories are prioritized in the order in which they are specified. If a specified disk category is unavailable, the system uses the next available disk category. Valid values:
|
|
66376
|
+
*
|
|
66377
|
+
* - cloud_efficiency: ultra disk.
|
|
66378
|
+
* - cloud_ssd: standard SSD.
|
|
66379
|
+
* - cloud_essd: ESSD
|
|
66380
|
+
* - cloud: basic disk.
|
|
66381
|
+
*
|
|
66382
|
+
* @example
|
|
66383
|
+
* cloud_ssd
|
|
66384
|
+
*/
|
|
66385
|
+
diskCategory?: string;
|
|
66386
|
+
static names(): { [key: string]: string } {
|
|
66387
|
+
return {
|
|
66388
|
+
diskCategory: 'DiskCategory',
|
|
66389
|
+
};
|
|
66390
|
+
}
|
|
66391
|
+
|
|
66392
|
+
static types(): { [key: string]: any } {
|
|
66393
|
+
return {
|
|
66394
|
+
diskCategory: 'string',
|
|
66395
|
+
};
|
|
66396
|
+
}
|
|
66397
|
+
|
|
66398
|
+
constructor(map?: { [key: string]: any }) {
|
|
66399
|
+
super(map);
|
|
66400
|
+
}
|
|
66401
|
+
}
|
|
66402
|
+
|
|
66403
|
+
export class CreateAutoProvisioningGroupShrinkRequestTag extends $tea.Model {
|
|
66404
|
+
/**
|
|
66405
|
+
* @remarks
|
|
66406
|
+
* The key of tag N to add to the auto provisioning group.
|
|
66407
|
+
*
|
|
66408
|
+
* 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. It cannot start with aliyun or acs: and cannot contain http:// or https://.
|
|
66409
|
+
*
|
|
66410
|
+
* @example
|
|
66411
|
+
* TestKey
|
|
66412
|
+
*/
|
|
66413
|
+
key?: string;
|
|
66414
|
+
/**
|
|
66415
|
+
* @remarks
|
|
66416
|
+
* The value of tag N to add to the auto provisioning group.
|
|
66417
|
+
*
|
|
66418
|
+
* 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://.
|
|
66419
|
+
*
|
|
66420
|
+
* @example
|
|
66421
|
+
* TestValue
|
|
66422
|
+
*/
|
|
66423
|
+
value?: string;
|
|
66424
|
+
static names(): { [key: string]: string } {
|
|
66425
|
+
return {
|
|
66426
|
+
key: 'Key',
|
|
66427
|
+
value: 'Value',
|
|
66428
|
+
};
|
|
66429
|
+
}
|
|
66430
|
+
|
|
66431
|
+
static types(): { [key: string]: any } {
|
|
66432
|
+
return {
|
|
66433
|
+
key: 'string',
|
|
66434
|
+
value: 'string',
|
|
66435
|
+
};
|
|
66436
|
+
}
|
|
66437
|
+
|
|
66438
|
+
constructor(map?: { [key: string]: any }) {
|
|
66439
|
+
super(map);
|
|
66440
|
+
}
|
|
66441
|
+
}
|
|
66442
|
+
|
|
66443
|
+
export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds extends $tea.Model {
|
|
66444
|
+
instanceId?: string[];
|
|
66445
|
+
static names(): { [key: string]: string } {
|
|
66446
|
+
return {
|
|
66447
|
+
instanceId: 'InstanceId',
|
|
66448
|
+
};
|
|
66449
|
+
}
|
|
66450
|
+
|
|
66451
|
+
static types(): { [key: string]: any } {
|
|
66452
|
+
return {
|
|
66453
|
+
instanceId: { 'type': 'array', 'itemType': 'string' },
|
|
66454
|
+
};
|
|
66455
|
+
}
|
|
66456
|
+
|
|
66457
|
+
constructor(map?: { [key: string]: any }) {
|
|
66458
|
+
super(map);
|
|
66459
|
+
}
|
|
66460
|
+
}
|
|
66461
|
+
|
|
66462
|
+
export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult extends $tea.Model {
|
|
66463
|
+
/**
|
|
66464
|
+
* @remarks
|
|
66465
|
+
* The number of created instances.
|
|
66466
|
+
*
|
|
66467
|
+
* @example
|
|
66468
|
+
* 1
|
|
66469
|
+
*/
|
|
66470
|
+
amount?: number;
|
|
66471
|
+
/**
|
|
66472
|
+
* @remarks
|
|
66473
|
+
* The error code returned when the instance cannot be created.
|
|
66474
|
+
*
|
|
66475
|
+
* @example
|
|
66476
|
+
* InvalidParameter
|
|
66477
|
+
*/
|
|
66478
|
+
errorCode?: string;
|
|
66479
|
+
/**
|
|
66480
|
+
* @remarks
|
|
66481
|
+
* The error message returned when the instance cannot be created.
|
|
66482
|
+
*
|
|
66483
|
+
* @example
|
|
66484
|
+
* Specific parameter is not valid.
|
|
66485
|
+
*/
|
|
66486
|
+
errorMsg?: string;
|
|
66487
|
+
/**
|
|
66488
|
+
* @remarks
|
|
66489
|
+
* The IDs of created instances.
|
|
66490
|
+
*/
|
|
66491
|
+
instanceIds?: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds;
|
|
66492
|
+
/**
|
|
66493
|
+
* @remarks
|
|
66494
|
+
* The instance type of the instance.
|
|
66495
|
+
*
|
|
66496
|
+
* @example
|
|
66497
|
+
* ecs.g5.large
|
|
66498
|
+
*/
|
|
66499
|
+
instanceType?: string;
|
|
66500
|
+
/**
|
|
66501
|
+
* @remarks
|
|
66502
|
+
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
66503
|
+
*
|
|
66504
|
+
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
66505
|
+
* * SpotWithPriceLimit: The instance is a preemptible instance for which you specify the maximum hourly price.
|
|
66506
|
+
* * SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is used as the bid price.
|
|
66507
|
+
*
|
|
66508
|
+
* @example
|
|
66509
|
+
* NoSpot
|
|
66510
|
+
*/
|
|
66511
|
+
spotStrategy?: string;
|
|
66512
|
+
/**
|
|
66513
|
+
* @remarks
|
|
66514
|
+
* The zone ID of the instance.
|
|
66515
|
+
*
|
|
66516
|
+
* @example
|
|
66517
|
+
* cn-hangzhou-g
|
|
66518
|
+
*/
|
|
66519
|
+
zoneId?: string;
|
|
66520
|
+
static names(): { [key: string]: string } {
|
|
66521
|
+
return {
|
|
66522
|
+
amount: 'Amount',
|
|
66523
|
+
errorCode: 'ErrorCode',
|
|
66524
|
+
errorMsg: 'ErrorMsg',
|
|
66525
|
+
instanceIds: 'InstanceIds',
|
|
66526
|
+
instanceType: 'InstanceType',
|
|
66527
|
+
spotStrategy: 'SpotStrategy',
|
|
66528
|
+
zoneId: 'ZoneId',
|
|
66529
|
+
};
|
|
66530
|
+
}
|
|
66531
|
+
|
|
66532
|
+
static types(): { [key: string]: any } {
|
|
66533
|
+
return {
|
|
66534
|
+
amount: 'number',
|
|
66535
|
+
errorCode: 'string',
|
|
66536
|
+
errorMsg: 'string',
|
|
66537
|
+
instanceIds: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds,
|
|
66538
|
+
instanceType: 'string',
|
|
66539
|
+
spotStrategy: 'string',
|
|
66540
|
+
zoneId: 'string',
|
|
66541
|
+
};
|
|
66542
|
+
}
|
|
66543
|
+
|
|
66544
|
+
constructor(map?: { [key: string]: any }) {
|
|
66545
|
+
super(map);
|
|
66546
|
+
}
|
|
66547
|
+
}
|
|
66548
|
+
|
|
66549
|
+
export class CreateAutoProvisioningGroupResponseBodyLaunchResults extends $tea.Model {
|
|
66550
|
+
launchResult?: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult[];
|
|
66551
|
+
static names(): { [key: string]: string } {
|
|
66552
|
+
return {
|
|
66553
|
+
launchResult: 'LaunchResult',
|
|
66554
|
+
};
|
|
66555
|
+
}
|
|
66556
|
+
|
|
66557
|
+
static types(): { [key: string]: any } {
|
|
66558
|
+
return {
|
|
66559
|
+
launchResult: { 'type': 'array', 'itemType': CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult },
|
|
66560
|
+
};
|
|
66561
|
+
}
|
|
66562
|
+
|
|
66563
|
+
constructor(map?: { [key: string]: any }) {
|
|
66564
|
+
super(map);
|
|
66565
|
+
}
|
|
66566
|
+
}
|
|
66567
|
+
|
|
66568
|
+
export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn extends $tea.Model {
|
|
66569
|
+
/**
|
|
66570
|
+
* @remarks
|
|
66571
|
+
* This parameter is not publicly available.
|
|
66572
|
+
*
|
|
66573
|
+
* @example
|
|
66574
|
+
* 1000000000
|
|
66575
|
+
*/
|
|
66576
|
+
assumeRoleFor?: number;
|
|
66577
|
+
/**
|
|
66578
|
+
* @remarks
|
|
66579
|
+
* This parameter is not publicly available.
|
|
66580
|
+
*
|
|
66581
|
+
* @example
|
|
66582
|
+
* hide
|
|
66583
|
+
*/
|
|
66584
|
+
roleType?: string;
|
|
66585
|
+
/**
|
|
66586
|
+
* @remarks
|
|
66587
|
+
* This parameter is not publicly available.
|
|
66588
|
+
*
|
|
66589
|
+
* @example
|
|
66590
|
+
* hide
|
|
66591
|
+
*/
|
|
66592
|
+
rolearn?: string;
|
|
66593
|
+
static names(): { [key: string]: string } {
|
|
66594
|
+
return {
|
|
66595
|
+
assumeRoleFor: 'AssumeRoleFor',
|
|
66596
|
+
roleType: 'RoleType',
|
|
66597
|
+
rolearn: 'Rolearn',
|
|
66598
|
+
};
|
|
66599
|
+
}
|
|
66600
|
+
|
|
66601
|
+
static types(): { [key: string]: any } {
|
|
66602
|
+
return {
|
|
66603
|
+
assumeRoleFor: 'number',
|
|
66604
|
+
roleType: 'string',
|
|
66605
|
+
rolearn: 'string',
|
|
66606
|
+
};
|
|
66607
|
+
}
|
|
66608
|
+
|
|
66609
|
+
constructor(map?: { [key: string]: any }) {
|
|
66610
|
+
super(map);
|
|
66611
|
+
}
|
|
66612
|
+
}
|
|
66613
|
+
|
|
66614
|
+
export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfiguration extends $tea.Model {
|
|
66615
|
+
/**
|
|
66616
|
+
* @remarks
|
|
66617
|
+
* This parameter is not publicly available.
|
|
66618
|
+
*/
|
|
66619
|
+
arn?: CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn[];
|
|
66620
|
+
/**
|
|
66621
|
+
* @remarks
|
|
66622
|
+
* Specifies whether to enable cross-region snapshot replication and encryption. Valid values:
|
|
66623
|
+
*
|
|
66624
|
+
* * true
|
|
66625
|
+
* * false
|
|
66626
|
+
*
|
|
66627
|
+
* Default value: false.
|
|
66628
|
+
*
|
|
66629
|
+
* @example
|
|
66630
|
+
* false
|
|
66631
|
+
*/
|
|
66632
|
+
encrypted?: boolean;
|
|
66633
|
+
/**
|
|
66634
|
+
* @remarks
|
|
66635
|
+
* The ID of the KMS key used in cross-region snapshot replication and encryption.
|
|
66636
|
+
*
|
|
66637
|
+
* @example
|
|
66638
|
+
* 0e478b7a-4262-4802-b8cb-00d3fb40826X
|
|
66639
|
+
*/
|
|
66640
|
+
KMSKeyId?: string;
|
|
66641
|
+
static names(): { [key: string]: string } {
|
|
66642
|
+
return {
|
|
66643
|
+
arn: 'Arn',
|
|
66644
|
+
encrypted: 'Encrypted',
|
|
66645
|
+
KMSKeyId: 'KMSKeyId',
|
|
66646
|
+
};
|
|
66647
|
+
}
|
|
66648
|
+
|
|
66649
|
+
static types(): { [key: string]: any } {
|
|
66650
|
+
return {
|
|
66651
|
+
arn: { 'type': 'array', 'itemType': CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn },
|
|
66652
|
+
encrypted: 'boolean',
|
|
66653
|
+
KMSKeyId: 'string',
|
|
66654
|
+
};
|
|
66655
|
+
}
|
|
66656
|
+
|
|
66657
|
+
constructor(map?: { [key: string]: any }) {
|
|
66658
|
+
super(map);
|
|
66659
|
+
}
|
|
66660
|
+
}
|
|
66661
|
+
|
|
66662
|
+
export class CreateAutoSnapshotPolicyRequestTag extends $tea.Model {
|
|
66663
|
+
/**
|
|
66664
|
+
* @remarks
|
|
66665
|
+
* The key of tag N to add to the automatic snapshot policy. 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 contain http:// or https://. The tag key cannot start with acs: or aliyun.
|
|
66666
|
+
*
|
|
66667
|
+
* @example
|
|
66668
|
+
* TestKey
|
|
66669
|
+
*/
|
|
66670
|
+
key?: string;
|
|
66671
|
+
/**
|
|
66672
|
+
* @remarks
|
|
66673
|
+
* The value of tag N to add to the automatic snapshot policy. 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://. The tag value cannot start with acs:.
|
|
65376
66674
|
*
|
|
65377
66675
|
* @example
|
|
65378
66676
|
* TestValue
|
|
@@ -72275,6 +73573,7 @@ export class DescribeCommandsResponseBodyCommandsCommand extends $tea.Model {
|
|
|
72275
73573
|
* true
|
|
72276
73574
|
*/
|
|
72277
73575
|
latest?: boolean;
|
|
73576
|
+
launcher?: string;
|
|
72278
73577
|
/**
|
|
72279
73578
|
* @remarks
|
|
72280
73579
|
* The name of the command.
|
|
@@ -72356,6 +73655,7 @@ export class DescribeCommandsResponseBodyCommandsCommand extends $tea.Model {
|
|
|
72356
73655
|
enableParameter: 'EnableParameter',
|
|
72357
73656
|
invokeTimes: 'InvokeTimes',
|
|
72358
73657
|
latest: 'Latest',
|
|
73658
|
+
launcher: 'Launcher',
|
|
72359
73659
|
name: 'Name',
|
|
72360
73660
|
parameterDefinitions: 'ParameterDefinitions',
|
|
72361
73661
|
parameterNames: 'ParameterNames',
|
|
@@ -72379,6 +73679,7 @@ export class DescribeCommandsResponseBodyCommandsCommand extends $tea.Model {
|
|
|
72379
73679
|
enableParameter: 'boolean',
|
|
72380
73680
|
invokeTimes: 'number',
|
|
72381
73681
|
latest: 'boolean',
|
|
73682
|
+
launcher: 'string',
|
|
72382
73683
|
name: 'string',
|
|
72383
73684
|
parameterDefinitions: DescribeCommandsResponseBodyCommandsCommandParameterDefinitions,
|
|
72384
73685
|
parameterNames: DescribeCommandsResponseBodyCommandsCommandParameterNames,
|
|
@@ -76949,7 +78250,53 @@ export class DescribeElasticityAssurancesRequestTag extends $tea.Model {
|
|
|
76949
78250
|
}
|
|
76950
78251
|
}
|
|
76951
78252
|
|
|
78253
|
+
export class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResourceElasticityAssuranceUsagesElasticityAssuranceUsage extends $tea.Model {
|
|
78254
|
+
accountId?: string;
|
|
78255
|
+
serviceName?: string;
|
|
78256
|
+
usedAmount?: number;
|
|
78257
|
+
static names(): { [key: string]: string } {
|
|
78258
|
+
return {
|
|
78259
|
+
accountId: 'AccountId',
|
|
78260
|
+
serviceName: 'ServiceName',
|
|
78261
|
+
usedAmount: 'UsedAmount',
|
|
78262
|
+
};
|
|
78263
|
+
}
|
|
78264
|
+
|
|
78265
|
+
static types(): { [key: string]: any } {
|
|
78266
|
+
return {
|
|
78267
|
+
accountId: 'string',
|
|
78268
|
+
serviceName: 'string',
|
|
78269
|
+
usedAmount: 'number',
|
|
78270
|
+
};
|
|
78271
|
+
}
|
|
78272
|
+
|
|
78273
|
+
constructor(map?: { [key: string]: any }) {
|
|
78274
|
+
super(map);
|
|
78275
|
+
}
|
|
78276
|
+
}
|
|
78277
|
+
|
|
78278
|
+
export class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResourceElasticityAssuranceUsages extends $tea.Model {
|
|
78279
|
+
elasticityAssuranceUsage?: DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResourceElasticityAssuranceUsagesElasticityAssuranceUsage[];
|
|
78280
|
+
static names(): { [key: string]: string } {
|
|
78281
|
+
return {
|
|
78282
|
+
elasticityAssuranceUsage: 'ElasticityAssuranceUsage',
|
|
78283
|
+
};
|
|
78284
|
+
}
|
|
78285
|
+
|
|
78286
|
+
static types(): { [key: string]: any } {
|
|
78287
|
+
return {
|
|
78288
|
+
elasticityAssuranceUsage: { 'type': 'array', 'itemType': DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResourceElasticityAssuranceUsagesElasticityAssuranceUsage },
|
|
78289
|
+
};
|
|
78290
|
+
}
|
|
78291
|
+
|
|
78292
|
+
constructor(map?: { [key: string]: any }) {
|
|
78293
|
+
super(map);
|
|
78294
|
+
}
|
|
78295
|
+
}
|
|
78296
|
+
|
|
76952
78297
|
export class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResource extends $tea.Model {
|
|
78298
|
+
availableAmount?: number;
|
|
78299
|
+
elasticityAssuranceUsages?: DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResourceElasticityAssuranceUsages;
|
|
76953
78300
|
/**
|
|
76954
78301
|
* @remarks
|
|
76955
78302
|
* The instance type.
|
|
@@ -76984,6 +78331,8 @@ export class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElast
|
|
|
76984
78331
|
zoneId?: string;
|
|
76985
78332
|
static names(): { [key: string]: string } {
|
|
76986
78333
|
return {
|
|
78334
|
+
availableAmount: 'AvailableAmount',
|
|
78335
|
+
elasticityAssuranceUsages: 'ElasticityAssuranceUsages',
|
|
76987
78336
|
instanceType: 'InstanceType',
|
|
76988
78337
|
totalAmount: 'TotalAmount',
|
|
76989
78338
|
usedAmount: 'UsedAmount',
|
|
@@ -76993,6 +78342,8 @@ export class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElast
|
|
|
76993
78342
|
|
|
76994
78343
|
static types(): { [key: string]: any } {
|
|
76995
78344
|
return {
|
|
78345
|
+
availableAmount: 'number',
|
|
78346
|
+
elasticityAssuranceUsages: DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResourceElasticityAssuranceUsages,
|
|
76996
78347
|
instanceType: 'string',
|
|
76997
78348
|
totalAmount: 'number',
|
|
76998
78349
|
usedAmount: 'number',
|
|
@@ -77093,6 +78444,7 @@ export class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElast
|
|
|
77093
78444
|
* This is description.
|
|
77094
78445
|
*/
|
|
77095
78446
|
description?: string;
|
|
78447
|
+
elasticityAssuranceOwnerId?: string;
|
|
77096
78448
|
/**
|
|
77097
78449
|
* @remarks
|
|
77098
78450
|
* The time when the elasticity assurance expires.
|
|
@@ -77217,6 +78569,7 @@ export class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElast
|
|
|
77217
78569
|
return {
|
|
77218
78570
|
allocatedResources: 'AllocatedResources',
|
|
77219
78571
|
description: 'Description',
|
|
78572
|
+
elasticityAssuranceOwnerId: 'ElasticityAssuranceOwnerId',
|
|
77220
78573
|
endTime: 'EndTime',
|
|
77221
78574
|
instanceChargeType: 'InstanceChargeType',
|
|
77222
78575
|
latestStartTime: 'LatestStartTime',
|
|
@@ -77238,6 +78591,7 @@ export class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElast
|
|
|
77238
78591
|
return {
|
|
77239
78592
|
allocatedResources: DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResources,
|
|
77240
78593
|
description: 'string',
|
|
78594
|
+
elasticityAssuranceOwnerId: 'string',
|
|
77241
78595
|
endTime: 'string',
|
|
77242
78596
|
instanceChargeType: 'string',
|
|
77243
78597
|
latestStartTime: 'string',
|
|
@@ -77677,8 +79031,29 @@ export class DescribeImageComponentsRequestTag extends $tea.Model {
|
|
|
77677
79031
|
}
|
|
77678
79032
|
|
|
77679
79033
|
export class DescribeImageComponentsResponseBodyImageComponentImageComponentSetParametersParameter extends $tea.Model {
|
|
79034
|
+
/**
|
|
79035
|
+
* @remarks
|
|
79036
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
79037
|
+
*
|
|
79038
|
+
* @example
|
|
79039
|
+
* null
|
|
79040
|
+
*/
|
|
77680
79041
|
defaultValue?: string;
|
|
79042
|
+
/**
|
|
79043
|
+
* @remarks
|
|
79044
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
79045
|
+
*
|
|
79046
|
+
* @example
|
|
79047
|
+
* null
|
|
79048
|
+
*/
|
|
77681
79049
|
name?: string;
|
|
79050
|
+
/**
|
|
79051
|
+
* @remarks
|
|
79052
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
79053
|
+
*
|
|
79054
|
+
* @example
|
|
79055
|
+
* null
|
|
79056
|
+
*/
|
|
77682
79057
|
type?: string;
|
|
77683
79058
|
static names(): { [key: string]: string } {
|
|
77684
79059
|
return {
|
|
@@ -77784,6 +79159,13 @@ export class DescribeImageComponentsResponseBodyImageComponentImageComponentSet
|
|
|
77784
79159
|
* Build
|
|
77785
79160
|
*/
|
|
77786
79161
|
componentType?: string;
|
|
79162
|
+
/**
|
|
79163
|
+
* @remarks
|
|
79164
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
79165
|
+
*
|
|
79166
|
+
* @example
|
|
79167
|
+
* null
|
|
79168
|
+
*/
|
|
77787
79169
|
componentVersion?: string;
|
|
77788
79170
|
/**
|
|
77789
79171
|
* @remarks
|
|
@@ -77836,6 +79218,10 @@ export class DescribeImageComponentsResponseBodyImageComponentImageComponentSet
|
|
|
77836
79218
|
* SELF
|
|
77837
79219
|
*/
|
|
77838
79220
|
owner?: string;
|
|
79221
|
+
/**
|
|
79222
|
+
* @remarks
|
|
79223
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
79224
|
+
*/
|
|
77839
79225
|
parameters?: DescribeImageComponentsResponseBodyImageComponentImageComponentSetParameters;
|
|
77840
79226
|
/**
|
|
77841
79227
|
* @remarks
|
|
@@ -78747,6 +80133,13 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSet ext
|
|
|
78747
80133
|
* This is description.
|
|
78748
80134
|
*/
|
|
78749
80135
|
description?: string;
|
|
80136
|
+
/**
|
|
80137
|
+
* @remarks
|
|
80138
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
80139
|
+
*
|
|
80140
|
+
* @example
|
|
80141
|
+
* null
|
|
80142
|
+
*/
|
|
78750
80143
|
imageFamily?: string;
|
|
78751
80144
|
/**
|
|
78752
80145
|
* @remarks
|
|
@@ -78788,6 +80181,13 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSet ext
|
|
|
78788
80181
|
* testImagePipeline
|
|
78789
80182
|
*/
|
|
78790
80183
|
name?: string;
|
|
80184
|
+
/**
|
|
80185
|
+
* @remarks
|
|
80186
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
80187
|
+
*
|
|
80188
|
+
* @example
|
|
80189
|
+
* null
|
|
80190
|
+
*/
|
|
78791
80191
|
repairMode?: string;
|
|
78792
80192
|
/**
|
|
78793
80193
|
* @remarks
|
|
@@ -78810,6 +80210,13 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSet ext
|
|
|
78810
80210
|
* The tags of the image template.
|
|
78811
80211
|
*/
|
|
78812
80212
|
tags?: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTags;
|
|
80213
|
+
/**
|
|
80214
|
+
* @remarks
|
|
80215
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
80216
|
+
*
|
|
80217
|
+
* @example
|
|
80218
|
+
* null
|
|
80219
|
+
*/
|
|
78813
80220
|
testContent?: string;
|
|
78814
80221
|
/**
|
|
78815
80222
|
* @remarks
|
|
@@ -81803,6 +83210,44 @@ export class DescribeInstanceTypeFamiliesResponseBodyInstanceTypeFamilies extend
|
|
|
81803
83210
|
}
|
|
81804
83211
|
}
|
|
81805
83212
|
|
|
83213
|
+
export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes extends $tea.Model {
|
|
83214
|
+
supportedTopologyType?: string[];
|
|
83215
|
+
static names(): { [key: string]: string } {
|
|
83216
|
+
return {
|
|
83217
|
+
supportedTopologyType: 'SupportedTopologyType',
|
|
83218
|
+
};
|
|
83219
|
+
}
|
|
83220
|
+
|
|
83221
|
+
static types(): { [key: string]: any } {
|
|
83222
|
+
return {
|
|
83223
|
+
supportedTopologyType: { 'type': 'array', 'itemType': 'string' },
|
|
83224
|
+
};
|
|
83225
|
+
}
|
|
83226
|
+
|
|
83227
|
+
constructor(map?: { [key: string]: any }) {
|
|
83228
|
+
super(map);
|
|
83229
|
+
}
|
|
83230
|
+
}
|
|
83231
|
+
|
|
83232
|
+
export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions extends $tea.Model {
|
|
83233
|
+
supportedTopologyTypes?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes;
|
|
83234
|
+
static names(): { [key: string]: string } {
|
|
83235
|
+
return {
|
|
83236
|
+
supportedTopologyTypes: 'SupportedTopologyTypes',
|
|
83237
|
+
};
|
|
83238
|
+
}
|
|
83239
|
+
|
|
83240
|
+
static types(): { [key: string]: any } {
|
|
83241
|
+
return {
|
|
83242
|
+
supportedTopologyTypes: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes,
|
|
83243
|
+
};
|
|
83244
|
+
}
|
|
83245
|
+
|
|
83246
|
+
constructor(map?: { [key: string]: any }) {
|
|
83247
|
+
super(map);
|
|
83248
|
+
}
|
|
83249
|
+
}
|
|
83250
|
+
|
|
81806
83251
|
export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork extends $tea.Model {
|
|
81807
83252
|
/**
|
|
81808
83253
|
* @remarks
|
|
@@ -81931,6 +83376,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
81931
83376
|
* 4
|
|
81932
83377
|
*/
|
|
81933
83378
|
cpuCoreCount?: number;
|
|
83379
|
+
cpuOptions?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions;
|
|
81934
83380
|
/**
|
|
81935
83381
|
* @remarks
|
|
81936
83382
|
* The CPU base frequency. Unit: GHz.
|
|
@@ -82259,6 +83705,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
82259
83705
|
baselineCredit: 'BaselineCredit',
|
|
82260
83706
|
cpuArchitecture: 'CpuArchitecture',
|
|
82261
83707
|
cpuCoreCount: 'CpuCoreCount',
|
|
83708
|
+
cpuOptions: 'CpuOptions',
|
|
82262
83709
|
cpuSpeedFrequency: 'CpuSpeedFrequency',
|
|
82263
83710
|
cpuTurboFrequency: 'CpuTurboFrequency',
|
|
82264
83711
|
diskQuantity: 'DiskQuantity',
|
|
@@ -82304,6 +83751,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
|
|
|
82304
83751
|
baselineCredit: 'number',
|
|
82305
83752
|
cpuArchitecture: 'string',
|
|
82306
83753
|
cpuCoreCount: 'number',
|
|
83754
|
+
cpuOptions: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions,
|
|
82307
83755
|
cpuSpeedFrequency: 'number',
|
|
82308
83756
|
cpuTurboFrequency: 'number',
|
|
82309
83757
|
diskQuantity: 'number',
|
|
@@ -82721,6 +84169,11 @@ export class DescribeInstancesResponseBodyInstancesInstanceHibernationOptions ex
|
|
|
82721
84169
|
}
|
|
82722
84170
|
|
|
82723
84171
|
export class DescribeInstancesResponseBodyInstancesInstanceImageOptions extends $tea.Model {
|
|
84172
|
+
/**
|
|
84173
|
+
* @example
|
|
84174
|
+
* true
|
|
84175
|
+
*/
|
|
84176
|
+
currentOSNVMeSupported?: boolean;
|
|
82724
84177
|
/**
|
|
82725
84178
|
* @remarks
|
|
82726
84179
|
* Indicates whether the instance that uses the image supports logons of the ecs-user user. Valid values:
|
|
@@ -82734,12 +84187,14 @@ export class DescribeInstancesResponseBodyInstancesInstanceImageOptions extends
|
|
|
82734
84187
|
loginAsNonRoot?: boolean;
|
|
82735
84188
|
static names(): { [key: string]: string } {
|
|
82736
84189
|
return {
|
|
84190
|
+
currentOSNVMeSupported: 'CurrentOSNVMeSupported',
|
|
82737
84191
|
loginAsNonRoot: 'LoginAsNonRoot',
|
|
82738
84192
|
};
|
|
82739
84193
|
}
|
|
82740
84194
|
|
|
82741
84195
|
static types(): { [key: string]: any } {
|
|
82742
84196
|
return {
|
|
84197
|
+
currentOSNVMeSupported: 'boolean',
|
|
82743
84198
|
loginAsNonRoot: 'boolean',
|
|
82744
84199
|
};
|
|
82745
84200
|
}
|
|
@@ -83619,7 +85074,7 @@ export class DescribeInstancesResponseBodyInstancesInstance extends $tea.Model {
|
|
|
83619
85074
|
imageId?: string;
|
|
83620
85075
|
/**
|
|
83621
85076
|
* @remarks
|
|
83622
|
-
*
|
|
85077
|
+
* The image options.
|
|
83623
85078
|
*/
|
|
83624
85079
|
imageOptions?: DescribeInstancesResponseBodyInstancesInstanceImageOptions;
|
|
83625
85080
|
/**
|
|
@@ -86533,8 +87988,20 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
|
|
|
86533
87988
|
* testHostName
|
|
86534
87989
|
*/
|
|
86535
87990
|
hostName?: string;
|
|
87991
|
+
/**
|
|
87992
|
+
* @example
|
|
87993
|
+
* enabled
|
|
87994
|
+
*/
|
|
86536
87995
|
httpEndpoint?: string;
|
|
87996
|
+
/**
|
|
87997
|
+
* @example
|
|
87998
|
+
* 3
|
|
87999
|
+
*/
|
|
86537
88000
|
httpPutResponseHopLimit?: number;
|
|
88001
|
+
/**
|
|
88002
|
+
* @example
|
|
88003
|
+
* optional
|
|
88004
|
+
*/
|
|
86538
88005
|
httpTokens?: string;
|
|
86539
88006
|
/**
|
|
86540
88007
|
* @remarks
|
|
@@ -86909,7 +88376,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
|
|
|
86909
88376
|
createTime?: string;
|
|
86910
88377
|
/**
|
|
86911
88378
|
* @remarks
|
|
86912
|
-
* The
|
|
88379
|
+
* The ID of the Alibaba Cloud account that created the launch template.
|
|
86913
88380
|
*
|
|
86914
88381
|
* @example
|
|
86915
88382
|
* 123456789****
|
|
@@ -87915,6 +89382,9 @@ export class DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork extend
|
|
|
87915
89382
|
/**
|
|
87916
89383
|
* @remarks
|
|
87917
89384
|
* This parameter is not publicly available.
|
|
89385
|
+
*
|
|
89386
|
+
* @example
|
|
89387
|
+
* false
|
|
87918
89388
|
*/
|
|
87919
89389
|
enableSriov?: boolean;
|
|
87920
89390
|
static names(): { [key: string]: string } {
|
|
@@ -89060,6 +90530,13 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
89060
90530
|
* true
|
|
89061
90531
|
*/
|
|
89062
90532
|
serviceManaged?: boolean;
|
|
90533
|
+
/**
|
|
90534
|
+
* @remarks
|
|
90535
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
90536
|
+
*
|
|
90537
|
+
* @example
|
|
90538
|
+
* false
|
|
90539
|
+
*/
|
|
89063
90540
|
sourceDestCheck?: boolean;
|
|
89064
90541
|
/**
|
|
89065
90542
|
* @remarks
|
|
@@ -93313,7 +94790,7 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapsh
|
|
|
93313
94790
|
export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshot extends $tea.Model {
|
|
93314
94791
|
/**
|
|
93315
94792
|
* @remarks
|
|
93316
|
-
* Indicates whether the snapshot can be used to create or roll back
|
|
94793
|
+
* Indicates whether the snapshot can be shared and be used to create or roll back a disk. Valid values:
|
|
93317
94794
|
*
|
|
93318
94795
|
* * true
|
|
93319
94796
|
* * false
|
|
@@ -93327,7 +94804,9 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapsh
|
|
|
93327
94804
|
* Indicates whether the instant access feature is enabled. Valid values:
|
|
93328
94805
|
*
|
|
93329
94806
|
* * true: The instant access feature is enabled. By default, the instant access feature is enabled for ESSDs.
|
|
93330
|
-
* * false: The instant access feature is disabled. The snapshot is a
|
|
94807
|
+
* * false: The instant access feature is disabled. The snapshot is a standard snapshot for which the instant access feature is disabled.
|
|
94808
|
+
*
|
|
94809
|
+
* > This parameter is no longer used. By default, standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
93331
94810
|
*
|
|
93332
94811
|
* @example
|
|
93333
94812
|
* true
|
|
@@ -93335,9 +94814,9 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapsh
|
|
|
93335
94814
|
instantAccess?: boolean;
|
|
93336
94815
|
/**
|
|
93337
94816
|
* @remarks
|
|
93338
|
-
* The
|
|
94817
|
+
* The validity period of the instant access feature. When the validity period ends, the instant access snapshot is automatically released.
|
|
93339
94818
|
*
|
|
93340
|
-
* > This parameter is
|
|
94819
|
+
* > This parameter is no longer used. By default, standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
93341
94820
|
*
|
|
93342
94821
|
* @example
|
|
93343
94822
|
* 3
|
|
@@ -93547,7 +95026,7 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroup exten
|
|
|
93547
95026
|
snapshotGroupId?: string;
|
|
93548
95027
|
/**
|
|
93549
95028
|
* @remarks
|
|
93550
|
-
*
|
|
95029
|
+
* The information about the snapshots in the snapshot-consistent group.
|
|
93551
95030
|
*/
|
|
93552
95031
|
snapshots?: DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshots;
|
|
93553
95032
|
/**
|
|
@@ -93651,9 +95130,9 @@ export class DescribeSnapshotLinksResponseBodySnapshotLinksSnapshotLink extends
|
|
|
93651
95130
|
* Indicates whether the instant access feature is enabled. Valid values:
|
|
93652
95131
|
*
|
|
93653
95132
|
* * true: The instant access feature is enabled. This feature can be enabled only for enhanced SSDs (ESSDs).
|
|
93654
|
-
* * false: The instant access feature is disabled. The snapshot is a
|
|
95133
|
+
* * false: The instant access feature is disabled. The snapshot is a standard snapshot for which the instant access feature is disabled.
|
|
93655
95134
|
*
|
|
93656
|
-
* > This parameter is no longer used. By default, new
|
|
95135
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
93657
95136
|
*
|
|
93658
95137
|
* @example
|
|
93659
95138
|
* false
|
|
@@ -94043,7 +95522,7 @@ export class DescribeSnapshotsResponseBodySnapshotsSnapshotTags extends $tea.Mod
|
|
|
94043
95522
|
export class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
|
|
94044
95523
|
/**
|
|
94045
95524
|
* @remarks
|
|
94046
|
-
* Indicates whether the snapshot can be used to create or roll back a disk. Valid values:
|
|
95525
|
+
* Indicates whether the snapshot can be shared and be used to create or roll back a cloud disk. Valid values:
|
|
94047
95526
|
*
|
|
94048
95527
|
* * true
|
|
94049
95528
|
* * false
|
|
@@ -94090,8 +95569,10 @@ export class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
|
|
|
94090
95569
|
* @remarks
|
|
94091
95570
|
* Indicates whether the instant access feature is enabled. Valid values:
|
|
94092
95571
|
*
|
|
94093
|
-
* * true: The instant access feature is enabled. By default, the instant access feature is enabled for Enterprise SSDs (ESSDs).
|
|
94094
|
-
* * false: The instant access feature is disabled. The snapshot is a
|
|
95572
|
+
* * true: The instant access feature is enabled. By default, the instant access feature is enabled for Enterprise SSDs (ESSDs) and ESSD Entry disks.
|
|
95573
|
+
* * false: The instant access feature is disabled. The snapshot is a standard snapshot for which the instant access feature is disabled.
|
|
95574
|
+
*
|
|
95575
|
+
* > This parameter is no longer used. The standard snapshots of ESSDs are upgraded to support the instant access feature by default. No additional configurations are required to enable the feature and you are not charged for the feature. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
94095
95576
|
*
|
|
94096
95577
|
* @example
|
|
94097
95578
|
* false
|
|
@@ -94103,7 +95584,7 @@ export class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
|
|
|
94103
95584
|
*
|
|
94104
95585
|
* By default, the value of this parameter is the same as the value of `RetentionDays`.
|
|
94105
95586
|
*
|
|
94106
|
-
* > This parameter is no longer used. The
|
|
95587
|
+
* > This parameter is no longer used. The standard snapshots of ESSDs are upgraded to support the instant access feature by default. No additional configurations are required to enable the feature and you are not charged for the feature. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
94107
95588
|
*
|
|
94108
95589
|
* @example
|
|
94109
95590
|
* 30
|
|
@@ -99201,6 +100682,8 @@ export class ModifyReservedInstancesResponseBodyReservedInstanceIdSets extends $
|
|
|
99201
100682
|
export class PurchaseElasticityAssuranceRequestPrivatePoolOptions extends $tea.Model {
|
|
99202
100683
|
/**
|
|
99203
100684
|
* @remarks
|
|
100685
|
+
* The ID of the elasticity assurance.
|
|
100686
|
+
*
|
|
99204
100687
|
* This parameter is required.
|
|
99205
100688
|
*
|
|
99206
100689
|
* @example
|
|
@@ -99208,6 +100691,14 @@ export class PurchaseElasticityAssuranceRequestPrivatePoolOptions extends $tea.M
|
|
|
99208
100691
|
*/
|
|
99209
100692
|
id?: string;
|
|
99210
100693
|
/**
|
|
100694
|
+
* @remarks
|
|
100695
|
+
* The type of the private pool that is associated with the elasticity assurance. Valid values:
|
|
100696
|
+
*
|
|
100697
|
+
* * Open: open private pool. If you use the elasticity assurance to create ECS instances, the open private pool that is associated with the elasticity assurance is automatically matched. If no capacity is available in the open private pool, resources in the public pool are automatically used to create the ECS instances.
|
|
100698
|
+
* * Target: targeted private pool. If you use the elasticity assurance to create ECS instances, the targeted private pool that is associated with the elasticity assurance is automatically matched. If no capacity is available in the private pool, the ECS instances fail to be created.
|
|
100699
|
+
*
|
|
100700
|
+
* Default value: Open.
|
|
100701
|
+
*
|
|
99211
100702
|
* @example
|
|
99212
100703
|
* Open
|
|
99213
100704
|
*/
|
|
@@ -101006,25 +102497,25 @@ export class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
101006
102497
|
* @remarks
|
|
101007
102498
|
* The category of data disk N. Valid values:
|
|
101008
102499
|
*
|
|
101009
|
-
* * cloud_efficiency: ultra disk
|
|
102500
|
+
* * cloud_efficiency: ultra disk
|
|
101010
102501
|
*
|
|
101011
|
-
* * cloud_ssd: standard SSD
|
|
102502
|
+
* * cloud_ssd: standard SSD
|
|
101012
102503
|
*
|
|
101013
|
-
* * cloud_essd: ESSD
|
|
102504
|
+
* * cloud_essd: ESSD
|
|
101014
102505
|
*
|
|
101015
|
-
* * cloud: basic disk
|
|
102506
|
+
* * cloud: basic disk
|
|
101016
102507
|
*
|
|
101017
|
-
* * cloud_auto: ESSD AutoPL disk
|
|
102508
|
+
* * cloud_auto: ESSD AutoPL disk
|
|
101018
102509
|
*
|
|
101019
|
-
* * cloud_essd_entry: ESSD Entry disk
|
|
102510
|
+
* * cloud_essd_entry: ESSD Entry disk
|
|
101020
102511
|
*
|
|
101021
102512
|
* **
|
|
101022
102513
|
*
|
|
101023
102514
|
* **Note** This parameter can be set to `cloud_essd_entry` only when `InstanceType` is set to `ecs.u1` or `ecs.e`.
|
|
101024
102515
|
*
|
|
101025
|
-
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk
|
|
102516
|
+
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk
|
|
101026
102517
|
*
|
|
101027
|
-
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
102518
|
+
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
101028
102519
|
*
|
|
101029
102520
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
101030
102521
|
*
|
|
@@ -101060,7 +102551,7 @@ export class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
101060
102551
|
* * 1st to 25th data disks: /dev/xvd`[b-z]`.
|
|
101061
102552
|
* * From the 26th data disk on: /dev/xvd`[aa-zz]`. For example, the 26th data disk is named /dev/xvdaa, the 27th data disk is named /dev/xvdab, and so on.
|
|
101062
102553
|
*
|
|
101063
|
-
* > This parameter is applicable to scenarios in which a full image is used to create instances. A full image is an image that contains an operating system, application software, and business data. For these scenarios, you can set the parameter to the mount point of data disk N contained in the full image and modify `DataDisk.N.Size` and `DataDisk.N.Category` to change the category and size of data disk N created based on the image.
|
|
102554
|
+
* > This parameter is applicable to scenarios in which a full image is used to create instances. A full image is an image that contains an operating system, application software, and business data. For these scenarios, you can set the parameter to the mount point of data disk N contained in the full image and modify the `DataDisk.N.Size` and `DataDisk.N.Category` parameters to change the category and size of data disk N created based on the image.
|
|
101064
102555
|
*
|
|
101065
102556
|
* @example
|
|
101066
102557
|
* /dev/xvdb
|
|
@@ -101108,11 +102599,11 @@ export class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
101108
102599
|
* The performance level of the ESSD to use as data disk N. The value of N must be the same as that in `DataDisk.N.Category` when DataDisk.N.Category is set to cloud_essd. Valid values:
|
|
101109
102600
|
*
|
|
101110
102601
|
* * PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
|
|
101111
|
-
* * PL1 (default): A single ESSD can deliver up to
|
|
101112
|
-
* * PL2: A single ESSD can deliver up to
|
|
101113
|
-
* * PL3: A single ESSD can deliver up to
|
|
102602
|
+
* * PL1 (default): A single ESSD can deliver up to 50000 random read/write IOPS.
|
|
102603
|
+
* * PL2: A single ESSD can deliver up to 100000 random read/write IOPS.
|
|
102604
|
+
* * PL3: A single ESSD can deliver up to 1000000 random read/write IOPS.
|
|
101114
102605
|
*
|
|
101115
|
-
* For
|
|
102606
|
+
* For information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
101116
102607
|
*
|
|
101117
102608
|
* @example
|
|
101118
102609
|
* PL1
|
|
@@ -101122,7 +102613,7 @@ export class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
101122
102613
|
* @remarks
|
|
101123
102614
|
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as data disk N. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
101124
102615
|
*
|
|
101125
|
-
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}
|
|
102616
|
+
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}
|
|
101126
102617
|
*
|
|
101127
102618
|
* > This parameter is available only if you set DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
101128
102619
|
*
|
|
@@ -101140,14 +102631,14 @@ export class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
101140
102631
|
*
|
|
101141
102632
|
* * Valid values when DataDisk.N.Category is set to cloud_essd: vary based on the value of `DataDisk.N.PerformanceLevel`.
|
|
101142
102633
|
*
|
|
101143
|
-
* * Valid values when DataDisk.N.PerformanceLevel is set to PL0: 1 to
|
|
101144
|
-
* * Valid values when DataDisk.N.PerformanceLevel is set to PL1: 20 to
|
|
101145
|
-
* * Valid values when DataDisk.N.PerformanceLevel is set to PL2: 461 to
|
|
101146
|
-
* * Valid values when DataDisk.N.PerformanceLevel is set to PL3: 1261 to
|
|
102634
|
+
* * Valid values when DataDisk.N.PerformanceLevel is set to PL0: 1 to 65536.
|
|
102635
|
+
* * Valid values when DataDisk.N.PerformanceLevel is set to PL1: 20 to 65536.
|
|
102636
|
+
* * Valid values when DataDisk.N.PerformanceLevel is set to PL2: 461 to 65536.
|
|
102637
|
+
* * Valid values when DataDisk.N.PerformanceLevel is set to PL3: 1261 to 65536.
|
|
101147
102638
|
*
|
|
101148
102639
|
* * Valid values when DataDisk.N.Category is set to cloud: 5 to 2000.
|
|
101149
102640
|
*
|
|
101150
|
-
* * Valid values when
|
|
102641
|
+
* * Valid values when DiskCategory is set to cloud_auto: 1 to 65536.
|
|
101151
102642
|
*
|
|
101152
102643
|
* * Valid values when DataDisk.N.Category is set to cloud_essd_entry: 10 to 32768.
|
|
101153
102644
|
*
|
|
@@ -101161,7 +102652,7 @@ export class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
101161
102652
|
* @remarks
|
|
101162
102653
|
* The ID of the snapshot to use to create data disk N. Valid values of N: 1 to 16.
|
|
101163
102654
|
*
|
|
101164
|
-
*
|
|
102655
|
+
* When the `DataDisk.N.SnapshotId` parameter is specified, the `DataDisk.N.Size` parameter is ignored. The data disk is created with the size of the specified snapshot. Use snapshots created on or after July 15, 2013. Otherwise, an error is returned and your request is rejected.
|
|
101165
102656
|
*
|
|
101166
102657
|
* @example
|
|
101167
102658
|
* s-bp17441ohwka0yuh****
|
|
@@ -101169,7 +102660,7 @@ export class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
101169
102660
|
snapshotId?: string;
|
|
101170
102661
|
/**
|
|
101171
102662
|
* @remarks
|
|
101172
|
-
* The ID of the dedicated block storage cluster to which data disk N belongs. If you want to use a disk in a dedicated block storage cluster as data disk N when you create the instance, specify this parameter.
|
|
102663
|
+
* The ID of the dedicated block storage cluster to which data disk N belongs. If you want to use a disk in a dedicated block storage cluster as data disk N when you create the instance, you must specify this parameter.
|
|
101173
102664
|
*
|
|
101174
102665
|
* @example
|
|
101175
102666
|
* dbsc-j5e1sf2vaf5he8m2****
|
|
@@ -104625,7 +106116,7 @@ export default class Client extends OpenApi {
|
|
|
104625
106116
|
}
|
|
104626
106117
|
|
|
104627
106118
|
/**
|
|
104628
|
-
* Copies a
|
|
106119
|
+
* Copies a standard or encrypted snapshot from one region to another.
|
|
104629
106120
|
*
|
|
104630
106121
|
* @remarks
|
|
104631
106122
|
* ## [](#)Usage notes
|
|
@@ -104722,7 +106213,7 @@ export default class Client extends OpenApi {
|
|
|
104722
106213
|
}
|
|
104723
106214
|
|
|
104724
106215
|
/**
|
|
104725
|
-
* Copies a
|
|
106216
|
+
* Copies a standard or encrypted snapshot from one region to another.
|
|
104726
106217
|
*
|
|
104727
106218
|
* @remarks
|
|
104728
106219
|
* ## [](#)Usage notes
|
|
@@ -104870,12 +106361,18 @@ export default class Client extends OpenApi {
|
|
|
104870
106361
|
* * Auto Provisioning is provided free of charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information, see [Overview of preemptible instances](https://help.aliyun.com/document_detail/52088.html) and [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
104871
106362
|
* * When you specify both a launch template (`LaunchTemplateId`) and extended configurations (`LaunchConfiguration.*` parameters), LaunchTemplateId takes precedence.
|
|
104872
106363
|
*
|
|
104873
|
-
* @param
|
|
106364
|
+
* @param tmpReq - CreateAutoProvisioningGroupRequest
|
|
104874
106365
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
104875
106366
|
* @returns CreateAutoProvisioningGroupResponse
|
|
104876
106367
|
*/
|
|
104877
|
-
async createAutoProvisioningGroupWithOptions(
|
|
104878
|
-
Util.validateModel(
|
|
106368
|
+
async createAutoProvisioningGroupWithOptions(tmpReq: CreateAutoProvisioningGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateAutoProvisioningGroupResponse> {
|
|
106369
|
+
Util.validateModel(tmpReq);
|
|
106370
|
+
let request = new CreateAutoProvisioningGroupShrinkRequest({ });
|
|
106371
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
106372
|
+
if (!Util.isUnset(tmpReq.resourcePoolOptions)) {
|
|
106373
|
+
request.resourcePoolOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourcePoolOptions, "ResourcePoolOptions", "json");
|
|
106374
|
+
}
|
|
106375
|
+
|
|
104879
106376
|
let query = { };
|
|
104880
106377
|
if (!Util.isUnset(request.autoProvisioningGroupName)) {
|
|
104881
106378
|
query["AutoProvisioningGroupName"] = request.autoProvisioningGroupName;
|
|
@@ -104961,6 +106458,10 @@ export default class Client extends OpenApi {
|
|
|
104961
106458
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
104962
106459
|
}
|
|
104963
106460
|
|
|
106461
|
+
if (!Util.isUnset(request.resourcePoolOptionsShrink)) {
|
|
106462
|
+
query["ResourcePoolOptions"] = request.resourcePoolOptionsShrink;
|
|
106463
|
+
}
|
|
106464
|
+
|
|
104964
106465
|
if (!Util.isUnset(request.spotAllocationStrategy)) {
|
|
104965
106466
|
query["SpotAllocationStrategy"] = request.spotAllocationStrategy;
|
|
104966
106467
|
}
|
|
@@ -105322,6 +106823,10 @@ export default class Client extends OpenApi {
|
|
|
105322
106823
|
query["EnableParameter"] = request.enableParameter;
|
|
105323
106824
|
}
|
|
105324
106825
|
|
|
106826
|
+
if (!Util.isUnset(request.launcher)) {
|
|
106827
|
+
query["Launcher"] = request.launcher;
|
|
106828
|
+
}
|
|
106829
|
+
|
|
105325
106830
|
if (!Util.isUnset(request.name)) {
|
|
105326
106831
|
query["Name"] = request.name;
|
|
105327
106832
|
}
|
|
@@ -106492,12 +107997,13 @@ export default class Client extends OpenApi {
|
|
|
106492
107997
|
* Creates an image component. Image components are used to store the image template commands that are commonly used to create images.
|
|
106493
107998
|
*
|
|
106494
107999
|
* @remarks
|
|
108000
|
+
* ## [](#)Usage notes
|
|
106495
108001
|
* Take note of the following items:
|
|
106496
|
-
* *
|
|
106497
|
-
* *
|
|
106498
|
-
* *
|
|
106499
|
-
* * You can use Dockerfile to edit the content of image components
|
|
106500
|
-
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to
|
|
108002
|
+
* * You can create only custom image components.
|
|
108003
|
+
* * Only Linux operating systems are supported. Set `SystemType` to Linux.
|
|
108004
|
+
* * Only image build components are supported. Set `ComponentType` to Build.
|
|
108005
|
+
* * You can use Dockerfile to edit the content of image components and pass the edited content into the `Content` parameter. The content size can be up to 16 KB. `FROM` commands cannot be used in image components. An image component supports up to 127 commands. For information about the supported commands, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
108006
|
+
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to create image templates from image components. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
106501
108007
|
*
|
|
106502
108008
|
* @param request - CreateImageComponentRequest
|
|
106503
108009
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -106591,12 +108097,13 @@ export default class Client extends OpenApi {
|
|
|
106591
108097
|
* Creates an image component. Image components are used to store the image template commands that are commonly used to create images.
|
|
106592
108098
|
*
|
|
106593
108099
|
* @remarks
|
|
108100
|
+
* ## [](#)Usage notes
|
|
106594
108101
|
* Take note of the following items:
|
|
106595
|
-
* *
|
|
106596
|
-
* *
|
|
106597
|
-
* *
|
|
106598
|
-
* * You can use Dockerfile to edit the content of image components
|
|
106599
|
-
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to
|
|
108102
|
+
* * You can create only custom image components.
|
|
108103
|
+
* * Only Linux operating systems are supported. Set `SystemType` to Linux.
|
|
108104
|
+
* * Only image build components are supported. Set `ComponentType` to Build.
|
|
108105
|
+
* * You can use Dockerfile to edit the content of image components and pass the edited content into the `Content` parameter. The content size can be up to 16 KB. `FROM` commands cannot be used in image components. An image component supports up to 127 commands. For information about the supported commands, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
108106
|
+
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to create image templates from image components. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
106600
108107
|
*
|
|
106601
108108
|
* @param request - CreateImageComponentRequest
|
|
106602
108109
|
* @returns CreateImageComponentResponse
|
|
@@ -106610,15 +108117,16 @@ export default class Client extends OpenApi {
|
|
|
106610
108117
|
* Creates an image template. Image templates can be used to create images.
|
|
106611
108118
|
*
|
|
106612
108119
|
* @remarks
|
|
106613
|
-
*
|
|
108120
|
+
* ## [](#)Usage notes
|
|
108121
|
+
* You can use image templates to customize image content and create images across regions and accounts. Take note of the following items:
|
|
106614
108122
|
* * You can create only custom image templates.
|
|
106615
108123
|
* * You can configure only public, custom, or shared Linux images or image families as the source images when you create image templates.
|
|
106616
|
-
* * When you
|
|
106617
|
-
*
|
|
106618
|
-
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source
|
|
108124
|
+
* * When you create an image from an image template, an intermediate Elastic Compute Service (ECS) instance that uses the pay-as-you-go billing method is created. You are charged for the instance. For more information, see [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
108125
|
+
* When you use the `BuildContent` parameter to specify the content of the image template, take note of the following items:
|
|
108126
|
+
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source image and `BaseImage` that specifies the source image.
|
|
106619
108127
|
* * If the `BuildContent` value does not contain `FROM` commands, the system creates a `FROM` command that consists of the `BaseImageType` and `BaseImage` values in the format of `<BaseImageType>:<BaseImage>` and adds the command to the first line of the template content.
|
|
106620
|
-
* * You can use Dockerfile to edit the content of image
|
|
106621
|
-
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [
|
|
108128
|
+
* * You can use Dockerfile to edit the content of the image template and then pass the edited content into the `BuildContent` parameter. The content cannot be greater than 16 KB in size and can contain up to 127 commands. For information about commands supported by image templates, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
108129
|
+
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
106622
108130
|
*
|
|
106623
108131
|
* @param request - CreateImagePipelineRequest
|
|
106624
108132
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -106752,15 +108260,16 @@ export default class Client extends OpenApi {
|
|
|
106752
108260
|
* Creates an image template. Image templates can be used to create images.
|
|
106753
108261
|
*
|
|
106754
108262
|
* @remarks
|
|
106755
|
-
*
|
|
108263
|
+
* ## [](#)Usage notes
|
|
108264
|
+
* You can use image templates to customize image content and create images across regions and accounts. Take note of the following items:
|
|
106756
108265
|
* * You can create only custom image templates.
|
|
106757
108266
|
* * You can configure only public, custom, or shared Linux images or image families as the source images when you create image templates.
|
|
106758
|
-
* * When you
|
|
106759
|
-
*
|
|
106760
|
-
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source
|
|
108267
|
+
* * When you create an image from an image template, an intermediate Elastic Compute Service (ECS) instance that uses the pay-as-you-go billing method is created. You are charged for the instance. For more information, see [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
108268
|
+
* When you use the `BuildContent` parameter to specify the content of the image template, take note of the following items:
|
|
108269
|
+
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source image and `BaseImage` that specifies the source image.
|
|
106761
108270
|
* * If the `BuildContent` value does not contain `FROM` commands, the system creates a `FROM` command that consists of the `BaseImageType` and `BaseImage` values in the format of `<BaseImageType>:<BaseImage>` and adds the command to the first line of the template content.
|
|
106762
|
-
* * You can use Dockerfile to edit the content of image
|
|
106763
|
-
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [
|
|
108271
|
+
* * You can use Dockerfile to edit the content of the image template and then pass the edited content into the `BuildContent` parameter. The content cannot be greater than 16 KB in size and can contain up to 127 commands. For information about commands supported by image templates, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
108272
|
+
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
106764
108273
|
*
|
|
106765
108274
|
* @param request - CreateImagePipelineRequest
|
|
106766
108275
|
* @returns CreateImagePipelineResponse
|
|
@@ -107477,7 +108986,7 @@ export default class Client extends OpenApi {
|
|
|
107477
108986
|
}
|
|
107478
108987
|
|
|
107479
108988
|
/**
|
|
107480
|
-
* Creates a version for a launch template. You can use the created version to create Elastic Compute Service (ECS) instances, scaling groups, or auto provisioning groups. When you call this operation, you can specify parameters, such as LaunchTemplateId, VersionDescription, and
|
|
108989
|
+
* Creates a version for a launch template. You can use the created version to create Elastic Compute Service (ECS) instances, scaling groups, or auto provisioning groups. When you call this operation, you can specify parameters, such as LaunchTemplateId, VersionDescription, and instance-related parameters, in the request.
|
|
107481
108990
|
*
|
|
107482
108991
|
* @remarks
|
|
107483
108992
|
* ## [](#)Usage notes
|
|
@@ -107720,7 +109229,7 @@ export default class Client extends OpenApi {
|
|
|
107720
109229
|
}
|
|
107721
109230
|
|
|
107722
109231
|
/**
|
|
107723
|
-
* Creates a version for a launch template. You can use the created version to create Elastic Compute Service (ECS) instances, scaling groups, or auto provisioning groups. When you call this operation, you can specify parameters, such as LaunchTemplateId, VersionDescription, and
|
|
109232
|
+
* Creates a version for a launch template. You can use the created version to create Elastic Compute Service (ECS) instances, scaling groups, or auto provisioning groups. When you call this operation, you can specify parameters, such as LaunchTemplateId, VersionDescription, and instance-related parameters, in the request.
|
|
107724
109233
|
*
|
|
107725
109234
|
* @remarks
|
|
107726
109235
|
* ## [](#)Usage notes
|
|
@@ -108815,20 +110324,19 @@ export default class Client extends OpenApi {
|
|
|
108815
110324
|
* This parameter is empty by default, which indicates that the snapshot is not automatically released.
|
|
108816
110325
|
*
|
|
108817
110326
|
* @remarks
|
|
108818
|
-
* ## [](#)Usage notes
|
|
108819
110327
|
* The local snapshot feature is replaced by the instant access feature. Take note of the following items:
|
|
108820
110328
|
* * If you have used the local snapshot feature before December 14, 2020, you can use the Category parameter.
|
|
108821
|
-
* * If you have not used the local snapshot feature before December 14, 2020, new snapshots of your
|
|
110329
|
+
* * If you have not used the local snapshot feature before December 14, 2020, new snapshots of your Enterprise SSD (ESSD) series disks are instantly available after creation without the need for additional configurations, regardless of whether the snapshots are manually or automatically created. ESSD-series disks include ESSDs, ESSD AutoPL disks, ESSD Entry disks, and Regional ESSDs. The InstantAccess, InstantAccessRetentionDays, and DisableInstantAccess parameters that are related to the instant access feature no longer take effect in API operations. The Available parameter is added to the DescribeSnapshots and DescribeSnapshotGroups operations to indicate whether snapshots are available.
|
|
108822
110330
|
* In the following scenarios, you cannot create snapshots for a disk:
|
|
108823
110331
|
* * The number of manual snapshots of the disk has reached 256.
|
|
108824
110332
|
* * A snapshot is being created for the disk.
|
|
108825
110333
|
* * The Elastic Compute Service (ECS) instance to which the disk is attached has never been started.
|
|
108826
110334
|
* * The ECS instance to which the disk is attached is not in the **Stopped** (`Stopped`) or **Running** (`Running`) state.
|
|
108827
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query
|
|
110335
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query information about an ECS instance, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
108828
110336
|
* When you create a snapshot, take note of the following items:
|
|
108829
110337
|
* * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](https://help.aliyun.com/document_detail/25535.html) operation.
|
|
108830
110338
|
* * When a snapshot is being created for a disk that is attached to an ECS instance, do not change the instance state.
|
|
108831
|
-
* * You can create snapshots for a disk that is in the **Expired** (`Expired`) state. If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** (`Creating` state and is deleted when the disk is released.
|
|
110339
|
+
* * You can create snapshots for a disk that is in the **Expired** (`Expired`) state. If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** (`Creating`) state and is deleted when the disk is released.
|
|
108832
110340
|
*
|
|
108833
110341
|
* @param request - CreateSnapshotRequest
|
|
108834
110342
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -108919,20 +110427,19 @@ export default class Client extends OpenApi {
|
|
|
108919
110427
|
* This parameter is empty by default, which indicates that the snapshot is not automatically released.
|
|
108920
110428
|
*
|
|
108921
110429
|
* @remarks
|
|
108922
|
-
* ## [](#)Usage notes
|
|
108923
110430
|
* The local snapshot feature is replaced by the instant access feature. Take note of the following items:
|
|
108924
110431
|
* * If you have used the local snapshot feature before December 14, 2020, you can use the Category parameter.
|
|
108925
|
-
* * If you have not used the local snapshot feature before December 14, 2020, new snapshots of your
|
|
110432
|
+
* * If you have not used the local snapshot feature before December 14, 2020, new snapshots of your Enterprise SSD (ESSD) series disks are instantly available after creation without the need for additional configurations, regardless of whether the snapshots are manually or automatically created. ESSD-series disks include ESSDs, ESSD AutoPL disks, ESSD Entry disks, and Regional ESSDs. The InstantAccess, InstantAccessRetentionDays, and DisableInstantAccess parameters that are related to the instant access feature no longer take effect in API operations. The Available parameter is added to the DescribeSnapshots and DescribeSnapshotGroups operations to indicate whether snapshots are available.
|
|
108926
110433
|
* In the following scenarios, you cannot create snapshots for a disk:
|
|
108927
110434
|
* * The number of manual snapshots of the disk has reached 256.
|
|
108928
110435
|
* * A snapshot is being created for the disk.
|
|
108929
110436
|
* * The Elastic Compute Service (ECS) instance to which the disk is attached has never been started.
|
|
108930
110437
|
* * The ECS instance to which the disk is attached is not in the **Stopped** (`Stopped`) or **Running** (`Running`) state.
|
|
108931
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query
|
|
110438
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query information about an ECS instance, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
108932
110439
|
* When you create a snapshot, take note of the following items:
|
|
108933
110440
|
* * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](https://help.aliyun.com/document_detail/25535.html) operation.
|
|
108934
110441
|
* * When a snapshot is being created for a disk that is attached to an ECS instance, do not change the instance state.
|
|
108935
|
-
* * You can create snapshots for a disk that is in the **Expired** (`Expired`) state. If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** (`Creating` state and is deleted when the disk is released.
|
|
110442
|
+
* * You can create snapshots for a disk that is in the **Expired** (`Expired`) state. If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** (`Creating`) state and is deleted when the disk is released.
|
|
108936
110443
|
*
|
|
108937
110444
|
* @param request - CreateSnapshotRequest
|
|
108938
110445
|
* @returns CreateSnapshotResponse
|
|
@@ -108946,17 +110453,16 @@ export default class Client extends OpenApi {
|
|
|
108946
110453
|
* Creates a snapshot-consistent group for the disks of an Elastic Compute Service (ECS) instance. A snapshot-consistent group contains snapshots of one or more disks.
|
|
108947
110454
|
*
|
|
108948
110455
|
* @remarks
|
|
108949
|
-
*
|
|
108950
|
-
* You
|
|
108951
|
-
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If `InstanceId` is specified, you can use `DiskId.N` to specify only disks on the ECS instance specified by InstanceId and cannot use DiskId.N to specify disks across ECS instances.
|
|
110456
|
+
* You can specify `InstanceId` to create a snapshot-consistent group for disks on a specific ECS instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple disks on multiple ECS instances within the same zone.
|
|
110457
|
+
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If you specify `InstanceId`, you can use `DiskId.N` to specify only disks on the specified ECS instance and cannot use DiskId.N to specify disks across ECS instances.
|
|
108952
110458
|
* Take note of the following items:
|
|
108953
110459
|
* * The disks for which you want to create a snapshot must be in the **In Use** (`In_use`) or **Unattached** (`Available`) state.
|
|
108954
110460
|
* * If a disk is in the **In Use** (`In_use`) state, make sure that the ECS instance to which the disk is attached is in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
108955
110461
|
* * If a disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to ECS instances. Snapshots cannot be created for disks that have never been attached to an ECS instance.
|
|
108956
|
-
* * Snapshot-consistent groups can be used to create snapshots only for
|
|
110462
|
+
* * Snapshot-consistent groups can be used to create snapshots only for Enterprise SSDs (ESSDs), ESSD AutoPL disks, and ESSD Entry disks.
|
|
108957
110463
|
* * A snapshot-consistent group can contain snapshots of up to 16 disks, including system disks and data disks, and cannot exceed 32 TiB in size.
|
|
108958
110464
|
* * Snapshots that you created are stored indefinitely until you delete the snapshots. We recommend that you delete unnecessary snapshots on a regular basis to prevent excess snapshot storage fees.
|
|
108959
|
-
* * Snapshot-consistent groups cannot be created for disks for which multi-attach feature is enabled. If disks for which the multi-attach feature is enabled are attached to an ECS instance, specify the `ExcludeDiskId.N` parameter to exclude the disks.
|
|
110465
|
+
* * Snapshot-consistent groups cannot be created for disks for which multi-attach feature is enabled. If disks for which the multi-attach feature is enabled are attached to an ECS instance, you must specify the `ExcludeDiskId.N` parameter to exclude the disks.
|
|
108960
110466
|
* For more information about the snapshot-consistent group feature, see [Create a snapshot-consistent group](https://help.aliyun.com/document_detail/199625.html).
|
|
108961
110467
|
*
|
|
108962
110468
|
* @param request - CreateSnapshotGroupRequest
|
|
@@ -109051,17 +110557,16 @@ export default class Client extends OpenApi {
|
|
|
109051
110557
|
* Creates a snapshot-consistent group for the disks of an Elastic Compute Service (ECS) instance. A snapshot-consistent group contains snapshots of one or more disks.
|
|
109052
110558
|
*
|
|
109053
110559
|
* @remarks
|
|
109054
|
-
*
|
|
109055
|
-
* You
|
|
109056
|
-
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If `InstanceId` is specified, you can use `DiskId.N` to specify only disks on the ECS instance specified by InstanceId and cannot use DiskId.N to specify disks across ECS instances.
|
|
110560
|
+
* You can specify `InstanceId` to create a snapshot-consistent group for disks on a specific ECS instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple disks on multiple ECS instances within the same zone.
|
|
110561
|
+
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If you specify `InstanceId`, you can use `DiskId.N` to specify only disks on the specified ECS instance and cannot use DiskId.N to specify disks across ECS instances.
|
|
109057
110562
|
* Take note of the following items:
|
|
109058
110563
|
* * The disks for which you want to create a snapshot must be in the **In Use** (`In_use`) or **Unattached** (`Available`) state.
|
|
109059
110564
|
* * If a disk is in the **In Use** (`In_use`) state, make sure that the ECS instance to which the disk is attached is in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
109060
110565
|
* * If a disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to ECS instances. Snapshots cannot be created for disks that have never been attached to an ECS instance.
|
|
109061
|
-
* * Snapshot-consistent groups can be used to create snapshots only for
|
|
110566
|
+
* * Snapshot-consistent groups can be used to create snapshots only for Enterprise SSDs (ESSDs), ESSD AutoPL disks, and ESSD Entry disks.
|
|
109062
110567
|
* * A snapshot-consistent group can contain snapshots of up to 16 disks, including system disks and data disks, and cannot exceed 32 TiB in size.
|
|
109063
110568
|
* * Snapshots that you created are stored indefinitely until you delete the snapshots. We recommend that you delete unnecessary snapshots on a regular basis to prevent excess snapshot storage fees.
|
|
109064
|
-
* * Snapshot-consistent groups cannot be created for disks for which multi-attach feature is enabled. If disks for which the multi-attach feature is enabled are attached to an ECS instance, specify the `ExcludeDiskId.N` parameter to exclude the disks.
|
|
110569
|
+
* * Snapshot-consistent groups cannot be created for disks for which multi-attach feature is enabled. If disks for which the multi-attach feature is enabled are attached to an ECS instance, you must specify the `ExcludeDiskId.N` parameter to exclude the disks.
|
|
109065
110570
|
* For more information about the snapshot-consistent group feature, see [Create a snapshot-consistent group](https://help.aliyun.com/document_detail/199625.html).
|
|
109066
110571
|
*
|
|
109067
110572
|
* @param request - CreateSnapshotGroupRequest
|
|
@@ -114445,7 +115950,7 @@ export default class Client extends OpenApi {
|
|
|
114445
115950
|
}
|
|
114446
115951
|
|
|
114447
115952
|
/**
|
|
114448
|
-
* Queries the key used
|
|
115953
|
+
* Queries the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
114449
115954
|
*
|
|
114450
115955
|
* @param request - DescribeDiskDefaultKMSKeyIdRequest
|
|
114451
115956
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -114480,7 +115985,7 @@ export default class Client extends OpenApi {
|
|
|
114480
115985
|
}
|
|
114481
115986
|
|
|
114482
115987
|
/**
|
|
114483
|
-
* Queries the key used
|
|
115988
|
+
* Queries the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
114484
115989
|
*
|
|
114485
115990
|
* @param request - DescribeDiskDefaultKMSKeyIdRequest
|
|
114486
115991
|
* @returns DescribeDiskDefaultKMSKeyIdResponse
|
|
@@ -120849,10 +122354,9 @@ export default class Client extends OpenApi {
|
|
|
120849
122354
|
}
|
|
120850
122355
|
|
|
120851
122356
|
/**
|
|
120852
|
-
* Queries the information of one or more snapshot-consistent groups.
|
|
122357
|
+
* Queries the information of one or more snapshot-consistent groups, such as the status of the groups, IDs of the instances associated with the groups, and snapshot creation progress.
|
|
120853
122358
|
*
|
|
120854
122359
|
* @remarks
|
|
120855
|
-
* ## [](#)Usage notes
|
|
120856
122360
|
* You can specify multiple request parameters to be queried, such as `InstanceId`, `SnapshotGroupId.N`, and `Status.N`. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
|
|
120857
122361
|
*
|
|
120858
122362
|
* @param request - DescribeSnapshotGroupsRequest
|
|
@@ -120936,10 +122440,9 @@ export default class Client extends OpenApi {
|
|
|
120936
122440
|
}
|
|
120937
122441
|
|
|
120938
122442
|
/**
|
|
120939
|
-
* Queries the information of one or more snapshot-consistent groups.
|
|
122443
|
+
* Queries the information of one or more snapshot-consistent groups, such as the status of the groups, IDs of the instances associated with the groups, and snapshot creation progress.
|
|
120940
122444
|
*
|
|
120941
122445
|
* @remarks
|
|
120942
|
-
* ## [](#)Usage notes
|
|
120943
122446
|
* You can specify multiple request parameters to be queried, such as `InstanceId`, `SnapshotGroupId.N`, and `Status.N`. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
|
|
120944
122447
|
*
|
|
120945
122448
|
* @param request - DescribeSnapshotGroupsRequest
|
|
@@ -121195,7 +122698,7 @@ export default class Client extends OpenApi {
|
|
|
121195
122698
|
}
|
|
121196
122699
|
|
|
121197
122700
|
/**
|
|
121198
|
-
* Queries all snapshots of an Elastic Compute Service (ECS) instance or a disk.
|
|
122701
|
+
* Queries the details of all snapshots of an Elastic Compute Service (ECS) instance or a cloud disk. The details include the status of the snapshots, amount of remaining time required to create the snapshots, and the retention period of the automatic snapshots in days.
|
|
121199
122702
|
*
|
|
121200
122703
|
* @remarks
|
|
121201
122704
|
* You can configure multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Configured parameters have logical AND relations. Only the configured parameters are included in the filter conditions.
|
|
@@ -121326,7 +122829,7 @@ export default class Client extends OpenApi {
|
|
|
121326
122829
|
}
|
|
121327
122830
|
|
|
121328
122831
|
/**
|
|
121329
|
-
* Queries all snapshots of an Elastic Compute Service (ECS) instance or a disk.
|
|
122832
|
+
* Queries the details of all snapshots of an Elastic Compute Service (ECS) instance or a cloud disk. The details include the status of the snapshots, amount of remaining time required to create the snapshots, and the retention period of the automatic snapshots in days.
|
|
121330
122833
|
*
|
|
121331
122834
|
* @remarks
|
|
121332
122835
|
* You can configure multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Configured parameters have logical AND relations. Only the configured parameters are included in the filter conditions.
|
|
@@ -123240,7 +124743,11 @@ export default class Client extends OpenApi {
|
|
|
123240
124743
|
* Disables account-level default encryption of Elastic Block Storage (EBS) resources in a region. After you disable account-level default encryption of EBS resources in a region, the encryption status of existing disks in the region does not change. When you create a disk, you can still choose to encrypt the disk.
|
|
123241
124744
|
*
|
|
123242
124745
|
* @remarks
|
|
123243
|
-
*
|
|
124746
|
+
* **Instructions**
|
|
124747
|
+
* * Only Alibaba Cloud accounts can call this operation.
|
|
124748
|
+
* * **Considerations**
|
|
124749
|
+
* * After Account-level EBS Default Encryption is disabled, the encryption status of existing cloud disks is not affected.
|
|
124750
|
+
* * After Account-level EBS Default Encryption is disabled, you can still choose to encrypt new cloud disks when you purchase the disks.
|
|
123244
124751
|
*
|
|
123245
124752
|
* @param request - DisableDiskEncryptionByDefaultRequest
|
|
123246
124753
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -123278,7 +124785,11 @@ export default class Client extends OpenApi {
|
|
|
123278
124785
|
* Disables account-level default encryption of Elastic Block Storage (EBS) resources in a region. After you disable account-level default encryption of EBS resources in a region, the encryption status of existing disks in the region does not change. When you create a disk, you can still choose to encrypt the disk.
|
|
123279
124786
|
*
|
|
123280
124787
|
* @remarks
|
|
123281
|
-
*
|
|
124788
|
+
* **Instructions**
|
|
124789
|
+
* * Only Alibaba Cloud accounts can call this operation.
|
|
124790
|
+
* * **Considerations**
|
|
124791
|
+
* * After Account-level EBS Default Encryption is disabled, the encryption status of existing cloud disks is not affected.
|
|
124792
|
+
* * After Account-level EBS Default Encryption is disabled, you can still choose to encrypt new cloud disks when you purchase the disks.
|
|
123282
124793
|
*
|
|
123283
124794
|
* @param request - DisableDiskEncryptionByDefaultRequest
|
|
123284
124795
|
* @returns DisableDiskEncryptionByDefaultResponse
|
|
@@ -123289,216 +124800,21 @@ export default class Client extends OpenApi {
|
|
|
123289
124800
|
}
|
|
123290
124801
|
|
|
123291
124802
|
/**
|
|
123292
|
-
*
|
|
123293
|
-
*
|
|
123294
|
-
* @param request - EipFillParamsRequest
|
|
123295
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
123296
|
-
* @returns EipFillParamsResponse
|
|
123297
|
-
*/
|
|
123298
|
-
// Deprecated
|
|
123299
|
-
async eipFillParamsWithOptions(request: EipFillParamsRequest, runtime: $Util.RuntimeOptions): Promise<EipFillParamsResponse> {
|
|
123300
|
-
Util.validateModel(request);
|
|
123301
|
-
let query = { };
|
|
123302
|
-
if (!Util.isUnset(request.clientToken)) {
|
|
123303
|
-
query["ClientToken"] = request.clientToken;
|
|
123304
|
-
}
|
|
123305
|
-
|
|
123306
|
-
if (!Util.isUnset(request.ownerAccount)) {
|
|
123307
|
-
query["OwnerAccount"] = request.ownerAccount;
|
|
123308
|
-
}
|
|
123309
|
-
|
|
123310
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
123311
|
-
query["OwnerId"] = request.ownerId;
|
|
123312
|
-
}
|
|
123313
|
-
|
|
123314
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
123315
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
123316
|
-
}
|
|
123317
|
-
|
|
123318
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
123319
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
123320
|
-
}
|
|
123321
|
-
|
|
123322
|
-
if (!Util.isUnset(request.userCidr)) {
|
|
123323
|
-
query["UserCidr"] = request.userCidr;
|
|
123324
|
-
}
|
|
123325
|
-
|
|
123326
|
-
if (!Util.isUnset(request.data)) {
|
|
123327
|
-
query["data"] = request.data;
|
|
123328
|
-
}
|
|
123329
|
-
|
|
123330
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
123331
|
-
query: OpenApiUtil.query(query),
|
|
123332
|
-
});
|
|
123333
|
-
let params = new $OpenApi.Params({
|
|
123334
|
-
action: "EipFillParams",
|
|
123335
|
-
version: "2014-05-26",
|
|
123336
|
-
protocol: "HTTPS",
|
|
123337
|
-
pathname: "/",
|
|
123338
|
-
method: "POST",
|
|
123339
|
-
authType: "AK",
|
|
123340
|
-
style: "RPC",
|
|
123341
|
-
reqBodyType: "formData",
|
|
123342
|
-
bodyType: "json",
|
|
123343
|
-
});
|
|
123344
|
-
return $tea.cast<EipFillParamsResponse>(await this.callApi(params, req, runtime), new EipFillParamsResponse({}));
|
|
123345
|
-
}
|
|
123346
|
-
|
|
123347
|
-
/**
|
|
123348
|
-
* @deprecated OpenAPI EipFillParams is deprecated
|
|
123349
|
-
*
|
|
123350
|
-
* @param request - EipFillParamsRequest
|
|
123351
|
-
* @returns EipFillParamsResponse
|
|
123352
|
-
*/
|
|
123353
|
-
// Deprecated
|
|
123354
|
-
async eipFillParams(request: EipFillParamsRequest): Promise<EipFillParamsResponse> {
|
|
123355
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
123356
|
-
return await this.eipFillParamsWithOptions(request, runtime);
|
|
123357
|
-
}
|
|
123358
|
-
|
|
123359
|
-
/**
|
|
123360
|
-
* @deprecated OpenAPI EipFillProduct is deprecated
|
|
123361
|
-
*
|
|
123362
|
-
* @param request - EipFillProductRequest
|
|
123363
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
123364
|
-
* @returns EipFillProductResponse
|
|
123365
|
-
*/
|
|
123366
|
-
// Deprecated
|
|
123367
|
-
async eipFillProductWithOptions(request: EipFillProductRequest, runtime: $Util.RuntimeOptions): Promise<EipFillProductResponse> {
|
|
123368
|
-
Util.validateModel(request);
|
|
123369
|
-
let query = { };
|
|
123370
|
-
if (!Util.isUnset(request.clientToken)) {
|
|
123371
|
-
query["ClientToken"] = request.clientToken;
|
|
123372
|
-
}
|
|
123373
|
-
|
|
123374
|
-
if (!Util.isUnset(request.ownerAccount)) {
|
|
123375
|
-
query["OwnerAccount"] = request.ownerAccount;
|
|
123376
|
-
}
|
|
123377
|
-
|
|
123378
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
123379
|
-
query["OwnerId"] = request.ownerId;
|
|
123380
|
-
}
|
|
123381
|
-
|
|
123382
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
123383
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
123384
|
-
}
|
|
123385
|
-
|
|
123386
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
123387
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
123388
|
-
}
|
|
123389
|
-
|
|
123390
|
-
if (!Util.isUnset(request.userCidr)) {
|
|
123391
|
-
query["UserCidr"] = request.userCidr;
|
|
123392
|
-
}
|
|
123393
|
-
|
|
123394
|
-
if (!Util.isUnset(request.data)) {
|
|
123395
|
-
query["data"] = request.data;
|
|
123396
|
-
}
|
|
123397
|
-
|
|
123398
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
123399
|
-
query: OpenApiUtil.query(query),
|
|
123400
|
-
});
|
|
123401
|
-
let params = new $OpenApi.Params({
|
|
123402
|
-
action: "EipFillProduct",
|
|
123403
|
-
version: "2014-05-26",
|
|
123404
|
-
protocol: "HTTPS",
|
|
123405
|
-
pathname: "/",
|
|
123406
|
-
method: "POST",
|
|
123407
|
-
authType: "AK",
|
|
123408
|
-
style: "RPC",
|
|
123409
|
-
reqBodyType: "formData",
|
|
123410
|
-
bodyType: "json",
|
|
123411
|
-
});
|
|
123412
|
-
return $tea.cast<EipFillProductResponse>(await this.callApi(params, req, runtime), new EipFillProductResponse({}));
|
|
123413
|
-
}
|
|
123414
|
-
|
|
123415
|
-
/**
|
|
123416
|
-
* @deprecated OpenAPI EipFillProduct is deprecated
|
|
123417
|
-
*
|
|
123418
|
-
* @param request - EipFillProductRequest
|
|
123419
|
-
* @returns EipFillProductResponse
|
|
123420
|
-
*/
|
|
123421
|
-
// Deprecated
|
|
123422
|
-
async eipFillProduct(request: EipFillProductRequest): Promise<EipFillProductResponse> {
|
|
123423
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
123424
|
-
return await this.eipFillProductWithOptions(request, runtime);
|
|
123425
|
-
}
|
|
123426
|
-
|
|
123427
|
-
/**
|
|
123428
|
-
* @deprecated OpenAPI EipNotifyPaid is deprecated
|
|
123429
|
-
*
|
|
123430
|
-
* @param request - EipNotifyPaidRequest
|
|
123431
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
123432
|
-
* @returns EipNotifyPaidResponse
|
|
123433
|
-
*/
|
|
123434
|
-
// Deprecated
|
|
123435
|
-
async eipNotifyPaidWithOptions(request: EipNotifyPaidRequest, runtime: $Util.RuntimeOptions): Promise<EipNotifyPaidResponse> {
|
|
123436
|
-
Util.validateModel(request);
|
|
123437
|
-
let query = { };
|
|
123438
|
-
if (!Util.isUnset(request.clientToken)) {
|
|
123439
|
-
query["ClientToken"] = request.clientToken;
|
|
123440
|
-
}
|
|
123441
|
-
|
|
123442
|
-
if (!Util.isUnset(request.ownerAccount)) {
|
|
123443
|
-
query["OwnerAccount"] = request.ownerAccount;
|
|
123444
|
-
}
|
|
123445
|
-
|
|
123446
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
123447
|
-
query["OwnerId"] = request.ownerId;
|
|
123448
|
-
}
|
|
123449
|
-
|
|
123450
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
123451
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
123452
|
-
}
|
|
123453
|
-
|
|
123454
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
123455
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
123456
|
-
}
|
|
123457
|
-
|
|
123458
|
-
if (!Util.isUnset(request.userCidr)) {
|
|
123459
|
-
query["UserCidr"] = request.userCidr;
|
|
123460
|
-
}
|
|
123461
|
-
|
|
123462
|
-
if (!Util.isUnset(request.data)) {
|
|
123463
|
-
query["data"] = request.data;
|
|
123464
|
-
}
|
|
123465
|
-
|
|
123466
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
123467
|
-
query: OpenApiUtil.query(query),
|
|
123468
|
-
});
|
|
123469
|
-
let params = new $OpenApi.Params({
|
|
123470
|
-
action: "EipNotifyPaid",
|
|
123471
|
-
version: "2014-05-26",
|
|
123472
|
-
protocol: "HTTPS",
|
|
123473
|
-
pathname: "/",
|
|
123474
|
-
method: "POST",
|
|
123475
|
-
authType: "AK",
|
|
123476
|
-
style: "RPC",
|
|
123477
|
-
reqBodyType: "formData",
|
|
123478
|
-
bodyType: "json",
|
|
123479
|
-
});
|
|
123480
|
-
return $tea.cast<EipNotifyPaidResponse>(await this.callApi(params, req, runtime), new EipNotifyPaidResponse({}));
|
|
123481
|
-
}
|
|
123482
|
-
|
|
123483
|
-
/**
|
|
123484
|
-
* @deprecated OpenAPI EipNotifyPaid is deprecated
|
|
123485
|
-
*
|
|
123486
|
-
* @param request - EipNotifyPaidRequest
|
|
123487
|
-
* @returns EipNotifyPaidResponse
|
|
123488
|
-
*/
|
|
123489
|
-
// Deprecated
|
|
123490
|
-
async eipNotifyPaid(request: EipNotifyPaidRequest): Promise<EipNotifyPaidResponse> {
|
|
123491
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
123492
|
-
return await this.eipNotifyPaidWithOptions(request, runtime);
|
|
123493
|
-
}
|
|
123494
|
-
|
|
123495
|
-
/**
|
|
123496
|
-
* Enables account-level default encryption of Elastic Block Storage (EBS) resources in a region. After you enable account-level default encryption of EBS resources in a region, new pay-as-you-go and subscription cloud disks in the region must be encrypted. You can use the default Key Management Service (KMS) key ID for account-level default encryption of EBS resources or specify other KMS key IDs to encrypt the cloud disks. The first time you enable account-level default encryption of EBS resources in a region, the service key in the region is automatically used to encrypt EBS resources. You can call the ModifyDiskDefaultKMSKeyId or ResetDiskDefaultKMSKeyId operation to change the KMS key ID used for account-level default encryption of EBS resources.
|
|
124803
|
+
* Enables the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
123497
124804
|
*
|
|
123498
124805
|
* @remarks
|
|
123499
|
-
*
|
|
123500
|
-
* *
|
|
123501
|
-
*
|
|
124806
|
+
* > The Account-level EBS Default Encryption feature is available only in specific regions and to specific users. To use Account-level EBS Default Encryption, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm#/ticket/list).
|
|
124807
|
+
* * **Precautions**
|
|
124808
|
+
* * Only Alibaba Cloud accounts can call this operation.
|
|
124809
|
+
* * Before you can enable the Account-level EBS Default Encryption feature in a region, you must [activate Key Management Service (KMS)](https://help.aliyun.com/document_detail/480156.html) in the region.
|
|
124810
|
+
* * After you enable the Account-level EBS Default Encryption feature in a region, you can purchase only encrypted cloud disks in the region. For more information, see the [Limits](~~59643#50de175230erj~~) section of the "Encrypt cloud disks" topic.
|
|
124811
|
+
* * **Considerations**
|
|
124812
|
+
* * After you enable the Account-level EBS Default Encryption feature in a region, new pay-as-you-go and subscription cloud disks in the region must be encrypted. You can use the KMS key configured for the Account-level EBS Default Encryption feature or specify other KMS keys to encrypt the cloud disks.
|
|
124813
|
+
* * The first time you enable the Account-level EBS Default Encryption feature in a region, the service key in the region is automatically used to encrypt EBS resources.
|
|
124814
|
+
* * **Suggestions**
|
|
124815
|
+
* * You can call the [DescribeDiskEncryptionByDefaultStatus](https://help.aliyun.com/document_detail/2851493.html) operation to query whether the Account-level EBS Default Encryption feature is enabled in a region and the [DescribeDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851490.html) operation to query the ID of the KMS key used by the Account-level EBS Default Encryption feature in a region.
|
|
124816
|
+
* * You can call the [ModifyDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851492.html) or [ResetDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851539.html) operation to change or reset the KMS key used by the Account-level EBS Default Encryption feature in a region.
|
|
124817
|
+
* * You can call the [DisableDiskEncryptionByDefault](https://help.aliyun.com/document_detail/2851491.html) operation to disable the Account-level EBS Default Encryption feature in a region.
|
|
123502
124818
|
*
|
|
123503
124819
|
* @param request - EnableDiskEncryptionByDefaultRequest
|
|
123504
124820
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -123545,12 +124861,21 @@ export default class Client extends OpenApi {
|
|
|
123545
124861
|
}
|
|
123546
124862
|
|
|
123547
124863
|
/**
|
|
123548
|
-
* Enables
|
|
124864
|
+
* Enables the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
123549
124865
|
*
|
|
123550
124866
|
* @remarks
|
|
123551
|
-
*
|
|
123552
|
-
* *
|
|
123553
|
-
*
|
|
124867
|
+
* > The Account-level EBS Default Encryption feature is available only in specific regions and to specific users. To use Account-level EBS Default Encryption, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm#/ticket/list).
|
|
124868
|
+
* * **Precautions**
|
|
124869
|
+
* * Only Alibaba Cloud accounts can call this operation.
|
|
124870
|
+
* * Before you can enable the Account-level EBS Default Encryption feature in a region, you must [activate Key Management Service (KMS)](https://help.aliyun.com/document_detail/480156.html) in the region.
|
|
124871
|
+
* * After you enable the Account-level EBS Default Encryption feature in a region, you can purchase only encrypted cloud disks in the region. For more information, see the [Limits](~~59643#50de175230erj~~) section of the "Encrypt cloud disks" topic.
|
|
124872
|
+
* * **Considerations**
|
|
124873
|
+
* * After you enable the Account-level EBS Default Encryption feature in a region, new pay-as-you-go and subscription cloud disks in the region must be encrypted. You can use the KMS key configured for the Account-level EBS Default Encryption feature or specify other KMS keys to encrypt the cloud disks.
|
|
124874
|
+
* * The first time you enable the Account-level EBS Default Encryption feature in a region, the service key in the region is automatically used to encrypt EBS resources.
|
|
124875
|
+
* * **Suggestions**
|
|
124876
|
+
* * You can call the [DescribeDiskEncryptionByDefaultStatus](https://help.aliyun.com/document_detail/2851493.html) operation to query whether the Account-level EBS Default Encryption feature is enabled in a region and the [DescribeDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851490.html) operation to query the ID of the KMS key used by the Account-level EBS Default Encryption feature in a region.
|
|
124877
|
+
* * You can call the [ModifyDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851492.html) or [ResetDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851539.html) operation to change or reset the KMS key used by the Account-level EBS Default Encryption feature in a region.
|
|
124878
|
+
* * You can call the [DisableDiskEncryptionByDefault](https://help.aliyun.com/document_detail/2851491.html) operation to disable the Account-level EBS Default Encryption feature in a region.
|
|
123554
124879
|
*
|
|
123555
124880
|
* @param request - EnableDiskEncryptionByDefaultRequest
|
|
123556
124881
|
* @returns EnableDiskEncryptionByDefaultResponse
|
|
@@ -125686,6 +127011,10 @@ export default class Client extends OpenApi {
|
|
|
125686
127011
|
query["Description"] = request.description;
|
|
125687
127012
|
}
|
|
125688
127013
|
|
|
127014
|
+
if (!Util.isUnset(request.launcher)) {
|
|
127015
|
+
query["Launcher"] = request.launcher;
|
|
127016
|
+
}
|
|
127017
|
+
|
|
125689
127018
|
if (!Util.isUnset(request.name)) {
|
|
125690
127019
|
query["Name"] = request.name;
|
|
125691
127020
|
}
|
|
@@ -126627,12 +127956,12 @@ export default class Client extends OpenApi {
|
|
|
126627
127956
|
}
|
|
126628
127957
|
|
|
126629
127958
|
/**
|
|
126630
|
-
* Changes the Key Management Service (KMS) key used
|
|
127959
|
+
* Changes the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
126631
127960
|
*
|
|
126632
127961
|
* @remarks
|
|
126633
127962
|
* Only Alibaba Cloud accounts can call this operation.
|
|
126634
|
-
* * Before you can call this operation in a region,
|
|
126635
|
-
* * The first time you use a
|
|
127963
|
+
* * Before you can call this operation in a region, make sure that the Account-level EBS Default Encryption feature is enabled in the region.
|
|
127964
|
+
* * The first time you use a customer master key (CMK), you must use the `AliyunECSDiskEncryptDefaultRole` role to grant Elastic Compute Service (ECS) access to KMS resources. For more information, see [Grant access to KMS keys through RAM roles](https://help.aliyun.com/document_detail/2838993.html).
|
|
126636
127965
|
*
|
|
126637
127966
|
* @param request - ModifyDiskDefaultKMSKeyIdRequest
|
|
126638
127967
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -126671,12 +128000,12 @@ export default class Client extends OpenApi {
|
|
|
126671
128000
|
}
|
|
126672
128001
|
|
|
126673
128002
|
/**
|
|
126674
|
-
* Changes the Key Management Service (KMS) key used
|
|
128003
|
+
* Changes the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
126675
128004
|
*
|
|
126676
128005
|
* @remarks
|
|
126677
128006
|
* Only Alibaba Cloud accounts can call this operation.
|
|
126678
|
-
* * Before you can call this operation in a region,
|
|
126679
|
-
* * The first time you use a
|
|
128007
|
+
* * Before you can call this operation in a region, make sure that the Account-level EBS Default Encryption feature is enabled in the region.
|
|
128008
|
+
* * The first time you use a customer master key (CMK), you must use the `AliyunECSDiskEncryptDefaultRole` role to grant Elastic Compute Service (ECS) access to KMS resources. For more information, see [Grant access to KMS keys through RAM roles](https://help.aliyun.com/document_detail/2838993.html).
|
|
126680
128009
|
*
|
|
126681
128010
|
* @param request - ModifyDiskDefaultKMSKeyIdRequest
|
|
126682
128011
|
* @returns ModifyDiskDefaultKMSKeyIdResponse
|
|
@@ -131049,7 +132378,11 @@ export default class Client extends OpenApi {
|
|
|
131049
132378
|
}
|
|
131050
132379
|
|
|
131051
132380
|
/**
|
|
131052
|
-
*
|
|
132381
|
+
* Purchases an elasticity assurance that is not in the Active state and for which resources are prepared.
|
|
132382
|
+
*
|
|
132383
|
+
* @remarks
|
|
132384
|
+
* Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.alibabacloud.com/zh?spm=5176.28117011.nav-v2-dropdown-language.exp-location-zh.9ae4165bF98IHz&_p_lc=1) of elasticity assurances.
|
|
132385
|
+
* Before you purchase an elasticity assurance, you can call the [DescribeElasticityAssurances](https://help.aliyun.com/document_detail/2679748.html) operation to query the elasticity assurances that you can purchase.
|
|
131053
132386
|
*
|
|
131054
132387
|
* @param request - PurchaseElasticityAssuranceRequest
|
|
131055
132388
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -131116,7 +132449,11 @@ export default class Client extends OpenApi {
|
|
|
131116
132449
|
}
|
|
131117
132450
|
|
|
131118
132451
|
/**
|
|
131119
|
-
*
|
|
132452
|
+
* Purchases an elasticity assurance that is not in the Active state and for which resources are prepared.
|
|
132453
|
+
*
|
|
132454
|
+
* @remarks
|
|
132455
|
+
* Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.alibabacloud.com/zh?spm=5176.28117011.nav-v2-dropdown-language.exp-location-zh.9ae4165bF98IHz&_p_lc=1) of elasticity assurances.
|
|
132456
|
+
* Before you purchase an elasticity assurance, you can call the [DescribeElasticityAssurances](https://help.aliyun.com/document_detail/2679748.html) operation to query the elasticity assurances that you can purchase.
|
|
131120
132457
|
*
|
|
131121
132458
|
* @param request - PurchaseElasticityAssuranceRequest
|
|
131122
132459
|
* @returns PurchaseElasticityAssuranceResponse
|
|
@@ -132352,7 +133689,8 @@ export default class Client extends OpenApi {
|
|
|
132352
133689
|
* Renews one or more subscription dedicated hosts.
|
|
132353
133690
|
*
|
|
132354
133691
|
* @remarks
|
|
132355
|
-
*
|
|
133692
|
+
* ## [](#)Usage notes
|
|
133693
|
+
* When you renew subscription dedicated hosts, vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
|
|
132356
133694
|
*
|
|
132357
133695
|
* @param request - RenewDedicatedHostsRequest
|
|
132358
133696
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -132418,7 +133756,8 @@ export default class Client extends OpenApi {
|
|
|
132418
133756
|
* Renews one or more subscription dedicated hosts.
|
|
132419
133757
|
*
|
|
132420
133758
|
* @remarks
|
|
132421
|
-
*
|
|
133759
|
+
* ## [](#)Usage notes
|
|
133760
|
+
* When you renew subscription dedicated hosts, vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
|
|
132422
133761
|
*
|
|
132423
133762
|
* @param request - RenewDedicatedHostsRequest
|
|
132424
133763
|
* @returns RenewDedicatedHostsResponse
|
|
@@ -133005,7 +134344,7 @@ export default class Client extends OpenApi {
|
|
|
133005
134344
|
}
|
|
133006
134345
|
|
|
133007
134346
|
/**
|
|
133008
|
-
* Resets the Key Management Service (KMS) key used
|
|
134347
|
+
* Resets the Key Management Service (KMS) key used by Account-level Elastic Block Storage (EBS) Default Encryption in a region to the service key.
|
|
133009
134348
|
*
|
|
133010
134349
|
* @remarks
|
|
133011
134350
|
* Only Alibaba Cloud accounts can call this operation.
|
|
@@ -133044,7 +134383,7 @@ export default class Client extends OpenApi {
|
|
|
133044
134383
|
}
|
|
133045
134384
|
|
|
133046
134385
|
/**
|
|
133047
|
-
* Resets the Key Management Service (KMS) key used
|
|
134386
|
+
* Resets the Key Management Service (KMS) key used by Account-level Elastic Block Storage (EBS) Default Encryption in a region to the service key.
|
|
133048
134387
|
*
|
|
133049
134388
|
* @remarks
|
|
133050
134389
|
* Only Alibaba Cloud accounts can call this operation.
|
|
@@ -133881,121 +135220,57 @@ export default class Client extends OpenApi {
|
|
|
133881
135220
|
}
|
|
133882
135221
|
|
|
133883
135222
|
/**
|
|
133884
|
-
* Creates
|
|
135223
|
+
* Creates pay-as-you-go or subscription Elastic Compute Service (ECS) instances. This operation provides a wide array of features and functions and helps simplify the procedure to create and manage ECS instances. When you call this operation, you can choose to create multiple ECS instances at a time, automatically start the instances, and assign public IP addresses to them. You can also use the features provided by the operation, such as configuring an automatic release time for instances, using a launch template, and configuring custom CPU options, to customize instance configurations for better management of instances.
|
|
133885
135224
|
*
|
|
133886
135225
|
* @remarks
|
|
133887
135226
|
* ## [](#)Usage notes
|
|
133888
|
-
*
|
|
133889
|
-
*
|
|
133890
|
-
*
|
|
133891
|
-
* *
|
|
133892
|
-
* *
|
|
133893
|
-
*
|
|
133894
|
-
*
|
|
133895
|
-
* * You can call the RunInstances operation to create up to 100 instances at a time,
|
|
133896
|
-
* *
|
|
133897
|
-
*
|
|
133898
|
-
*
|
|
133899
|
-
* *
|
|
133900
|
-
* * You can
|
|
133901
|
-
* *
|
|
133902
|
-
* *
|
|
133903
|
-
*
|
|
133904
|
-
* * You can
|
|
133905
|
-
*
|
|
133906
|
-
*
|
|
133907
|
-
*
|
|
133908
|
-
*
|
|
133909
|
-
*
|
|
133910
|
-
*
|
|
133911
|
-
*
|
|
133912
|
-
*
|
|
133913
|
-
*
|
|
133914
|
-
*
|
|
133915
|
-
*
|
|
133916
|
-
*
|
|
133917
|
-
*
|
|
133918
|
-
*
|
|
133919
|
-
*
|
|
133920
|
-
*
|
|
133921
|
-
*
|
|
133922
|
-
*
|
|
133923
|
-
*
|
|
133924
|
-
*
|
|
133925
|
-
*
|
|
133926
|
-
*
|
|
133927
|
-
*
|
|
133928
|
-
*
|
|
133929
|
-
*
|
|
133930
|
-
*
|
|
133931
|
-
*
|
|
133932
|
-
*
|
|
133933
|
-
*
|
|
133934
|
-
*
|
|
133935
|
-
* &PeriodUnit=Month
|
|
133936
|
-
* &AutoRenew=true
|
|
133937
|
-
* &AutoRenewPeriod=1
|
|
133938
|
-
* &HostName=ECS-test
|
|
133939
|
-
* &Password=ECS@test1234
|
|
133940
|
-
* &InternetMaxBandwidthOut=10
|
|
133941
|
-
* &<Common request parameters>
|
|
133942
|
-
* ### [](#-2)Example 2: Create a pay-as-you-go instance
|
|
133943
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a pay-as-you-go instance of the ecs.g7.large instance type in the China (Hangzhou) region. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
133944
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
133945
|
-
* &RegionId=cn-hangzhou
|
|
133946
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
133947
|
-
* &InstanceType=ecs.g7.large
|
|
133948
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
133949
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
133950
|
-
* &InstanceChargeType=PostPaid
|
|
133951
|
-
* &SystemDisk.Size=40
|
|
133952
|
-
* &DataDisk.1.Size=100
|
|
133953
|
-
* &DataDisk.1.Category=cloud_essd
|
|
133954
|
-
* &SystemDisk.Category=cloud_essd
|
|
133955
|
-
* &HostName=ECS-test
|
|
133956
|
-
* &Password=ECS@test1234
|
|
133957
|
-
* &InternetMaxBandwidthOut=10
|
|
133958
|
-
* &<Common request parameters>
|
|
133959
|
-
* ### [](#-3)Example 3: Create a preemptible instance
|
|
133960
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a preemptible instance of the ecs.g7.large instance type that has a 1-hour protection period in the China (Hangzhou) region. The market price of the instance type at the time of purchase is automatically used as the bidding price. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
133961
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
133962
|
-
* &RegionId=cn-hangzhou
|
|
133963
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
133964
|
-
* &InstanceType=ecs.g7.large
|
|
133965
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
133966
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
133967
|
-
* &InstanceChargeType=PostPaid
|
|
133968
|
-
* &SystemDisk.Size=40
|
|
133969
|
-
* &DataDisk.1.Size=100
|
|
133970
|
-
* &DataDisk.1.Category=cloud_essd
|
|
133971
|
-
* &SystemDisk.Category=cloud_essd
|
|
133972
|
-
* &HostName=ECS-test
|
|
133973
|
-
* &Password=ECS@test1234
|
|
133974
|
-
* &InternetMaxBandwidthOut=10
|
|
133975
|
-
* &SpotStrategy=SpotAsPriceGo
|
|
133976
|
-
* &SpotDuration=1
|
|
133977
|
-
* &<Common request parameters>
|
|
133978
|
-
* ### [](#-4)Example 4: Create a subscription instance on a dedicated host
|
|
133979
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a one-month subscription instance of the ecs.g7.large instance type on the dh-bp12w10wll9xcjq2\\*\\*\\*\\* dedicated host in the China (Hangzhou) region. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
133980
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
133981
|
-
* &RegionId=cn-hangzhou
|
|
133982
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
133983
|
-
* &InstanceType=ecs.g7.large
|
|
133984
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
133985
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
133986
|
-
* &InstanceChargeType=PrePaid
|
|
133987
|
-
* &Amount=1
|
|
133988
|
-
* &Period=1
|
|
133989
|
-
* &PeriodUnit=Month
|
|
133990
|
-
* &SystemDisk.Size=40
|
|
133991
|
-
* &DataDisk.1.Size=100
|
|
133992
|
-
* &DataDisk.1.Category=cloud_essd
|
|
133993
|
-
* &SystemDisk.Category=cloud_essd
|
|
133994
|
-
* &HostName=ECS-test
|
|
133995
|
-
* &Password=ECS@test1234
|
|
133996
|
-
* &InternetMaxBandwidthOut=10
|
|
133997
|
-
* &DedicatedHostId=dh-bp12w10wll9xcjq2****
|
|
133998
|
-
* &<Common request parameters>
|
|
135227
|
+
* **Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of ECS resources.**
|
|
135228
|
+
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
135229
|
+
* * **Prerequisites**:
|
|
135230
|
+
* * Make sure that real-name verification is completed for your Alibaba Cloud account. For more information, see [Real-name verification](https://help.aliyun.com/document_detail/48263.html).
|
|
135231
|
+
* * Make sure that the number of ECS instances you created or the number of vCPUs on ECS instances of all instance types you created does not exceed the corresponding quota. Go to the [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas) to view the quotas.
|
|
135232
|
+
* * Before you create ECS instances of the Virtual Private Cloud (VPC) type in a region, create a VPC in the region. For more information, see [Create a VPC](https://help.aliyun.com/document_detail/65430.html).
|
|
135233
|
+
* * **Limits**:
|
|
135234
|
+
* * You can call the RunInstances operation to create up to 100 ECS instances at a time. To create more than 100 ECS instances, we recommend that you call this operation multiple times.
|
|
135235
|
+
* * If you set `InternetMaxBandwidthOut` to a value greater than 0, public IP addresses are automatically assigned to the ECS instances to be created.
|
|
135236
|
+
* > Starting November 27, 2020, when you create ECS instances or change ECS instance configurations, the maximum bandwidth value that you can specify is subject to the throttling policy of your account. To increase the maximum bandwidth value, submit a ticket. The throttling policy imposes the following constraints: In a single region, the total maximum bandwidth value of all instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s and the total bandwidth value of all instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
135237
|
+
* * **Suggestions**:
|
|
135238
|
+
* * In test scenarios, you can set `DryRun` to true to perform a dry run without performing the actual request.
|
|
135239
|
+
* * You can use `AutoReleaseTime` to configure an automatic release time for ECS instances in the request to RunInstances or call the [DeleteInstances](https://help.aliyun.com/document_detail/2679710.html) operation to release the instances.
|
|
135240
|
+
* * To better manage and search for ECS instances, we recommend that you add tags to the instances by specifying `Tag.N.Key` and `Tag.N.Value` and append incremental suffixes by specifying `UniqueSuffix` to the hostname specified by `HostName` and the instance name specified by `InstanceName`.
|
|
135241
|
+
* * A launch template contains the parameters required to create an instance so that you do not have to specify these parameters every time you create instances. You can call the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create a launch template. Then, in the request to `RunInstances`, you can specify `LaunchTemplateId` and `LaunchTemplateVersion` to use the launch template.
|
|
135242
|
+
* * In memory-intensive scenarios, you can set `CpuOptions.ThreadsPerCore` to 1 to disable Hyper-Threading (HT) and increase the memory-to-vCPU ratio.
|
|
135243
|
+
* * You can set `NetworkOptions.EnableJumboFrame` to true to enable the `Jumbo Frames` feature when you create ECS instances. For more information, see [MTUs](https://help.aliyun.com/document_detail/200512.html).
|
|
135244
|
+
* ## [](#)Sample requests:
|
|
135245
|
+
* Use a specific image to create ECS instances of a specific instance type in the China (Hangzhou) region. The instances use disks with a specific capacity as the system disk and data disks and are automatically assigned public IP addresses. The instances have user-defined names and logon passwords. The instances are assigned to a specific security group and connected to a specific vSwitch. Request parameters:
|
|
135246
|
+
* RegionId: Set RegionId to cn-hangzhou, which indicates the China (Hangzhou) region.
|
|
135247
|
+
* ImageId: Specify the ID of an image. Example: aliyun_3_x64_20G_alibase_20221102.vhd.
|
|
135248
|
+
* InstanceType: Specify an instance type. Example: ecs.g7.large.
|
|
135249
|
+
* SecurityGroupId: Specify a security group ID. Example: sg-bp150uqocpf9jj70****.
|
|
135250
|
+
* VSwitchId: Specify a vSwitch ID. Example: vsw-bp1qo7s91cbch5i4l****.
|
|
135251
|
+
* SystemDisk.Size: Specify the size of the system disk. Example: 40.
|
|
135252
|
+
* DataDisk.Size: Specify the size of a data disk. Example: 100.
|
|
135253
|
+
* DataDisk.Category: Specify the category of a data disk. Example: cloud_essd.
|
|
135254
|
+
* SystemDisk.Category: Specify the category of the system disk. Example: cloud_essd.
|
|
135255
|
+
* HostName: Specify a hostname for the instance. Example: ECS-test.
|
|
135256
|
+
* Password: Specify the logon password of the instance. Example: ECS@test1234.
|
|
135257
|
+
* InternetMaxBandwidthOut: Specify the outbound public bandwidth. Example: 10.
|
|
135258
|
+
* Examples on how to create instances of different types based on the preceding parameters:
|
|
135259
|
+
* **Example 1: Create five subscription ECS instances for which auto-renewal is enabled**
|
|
135260
|
+
* Amount: "5".
|
|
135261
|
+
* InstanceChargeType: "PrePaid", which specifies the subscription billing method.
|
|
135262
|
+
* Period: "1".
|
|
135263
|
+
* PeriodUnit: "Month".
|
|
135264
|
+
* AutoRenew: "true", which specifies that auto-renewal is enabled.
|
|
135265
|
+
* AutoRenewPeriod: "1", which specifies a subscription period of one month.
|
|
135266
|
+
* **Example 2: Create 10 pay-as-you-go instances**
|
|
135267
|
+
* Amount: "10".InstanceChargeType: "PostPaid".
|
|
135268
|
+
* SpotStrategy: "NoSpot", which specifies that the instance is created as a pay-as-you-go instance.
|
|
135269
|
+
* **Example 3: Create 20 preemptible instances that have a specified bidding policy and a protection period**
|
|
135270
|
+
* Amount: "20".
|
|
135271
|
+
* InstanceChargeType: "PostPaid".
|
|
135272
|
+
* SpotStrategy: Specify the bidding policy for the instance. Example: SpotAsPriceGo, which specifies that the instance is created as a preemptible instance for which the market price at the time of purchase is automatically used as the bid price.
|
|
135273
|
+
* SpotDuration: "1", which specifies a 1-hour protection period.
|
|
133999
135274
|
*
|
|
134000
135275
|
* @param request - RunInstancesRequest
|
|
134001
135276
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -134334,121 +135609,57 @@ export default class Client extends OpenApi {
|
|
|
134334
135609
|
}
|
|
134335
135610
|
|
|
134336
135611
|
/**
|
|
134337
|
-
* Creates
|
|
135612
|
+
* Creates pay-as-you-go or subscription Elastic Compute Service (ECS) instances. This operation provides a wide array of features and functions and helps simplify the procedure to create and manage ECS instances. When you call this operation, you can choose to create multiple ECS instances at a time, automatically start the instances, and assign public IP addresses to them. You can also use the features provided by the operation, such as configuring an automatic release time for instances, using a launch template, and configuring custom CPU options, to customize instance configurations for better management of instances.
|
|
134338
135613
|
*
|
|
134339
135614
|
* @remarks
|
|
134340
135615
|
* ## [](#)Usage notes
|
|
134341
|
-
*
|
|
134342
|
-
*
|
|
134343
|
-
*
|
|
134344
|
-
* *
|
|
134345
|
-
* *
|
|
134346
|
-
*
|
|
134347
|
-
*
|
|
134348
|
-
* * You can call the RunInstances operation to create up to 100 instances at a time,
|
|
134349
|
-
* *
|
|
134350
|
-
*
|
|
134351
|
-
*
|
|
134352
|
-
* *
|
|
134353
|
-
* * You can
|
|
134354
|
-
* *
|
|
134355
|
-
* *
|
|
134356
|
-
*
|
|
134357
|
-
* * You can
|
|
134358
|
-
*
|
|
134359
|
-
*
|
|
134360
|
-
*
|
|
134361
|
-
*
|
|
134362
|
-
*
|
|
134363
|
-
*
|
|
134364
|
-
*
|
|
134365
|
-
*
|
|
134366
|
-
*
|
|
134367
|
-
*
|
|
134368
|
-
*
|
|
134369
|
-
*
|
|
134370
|
-
*
|
|
134371
|
-
*
|
|
134372
|
-
*
|
|
134373
|
-
*
|
|
134374
|
-
*
|
|
134375
|
-
*
|
|
134376
|
-
*
|
|
134377
|
-
*
|
|
134378
|
-
*
|
|
134379
|
-
*
|
|
134380
|
-
*
|
|
134381
|
-
*
|
|
134382
|
-
*
|
|
134383
|
-
*
|
|
134384
|
-
*
|
|
134385
|
-
*
|
|
134386
|
-
*
|
|
134387
|
-
*
|
|
134388
|
-
* &PeriodUnit=Month
|
|
134389
|
-
* &AutoRenew=true
|
|
134390
|
-
* &AutoRenewPeriod=1
|
|
134391
|
-
* &HostName=ECS-test
|
|
134392
|
-
* &Password=ECS@test1234
|
|
134393
|
-
* &InternetMaxBandwidthOut=10
|
|
134394
|
-
* &<Common request parameters>
|
|
134395
|
-
* ### [](#-2)Example 2: Create a pay-as-you-go instance
|
|
134396
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a pay-as-you-go instance of the ecs.g7.large instance type in the China (Hangzhou) region. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
134397
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
134398
|
-
* &RegionId=cn-hangzhou
|
|
134399
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
134400
|
-
* &InstanceType=ecs.g7.large
|
|
134401
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
134402
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
134403
|
-
* &InstanceChargeType=PostPaid
|
|
134404
|
-
* &SystemDisk.Size=40
|
|
134405
|
-
* &DataDisk.1.Size=100
|
|
134406
|
-
* &DataDisk.1.Category=cloud_essd
|
|
134407
|
-
* &SystemDisk.Category=cloud_essd
|
|
134408
|
-
* &HostName=ECS-test
|
|
134409
|
-
* &Password=ECS@test1234
|
|
134410
|
-
* &InternetMaxBandwidthOut=10
|
|
134411
|
-
* &<Common request parameters>
|
|
134412
|
-
* ### [](#-3)Example 3: Create a preemptible instance
|
|
134413
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a preemptible instance of the ecs.g7.large instance type that has a 1-hour protection period in the China (Hangzhou) region. The market price of the instance type at the time of purchase is automatically used as the bidding price. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
134414
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
134415
|
-
* &RegionId=cn-hangzhou
|
|
134416
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
134417
|
-
* &InstanceType=ecs.g7.large
|
|
134418
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
134419
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
134420
|
-
* &InstanceChargeType=PostPaid
|
|
134421
|
-
* &SystemDisk.Size=40
|
|
134422
|
-
* &DataDisk.1.Size=100
|
|
134423
|
-
* &DataDisk.1.Category=cloud_essd
|
|
134424
|
-
* &SystemDisk.Category=cloud_essd
|
|
134425
|
-
* &HostName=ECS-test
|
|
134426
|
-
* &Password=ECS@test1234
|
|
134427
|
-
* &InternetMaxBandwidthOut=10
|
|
134428
|
-
* &SpotStrategy=SpotAsPriceGo
|
|
134429
|
-
* &SpotDuration=1
|
|
134430
|
-
* &<Common request parameters>
|
|
134431
|
-
* ### [](#-4)Example 4: Create a subscription instance on a dedicated host
|
|
134432
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a one-month subscription instance of the ecs.g7.large instance type on the dh-bp12w10wll9xcjq2\\*\\*\\*\\* dedicated host in the China (Hangzhou) region. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
134433
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
134434
|
-
* &RegionId=cn-hangzhou
|
|
134435
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
134436
|
-
* &InstanceType=ecs.g7.large
|
|
134437
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
134438
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
134439
|
-
* &InstanceChargeType=PrePaid
|
|
134440
|
-
* &Amount=1
|
|
134441
|
-
* &Period=1
|
|
134442
|
-
* &PeriodUnit=Month
|
|
134443
|
-
* &SystemDisk.Size=40
|
|
134444
|
-
* &DataDisk.1.Size=100
|
|
134445
|
-
* &DataDisk.1.Category=cloud_essd
|
|
134446
|
-
* &SystemDisk.Category=cloud_essd
|
|
134447
|
-
* &HostName=ECS-test
|
|
134448
|
-
* &Password=ECS@test1234
|
|
134449
|
-
* &InternetMaxBandwidthOut=10
|
|
134450
|
-
* &DedicatedHostId=dh-bp12w10wll9xcjq2****
|
|
134451
|
-
* &<Common request parameters>
|
|
135616
|
+
* **Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of ECS resources.**
|
|
135617
|
+
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
135618
|
+
* * **Prerequisites**:
|
|
135619
|
+
* * Make sure that real-name verification is completed for your Alibaba Cloud account. For more information, see [Real-name verification](https://help.aliyun.com/document_detail/48263.html).
|
|
135620
|
+
* * Make sure that the number of ECS instances you created or the number of vCPUs on ECS instances of all instance types you created does not exceed the corresponding quota. Go to the [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas) to view the quotas.
|
|
135621
|
+
* * Before you create ECS instances of the Virtual Private Cloud (VPC) type in a region, create a VPC in the region. For more information, see [Create a VPC](https://help.aliyun.com/document_detail/65430.html).
|
|
135622
|
+
* * **Limits**:
|
|
135623
|
+
* * You can call the RunInstances operation to create up to 100 ECS instances at a time. To create more than 100 ECS instances, we recommend that you call this operation multiple times.
|
|
135624
|
+
* * If you set `InternetMaxBandwidthOut` to a value greater than 0, public IP addresses are automatically assigned to the ECS instances to be created.
|
|
135625
|
+
* > Starting November 27, 2020, when you create ECS instances or change ECS instance configurations, the maximum bandwidth value that you can specify is subject to the throttling policy of your account. To increase the maximum bandwidth value, submit a ticket. The throttling policy imposes the following constraints: In a single region, the total maximum bandwidth value of all instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s and the total bandwidth value of all instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
135626
|
+
* * **Suggestions**:
|
|
135627
|
+
* * In test scenarios, you can set `DryRun` to true to perform a dry run without performing the actual request.
|
|
135628
|
+
* * You can use `AutoReleaseTime` to configure an automatic release time for ECS instances in the request to RunInstances or call the [DeleteInstances](https://help.aliyun.com/document_detail/2679710.html) operation to release the instances.
|
|
135629
|
+
* * To better manage and search for ECS instances, we recommend that you add tags to the instances by specifying `Tag.N.Key` and `Tag.N.Value` and append incremental suffixes by specifying `UniqueSuffix` to the hostname specified by `HostName` and the instance name specified by `InstanceName`.
|
|
135630
|
+
* * A launch template contains the parameters required to create an instance so that you do not have to specify these parameters every time you create instances. You can call the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create a launch template. Then, in the request to `RunInstances`, you can specify `LaunchTemplateId` and `LaunchTemplateVersion` to use the launch template.
|
|
135631
|
+
* * In memory-intensive scenarios, you can set `CpuOptions.ThreadsPerCore` to 1 to disable Hyper-Threading (HT) and increase the memory-to-vCPU ratio.
|
|
135632
|
+
* * You can set `NetworkOptions.EnableJumboFrame` to true to enable the `Jumbo Frames` feature when you create ECS instances. For more information, see [MTUs](https://help.aliyun.com/document_detail/200512.html).
|
|
135633
|
+
* ## [](#)Sample requests:
|
|
135634
|
+
* Use a specific image to create ECS instances of a specific instance type in the China (Hangzhou) region. The instances use disks with a specific capacity as the system disk and data disks and are automatically assigned public IP addresses. The instances have user-defined names and logon passwords. The instances are assigned to a specific security group and connected to a specific vSwitch. Request parameters:
|
|
135635
|
+
* RegionId: Set RegionId to cn-hangzhou, which indicates the China (Hangzhou) region.
|
|
135636
|
+
* ImageId: Specify the ID of an image. Example: aliyun_3_x64_20G_alibase_20221102.vhd.
|
|
135637
|
+
* InstanceType: Specify an instance type. Example: ecs.g7.large.
|
|
135638
|
+
* SecurityGroupId: Specify a security group ID. Example: sg-bp150uqocpf9jj70****.
|
|
135639
|
+
* VSwitchId: Specify a vSwitch ID. Example: vsw-bp1qo7s91cbch5i4l****.
|
|
135640
|
+
* SystemDisk.Size: Specify the size of the system disk. Example: 40.
|
|
135641
|
+
* DataDisk.Size: Specify the size of a data disk. Example: 100.
|
|
135642
|
+
* DataDisk.Category: Specify the category of a data disk. Example: cloud_essd.
|
|
135643
|
+
* SystemDisk.Category: Specify the category of the system disk. Example: cloud_essd.
|
|
135644
|
+
* HostName: Specify a hostname for the instance. Example: ECS-test.
|
|
135645
|
+
* Password: Specify the logon password of the instance. Example: ECS@test1234.
|
|
135646
|
+
* InternetMaxBandwidthOut: Specify the outbound public bandwidth. Example: 10.
|
|
135647
|
+
* Examples on how to create instances of different types based on the preceding parameters:
|
|
135648
|
+
* **Example 1: Create five subscription ECS instances for which auto-renewal is enabled**
|
|
135649
|
+
* Amount: "5".
|
|
135650
|
+
* InstanceChargeType: "PrePaid", which specifies the subscription billing method.
|
|
135651
|
+
* Period: "1".
|
|
135652
|
+
* PeriodUnit: "Month".
|
|
135653
|
+
* AutoRenew: "true", which specifies that auto-renewal is enabled.
|
|
135654
|
+
* AutoRenewPeriod: "1", which specifies a subscription period of one month.
|
|
135655
|
+
* **Example 2: Create 10 pay-as-you-go instances**
|
|
135656
|
+
* Amount: "10".InstanceChargeType: "PostPaid".
|
|
135657
|
+
* SpotStrategy: "NoSpot", which specifies that the instance is created as a pay-as-you-go instance.
|
|
135658
|
+
* **Example 3: Create 20 preemptible instances that have a specified bidding policy and a protection period**
|
|
135659
|
+
* Amount: "20".
|
|
135660
|
+
* InstanceChargeType: "PostPaid".
|
|
135661
|
+
* SpotStrategy: Specify the bidding policy for the instance. Example: SpotAsPriceGo, which specifies that the instance is created as a preemptible instance for which the market price at the time of purchase is automatically used as the bid price.
|
|
135662
|
+
* SpotDuration: "1", which specifies a 1-hour protection period.
|
|
134452
135663
|
*
|
|
134453
135664
|
* @param request - RunInstancesRequest
|
|
134454
135665
|
* @returns RunInstancesResponse
|