Purchase Reserved Cache Nodes Offering
elasticache_purchase_reserved_cache_nodes_offering | R Documentation |
Allows you to purchase a reserved cache node offering¶
Description¶
Allows you to purchase a reserved cache node offering. Reserved nodes are not eligible for cancellation and are non-refundable. For more information, see Managing Costs with Reserved Nodes.
Usage¶
elasticache_purchase_reserved_cache_nodes_offering(
ReservedCacheNodesOfferingId, ReservedCacheNodeId, CacheNodeCount, Tags)
Arguments¶
ReservedCacheNodesOfferingId |
[required] The ID of the reserved cache node offering to purchase. Example: |
ReservedCacheNodeId |
A customer-specified identifier to track this reservation. The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation. Example: myreservationID |
CacheNodeCount |
The number of cache node instances to reserve. Default: |
Tags |
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted. |
Value¶
A list with the following syntax:
list(
ReservedCacheNode = list(
ReservedCacheNodeId = "string",
ReservedCacheNodesOfferingId = "string",
CacheNodeType = "string",
StartTime = as.POSIXct(
"2015-01-01"
),
Duration = 123,
FixedPrice = 123.0,
UsagePrice = 123.0,
CacheNodeCount = 123,
ProductDescription = "string",
OfferingType = "string",
State = "string",
RecurringCharges = list(
list(
RecurringChargeAmount = 123.0,
RecurringChargeFrequency = "string"
)
),
ReservationARN = "string"
)
)
Request syntax¶
svc$purchase_reserved_cache_nodes_offering(
ReservedCacheNodesOfferingId = "string",
ReservedCacheNodeId = "string",
CacheNodeCount = 123,
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
Examples¶
## Not run:
# Allows you to purchase a reserved cache node offering.
svc$purchase_reserved_cache_nodes_offering(
ReservedCacheNodesOfferingId = "1ef01f5b-94ff-433f-a530-61a56bfc8e7a"
)
## End(Not run)