azure.mgmt.network package

Module contents

class azure.mgmt.network.NetworkManagementClient(credentials, subscription_id, api_version='2017-03-01', base_url=None)[source]

Bases: object

Composite Swagger for Network Client

Variables:

config (NetworkManagementClientConfiguration) – Configuration for client.

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
application_gateways
bgp_service_communities
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

express_route_circuit_authorizations
express_route_circuit_peerings
express_route_circuits
express_route_service_providers
load_balancers
local_network_gateways
classmethod models(api_version='2017-03-01')[source]
network_interfaces
network_security_groups
network_watchers
packet_captures
public_ip_addresses
route_filter_rules
route_filters
route_tables
routes
security_rules
subnets
usages
virtual_network_gateway_connections
virtual_network_gateways
virtual_network_peerings
virtual_networks
class azure.mgmt.network.NetworkManagementClientConfiguration(credentials, subscription_id, base_url=None)[source]

Bases: msrestazure.azure_configuration.AzureConfiguration

Configuration for NetworkManagementClient Note that all parameters used to create this instance are saved as instance attributes.

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