API Documentation

Zend/Service/Amazon/Ec2/Instance/Reserved.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_Amazon  
Subpackage
Ec2  
Version
$Id: Reserved.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Service_Amazon_Ec2_Instance_Reserved

Package: Zend\Service\Amazon\Ec2

Allows you to interface with the reserved instances on Amazon Ec2

Parent(s)
\Zend_Service_Amazon_Ec2_Abstract < \Zend_Service_Amazon_Abstract < \Zend_Service_Abstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpublicdescribeInstances( string|array $instanceId ) : array

Describes Reserved Instances that you purchased.

Parameters
Name Type Description
$instanceId string|array

IDs of the Reserved Instance to describe.

Returns
Type Description
array
methodpublicdescribeOfferings( ) : array

Describes Reserved Instance offerings that are available for purchase.

With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.

Returns
Type Description
array
methodpublicpurchaseOffering( string $offeringId, integer $intanceCount = 1 ) : string

Purchases a Reserved Instance for use with your account. With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.

Parameters
Name Type Description
$offeringId string

The offering ID of the Reserved Instance to purchase

$intanceCount integer

The number of Reserved Instances to purchase.

Returns
Type Description
string The ID of the purchased Reserved Instances.
Documentation was generated by DocBlox 0.15.1.