azure.mgmt.network package

Module contents

class azure.mgmt.network.NetworkManagementClient(credentials, subscription_id, base_url=None)[source]

Bases: object

Composite Swagger for Network Client

Variables:
Parameters:
  • credentials (A msrestazure Credentials object) – Credentials needed for the client to connect to Azure.
  • subscription_id (str) – The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
  • base_url (str) – Service URL
check_dns_name_availability(location, domain_name_label=None, custom_headers=None, raw=False, **operation_config)[source]

Checks whether a domain name in the cloudapp.net zone is available for use.

Parameters:
  • location (str) – The location of the domain name.
  • domain_name_label (str) – The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

DnsNameAvailabilityResult

Return type:

ClientRawResponse if raw=true

Raises:

CloudError