Class Transip_ColocationService
This is the API endpoint for the ColocationService
Author: TransIP (support@transip.nl)
Class: ColocationService
Located at ColocationService.php
public static
|
#
_getSoapClient( mixed $parameters = array() )
Gets the singleton SoapClient which is used to connect to the TransIP Api. |
protected static
string
|
|
protected static
string
|
|
protected static
string
|
#
_encodeParameters( mixed $parameters, string $keyPrefix = null )
Encodes the given paramaters into a url encoded string based upon RFC 3986. |
protected static
string
|
#
_urlencode( string $string )
Our own function to encode a string according to RFC 3986 since. PHP < 5.3.0 encodes the ~ character which is not allowed. |
public static
|
#
requestAccess( string $when, integer $duration, string[] $visitors, string $phoneNumber )
Requests access to the data-center |
public static
|
#
requestRemoteHands( string $coloName, string $contactName, string $phoneNumber, integer $expectedDuration, string $instructions )
Request remote hands to the data-center |
public static
string[]
|
|
public static
string[]
|
#
getIpAddresses( string $coloName )
Get IpAddresses that are active and assigned to a Colo. Both ipv4 and ipv6 addresses are returned: ipv4 adresses in dot notation, ipv6 addresses in ipv6 presentation. |
public static
string[]
|
#
getIpRanges( string $coloName )
Get ipranges that are assigned to a Colo. Both ipv4 and ipv6 ranges are returned, in CIDR notation. |
public static
|
#
createIpAddress( string $ipAddress, string $reverseDns )
Adds a new IpAddress, either an ipv6 or an ipv4 address. The service will validate the address, ensure the user is entitled to the address and will add the address to the correct Colo and range. |
public static
|
#
deleteIpAddress( string $ipAddress )
Deletes an IpAddress currently in use this account. IpAddress can be either ipv4 or ipv6. The service will validate if the user has rights to remove the address and will remove it completely, together with any RDNS or monitoring assigned to the address. |
public static
string
|
#
getReverseDns( string $ipAddress )
Get the Reverse DNS for an IpAddress assigned to the user Throws an Exception when the Address does not exist or is not owned by the user. |
public static
|
#
setReverseDns( string $ipAddress, string $reverseDns )
Set the RDNS name for an ipAddress. Throws an Exception when the Address does not exist or is not owned by the user. |
string |
SERVICE
|
'ColocationService' |
#
The SOAP service that corresponds with this class. |
string |
API_VERSION
|
'5.23' |
#
The API version. |
string |
TRACK_ENDPOINT_NAME
|
'Colocation' |
protected static
|
$_soapClient | null |
#
The SoapClient used to perform the SOAP calls. |