Zend Framework
1.12
|
Public Member Functions | |
allocate () | |
Acquires an elastic IP address for use with your account. | |
describe ($publicIp=null) | |
Lists elastic IP addresses assigned to your account. | |
release ($publicIp) | |
Releases an elastic IP address that is associated with your account. | |
associate ($instanceId, $publicIp) | |
Associates an elastic IP address with an instance. | |
disassocate ($publicIp) | |
Disassociates the specified elastic IP address from the instance to which it is assigned. | |
![]() | |
__construct ($accessKey=null, $secretKey=null, $region=null) | |
Create Amazon client. | |
![]() | |
__construct ($accessKey=null, $secretKey=null) | |
Create Amazon client. | |
Additional Inherited Members | |
![]() | |
static | setRegion ($region) |
Set which region you are working in. | |
![]() | |
_getRegion () | |
Method to fetch the AWS Region. | |
sendRequest (array $params=array()) | |
Sends a HTTP request to the queue service using Zend_Http_Client. | |
addRequiredParameters (array $parameters) | |
Adds required authentication and version parameters to an array of parameters. | |
signParameters (array $paramaters) | |
Computes the RFC 2104-compliant HMAC signature for request parameters. | |
![]() | |
$_ec2Endpoint = 'ec2.amazonaws.com' | |
The HTTP query server. | |
$_ec2ApiVersion = '2009-04-04' | |
The API version to use. | |
$_ec2SignatureVersion = '2' | |
Signature Version. | |
$_ec2SignatureMethod = 'HmacSHA256' | |
Signature Encoding Method. | |
$_httpTimeout = 10 | |
Period after which HTTP request will timeout in seconds. | |
$_region | |
![]() | |
static | $_defaultRegion = null |
static | $_validEc2Regions = array('eu-west-1', 'us-east-1') |
allocate | ( | ) |
Acquires an elastic IP address for use with your account.
associate | ( | $instanceId, | |
$publicIp | |||
) |
Associates an elastic IP address with an instance.
string | $instanceId | The instance to which the IP address is assigned |
string | $publicIp | IP address that you are assigning to the instance. |
describe | ( | $publicIp = null | ) |
Lists elastic IP addresses assigned to your account.
string | array | $publicIp | Elastic IP or list of addresses to describe. |
disassocate | ( | $publicIp | ) |
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.
string | $publicIp | IP address that you are disassociating from the instance. |
release | ( | $publicIp | ) |
Releases an elastic IP address that is associated with your account.
string | $publicIp | IP address that you are releasing from your account. |