ALIYUN::ECS::ElasticityAssurance is used to create an elasticity assurance.
Syntax
{
"Type": "ALIYUN::ECS::ElasticityAssurance",
"Properties": {
"Description": String,
"InstanceAmount": Integer,
"PrivatePoolOptions": Map,
"ZoneId": String,
"ResourceGroupId": String,
"StartTime": String,
"Period": Integer,
"InstanceTypes": List,
"Tags": List,
"PeriodUnit": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
Description | String | No | Yes | The description of the elasticity assurance. | The description must be 2 to 256 characters in length. The description can contain letters and cannot start with |
InstanceAmount | Integer | Yes | No | The total number of instances for which you want to reserve the capacity of an instance type. | Valid values: 1 to 1000. |
PrivatePoolOptions | Map | No | Yes | The configurations of the elasticity assurance. | For more information, see PrivatePoolOptions properties. |
ZoneId | String | Yes | No | The zone ID of the elasticity assurance. | You can use an elasticity assurance to reserve resources within only a single zone. |
ResourceGroupId | String | No | No | The ID of the resource group to which to assign the elasticity assurance. | None. |
StartTime | String | No | No | The time when the elasticity assurance takes effect. | The default value is the time when the elasticity assurance is created by using ALIYUN::ECS::ElasticityAssurance. Specify the time in the ISO 8601 standard in the |
Period | Integer | No | No | The subscription duration. | The unit of the subscription duration is determined by the
|
InstanceTypes | List | Yes | No | The instance types. | You can create an elasticity assurance to reserve the capacity of only a single instance type. |
Tags | List | No | No | The tags to add to the elasticity assurance. | You can add up to 20 tags. For more information, see Tags properties. |
PeriodUnit | String | No | No | The unit of the subscription duration. | Valid values:
|
PrivatePoolOptions syntax
"PrivatePoolOptions": {
"MatchCriteria": String,
"Name": String
}
PrivatePoolOptions properties
Property | Type | Required | Editable | Description | Constraint |
MatchCriteria | String | No | No | The type of the private pool with which you want to associate the elasticity assurance. | Valid values:
|
Name | String | No | Yes | The name of the elasticity assurance. | The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with |
Tags syntax
"Tags": [
{
"Value": String,
"Key": String
}
]
Tags properties
Property | Type | Required | Editable | Description | Constraint |
Value | String | No | No | The value of the tag to add to the elasticity assurance. | The tag value can be an empty string. The tag value can be up to 128 characters in length, and cannot start with |
Key | String | No | No | The key of the tag to add to the elasticity assurance. | The tag key cannot be an empty string. The tag key can be up to 128 characters in length, and cannot start with |
Return values
Fn::GetAtt
PrivatePoolOptionsId: the ID of the elasticity assurance.