Purchases ECS reserved instances to offset pay-as-you-go instance costs.
Action
ACS::ECS::PurchaseReservedInstancesOffering
Description
Purchases reserved instances.
Syntax
Action: ACS::ECS::PurchaseReservedInstancesOffering
Properties:
regionId: String
scope: String
zoneId: String
instanceType: String
instanceAmount: Number
description: String
period: Number
periodUnit: String
platform: String
offeringType: String
tags: Json
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
Yes |
||
|
scope |
The scope of the reserved instances. |
String |
No |
Region |
|
|
zoneId |
The zone in which the reserved instances reside. |
String |
Yes |
||
|
instanceType |
The instance type of the reserved instances. |
String |
Yes |
||
|
instanceAmount |
The number of pay-as-you-go instances of the same instance type that the reserved instances can match. |
Number |
Yes |
||
|
description |
The description of the reserved instances. |
String |
Yes |
||
|
period |
The subscription duration of the reserved instances. |
Number |
Yes |
||
|
periodUnit |
The unit of the subscription duration. |
String |
Yes |
||
|
platform |
The operating system based on which the images of the reserved instances are created. |
String |
Yes |
||
|
offeringType |
The payment type of the reserved instance. |
String |
No |
All Upfront |
|
|
tags |
The tags of the image. |
Json |
No |
[] |
Output
|
Output item |
Description |
Type |
|
reservedInstanceId |
String |
References
For more information, see ACS::ECS::PurchaseReservedInstancesOffering at GitHub.