Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return BoolOpOr CompareLtELtE Num NameLoad Num CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass If NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If CompareIn AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad NameLoad Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore CompareEq Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Raise Call NameLoad NameLoad orelse Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad attr Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A copy N/A os N/A time N/A base64 N/A hmac hashlib sha256 libcloud.utils.py3 httplib libcloud.utils.py3 b libcloud.utils.xml fixxpath N/A N/A lxml etree ET N/A N/A N/A ImportError N/A xml.etree ElementTree ET libcloud.common.types InvalidCredsError libcloud.common.types LibcloudError MalformedResponseError libcloud.common.base ConnectionUserAndKey RawResponse libcloud.common.base CertificateConnection libcloud.common.base XmlResponse N/A API_VERSION 2012-02-12 N/A AZURE_TIME_FORMAT %a, %d %b %Y %H:%M:%S GMT AzureRedirectException N/A Exception N/A __init__ N/A N/A self response N/A N/A N/A N/A self location N/A N/A response headers N/A location N/A N/A AzureResponse N/A XmlResponse N/A N/A valid_response_codes N/A N/A httplib NOT_FOUND N/A httplib CONFLICT N/A httplib BAD_REQUEST N/A httplib TEMPORARY_REDIRECT success N/A N/A self N/A N/A N/A i N/A int N/A self status N/A N/A N/A 200 i 299 N/A i N/A self valid_response_codes N/A parse_error N/A N/A self msg N/A None N/A N/A error_msg Unknown error N/A N/A N/A body N/A N/A self parse_body N/A N/A N/A type body N/A ET Element N/A N/A code N/A N/A body findtext N/A fixxpath xpath Code N/A message N/A N/A body findtext N/A fixxpath xpath Message N/A message N/A N/A N/A message split N/A 0 N/A error_msg N/A %s: %s N/A code message N/A N/A N/A MalformedResponseError N/A N/A N/A msg N/A N/A error_msg N/A %s - %s N/A msg error_msg N/A N/A N/A self status N/A N/A httplib UNAUTHORIZED N/A httplib FORBIDDEN N/A N/A N/A InvalidCredsError error_msg N/A N/A LibcloudError N/A %s Status code: %d. N/A error_msg N/A self status driver self N/A parse_body N/A N/A self N/A N/A N/A is_redirect N/A N/A int N/A self status N/A httplib TEMPORARY_REDIRECT N/A N/A is_redirect N/A N/A N/A self connection driver follow_redirects N/A N/A N/A AzureRedirectException self N/A N/A N/A N/A N/A super AzureResponse self parse_body N/A N/A AzureRawResponse N/A RawResponse N/A N/A N/A AzureConnection N/A ConnectionUserAndKey N/A N/A 
    Represents a single connection to Azure
     N/A responseCls AzureResponse N/A rawResponseCls AzureRawResponse add_default_params N/A N/A self params N/A N/A N/A params N/A pre_connect_hook N/A N/A self params headers N/A N/A N/A headers N/A N/A copy deepcopy headers N/A N/A headers N/A x-ms-date N/A N/A time strftime AZURE_TIME_FORMAT N/A N/A time gmtime N/A N/A headers N/A x-ms-version API_VERSION N/A N/A headers N/A Authorization N/A N/A self _get_azure_auth_signature method N/A self method headers headers params params account N/A self user_id secret_key N/A self key path N/A self action N/A N/A N/A headers pop Host None N/A N/A params headers N/A _get_azure_auth_signature N/A N/A self method headers params account secret_key path N/A / N/A N/A 
        Signature = Base64( HMAC-SHA1( YourSecretAccessKeyID,
                            UTF-8-Encoding-Of( StringToSign ) ) ) );

        StringToSign = HTTP-VERB + "
" +
            Content-Encoding + "
" +
            Content-Language + "
" +
            Content-Length + "
" +
            Content-MD5 + "
" +
            Content-Type + "
" +
            Date + "
" +
            If-Modified-Since + "
" +
            If-Match + "
" +
            If-None-Match + "
" +
            If-Unmodified-Since + "
" +
            Range + "
" +
            CanonicalizedHeaders +
            CanonicalizedResource;
         N/A special_header_values N/A N/A xms_header_values N/A N/A param_list N/A N/A special_header_keys N/A content-encoding content-language content-length content-md5 content-type date if-modified-since if-match if-none-match if-unmodified-since range N/A headers_copy N/A N/A N/A header value N/A N/A headers items N/A N/A header N/A N/A header lower N/A value N/A N/A N/A str value strip N/A N/A N/A header startswith x-ms- N/A N/A N/A N/A xms_header_values append N/A header value N/A N/A N/A headers_copy N/A header value N/A header special_header_keys N/A N/A header N/A N/A header lower N/A N/A header headers_copy N/A N/A N/A N/A special_header_values append N/A headers_copy N/A header N/A N/A N/A N/A special_header_values append N/A values_to_sign N/A N/A method special_header_values N/A N/A N/A xms_header_values sort N/A N/A header value xms_header_values N/A N/A N/A N/A values_to_sign append N/A %s:%s N/A header value N/A N/A N/A values_to_sign append N/A /%s%s N/A account path N/A N/A key value N/A N/A params items N/A N/A N/A N/A param_list append N/A N/A N/A key lower N/A N/A N/A str value strip N/A N/A N/A param_list sort N/A N/A key value param_list N/A N/A N/A N/A values_to_sign append N/A %s:%s N/A key value N/A string_to_sign N/A b N/A N/A join values_to_sign N/A secret_key N/A b secret_key N/A b64_hmac N/A N/A base64 b64encode N/A N/A N/A N/A hmac new secret_key string_to_sign digestmod sha256 digest N/A N/A SharedKey %s:%s N/A N/A self user_id N/A N/A b64_hmac decode utf-8 N/A N/A AzureBaseDriver N/A object N/A N/A name Microsoft Azure Service Management API N/A AzureServiceManagementConnection N/A CertificateConnection N/A N/A 
    Authentication class for "Service Account" authentication.
     N/A driver AzureBaseDriver N/A responseCls AzureResponse N/A rawResponseCls AzureRawResponse N/A name Azure Service Management API Connection N/A host management.core.windows.net N/A keyfile __init__ N/A N/A self subscription_id key_file N/A args kwargs N/A N/A 
        Check to see if PyCrypto is available, and convert key file path into a
        key string if the key is in a file.

        :param  subscription_id: Azure subscription ID.
        :type   subscription_id: ``str``

        :param  key_file: The PEM file used to authenticate with the service.
        :type   key_file: ``str``
         N/A N/A N/A N/A super AzureServiceManagementConnection self __init__ key_file args kwargs N/A N/A self subscription_id subscription_id N/A keypath N/A N/A N/A os path expanduser key_file N/A N/A self keyfile keypath N/A is_file_path N/A N/A N/A N/A os path exists keypath N/A N/A N/A os path isfile keypath N/A N/A is_file_path N/A N/A N/A InvalidCredsError You need an certificate PEM file to authenticate with Microsoft Azure. This can be found in the portal. N/A N/A self key_file key_file N/A add_default_headers N/A N/A self headers N/A N/A N/A 
        @inherits: :class:`Connection.add_default_headers`
        TODO: move to constant..
         N/A N/A headers N/A x-ms-version 2014-05-01 N/A N/A headers N/A x-ms-date N/A N/A time strftime AZURE_TIME_FORMAT N/A N/A time gmtime N/A headers N/A N/A