Service/Amazon/Ec2/Instance/Reserved.php

Show: PublicProtectedPrivateinherited
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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_Amazon  
Subpackage
Ec2  
Version
$Id$  

\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-2014 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
NameTypeDescription
$instanceIdstring | array

IDs of the Reserved Instance to describe.

Returns
TypeDescription
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
TypeDescription
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
NameTypeDescription
$offeringIdstring

The offering ID of the Reserved Instance to purchase

$intanceCountinteger

The number of Reserved Instances to purchase.

Returns
TypeDescription
stringThe ID of the purchased Reserved Instances.
Documentation was generated by phpDocumentor 2.2.0 .