AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the PurchaseReservedCacheNodesOffering operation. 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.
Namespace: Amazon.ElastiCache.Model
Assembly: AWSSDK.ElastiCache.dll
Version: 3.x.y.z
public class PurchaseReservedCacheNodesOfferingRequest : AmazonElastiCacheRequest IAmazonWebServiceRequest
The PurchaseReservedCacheNodesOfferingRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
PurchaseReservedCacheNodesOfferingRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
CacheNodeCount | System.Int32 |
Gets and sets the property CacheNodeCount. The number of cache node instances to reserve.
Default: |
![]() |
ReservedCacheNodeId | System.String |
Gets and sets the property 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 |
![]() |
ReservedCacheNodesOfferingId | System.String |
Gets and sets the property ReservedCacheNodesOfferingId. The ID of the reserved cache node offering to purchase.
Example: |
![]() |
Tags | System.Collections.Generic.List<Amazon.ElastiCache.Model.Tag> |
Gets and sets the property 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. |
Allows you to purchase a reserved cache node offering.
var client = new AmazonElastiCacheClient(); var response = client.PurchaseReservedCacheNodesOffering(new PurchaseReservedCacheNodesOfferingRequest { ReservedCacheNodesOfferingId = "1ef01f5b-94ff-433f-a530-61a56bfc8e7a" });
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5