purchase_reserved_cache_nodes_offering ( $reserved_cache_nodes_offering_id, $opt )

Purchases a reserved Cache Node offering.

Access

public

Parameters

Parameter

Type

Required

Description

$reserved_cache_nodes_offering_id

string

Required

The ID of the Reserved Cache Node offering to purchase. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

$opt

array

Optional

An associative array of parameters that can have the following keys:

  • ReservedCacheNodeId - string - Optional - Customer-specified identifier to track this reservation. Example: myreservationID
  • CacheNodeCount - integer - Optional - The number of instances to reserve. Default: 1
  • curlopts - array - Optional - A set of values to pass directly into curl_setopt(), where the key is a pre-defined CURLOPT_* constant.
  • returnCurlHandle - boolean - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.

Returns

Type

Description

CFResponse

A CFResponse object containing a parsed HTTP response.

Source

Method defined in services/elasticache.class.php | Toggle source view (7 lines) | View on GitHub

public function purchase_reserved_cache_nodes_offering($reserved_cache_nodes_offering_id, $opt = null)
{
    if (!$opt) $opt = array();
    $opt['ReservedCacheNodesOfferingId'] = $reserved_cache_nodes_offering_id;
    
    return $this->authenticate('PurchaseReservedCacheNodesOffering', $opt);
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback