pyrax
Python Bindings for the Rackspace Cloud
|
Holds the endpoint information, as well as an instance of the appropriate client for that service and region. More...
Public Member Functions | |
def | __init__ |
Set local attributes from the supplied dictionary. | |
def | get_new_client |
Returns a new instance of the client for this endpoint. | |
def | get |
Accepts either 'public' or 'private' as a parameter, and returns the corresponding value for 'public_url' or 'private_url', respectively. | |
def | __getattr__ |
def | client |
def | client_private |
Public Attributes | |
service | |
identity | |
Static Public Attributes | |
public_url = None | |
private_url = None | |
tenant_id = None | |
region = None | |
dictionary | attr_map |
Holds the endpoint information, as well as an instance of the appropriate client for that service and region.
def __init__ | ( | self, | |
ep_dict, | |||
service, | |||
region, | |||
identity | |||
) |
Set local attributes from the supplied dictionary.
def __getattr__ | ( | self, | |
att | |||
) |
def client | ( | self | ) |
def client_private | ( | self | ) |
def get | ( | self, | |
url_type | |||
) |
Accepts either 'public' or 'private' as a parameter, and returns the corresponding value for 'public_url' or 'private_url', respectively.
def get_new_client | ( | self, | |
public = True |
|||
) |
Returns a new instance of the client for this endpoint.
dictionary attr_map [static] |
{"publicURL": "public_url", "privateURL": "private_url", "internalURL": "private_url", "tenantId": "tenant_id", }
private_url = None [static] |
public_url = None [static] |
region = None [static] |
tenant_id = None [static] |