Class Zend_Service_Amazon_Ec2_Elasticip

Description

An Amazon EC2 interface to allocate, associate, describe and release Elastic IP address from your account.

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Service/Amazon/Ec2/Elasticip.php (line 38)

Zend_Service_Abstract
   |
   --Zend_Service_Amazon_Abstract
      |
      --Zend_Service_Amazon_Ec2_Abstract
         |
         --Zend_Service_Amazon_Ec2_Elasticip
Method Summary
 string allocate ()
 boolean associate (string $instanceId, string $publicIp)
 array describe ([string|array $publicIp = null])
 boolean disassocate (string $publicIp)
 boolean release (string $publicIp)
Variables
Methods
allocate (line 45)

Acquires an elastic IP address for use with your account

  • return: Returns the newly Allocated IP Address
  • access: public
string allocate ()
associate (line 122)

Associates an elastic IP address with an instance

  • access: public
boolean associate (string $instanceId, string $publicIp)
  • string $instanceId: The instance to which the IP address is assigned
  • string $publicIp: IP address that you are assigning to the instance.
describe (line 64)

Lists elastic IP addresses assigned to your account.

  • access: public
array describe ([string|array $publicIp = null])
  • string|array $publicIp: Elastic IP or list of addresses to describe.
disassocate (line 144)

Disassociates the specified elastic IP address from the instance to which it is assigned.

This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.

  • access: public
boolean disassocate (string $publicIp)
  • string $publicIp: IP address that you are disassociating from the instance.
release (line 101)

Releases an elastic IP address that is associated with your account

  • access: public
boolean release (string $publicIp)
  • string $publicIp: IP address that you are releasing from your account.

Inherited Methods

Inherited From Zend_Service_Amazon_Ec2_Abstract

 Zend_Service_Amazon_Ec2_Abstract::__construct()
 Zend_Service_Amazon_Ec2_Abstract::addRequiredParameters()
 Zend_Service_Amazon_Ec2_Abstract::sendRequest()
 Zend_Service_Amazon_Ec2_Abstract::setRegion()
 Zend_Service_Amazon_Ec2_Abstract::signParameters()
 Zend_Service_Amazon_Ec2_Abstract::_getRegion()

Inherited From Zend_Service_Amazon_Abstract

 Zend_Service_Amazon_Abstract::__construct()
 Zend_Service_Amazon_Abstract::setKeys()
 Zend_Service_Amazon_Abstract::_getAccessKey()
 Zend_Service_Amazon_Abstract::_getSecretKey()

Inherited From Zend_Service_Abstract

 Zend_Service_Abstract::getHttpClient()
 Zend_Service_Abstract::setHttpClient()

Documentation generated on Mon, 21 Jun 2010 15:18:40 -0400 by phpDocumentor 1.4.3