azure.mgmt.network.v2017_09_01 package

Module contents

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

Bases: msrest.service_client.SDKClient

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, custom_headers=None, raw=False, **operation_config)[source]

Checks whether a domain name in the cloudapp.azure.com 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.

Returns

DnsNameAvailabilityResult or ClientRawResponse if raw=true

Return type

DnsNameAvailabilityResult or ClientRawResponse

Raises

CloudError