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: JsonAttributes
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 that are of the same instance type as the reserved instances and can be matched by the reserved instances. | 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 of the reserved instances. | 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.