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

Instance depends on the API version:

bgp_service_communities

Instance depends on the API version:

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

Instance depends on the API version:

express_route_circuit_peerings

Instance depends on the API version:

express_route_circuits

Instance depends on the API version:

express_route_service_providers

Instance depends on the API version:

load_balancers

Instance depends on the API version:

local_network_gateways

Instance depends on the API version:

classmethod models(api_version='2017-03-01')[source]

Module depends on the API version:

network_interfaces

Instance depends on the API version:

network_security_groups

Instance depends on the API version:

network_watchers

Instance depends on the API version:

packet_captures

Instance depends on the API version:

public_ip_addresses

Instance depends on the API version:

route_filter_rules

Instance depends on the API version:

route_filters

Instance depends on the API version:

route_tables

Instance depends on the API version:

routes

Instance depends on the API version:

security_rules

Instance depends on the API version:

subnets

Instance depends on the API version:

usages

Instance depends on the API version:

virtual_network_gateway_connections

Instance depends on the API version:

virtual_network_gateways

Instance depends on the API version:

virtual_network_peerings

Instance depends on the API version:

virtual_networks

Instance depends on the API version:

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