azure.mgmt.network package

Module contents

class azure.mgmt.network.NetworkManagementClient(credentials, subscription_id, api_version='2016-06-01', accept_language='en-US', long_running_operation_retry_timeout=30, generate_client_request_id=True, base_url=None, filepath=None)[source]

Bases: object

The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

Variables:
  • config (NetworkManagementClientConfiguration) – Configuration for client.
  • application_gateways (operations.ApplicationGatewaysOperations) – ApplicationGateways operations
  • express_route_circuit_authorizations (operations.ExpressRouteCircuitAuthorizationsOperations) – ExpressRouteCircuitAuthorizations operations
  • express_route_circuit_peerings (operations.ExpressRouteCircuitPeeringsOperations) – ExpressRouteCircuitPeerings operations
  • express_route_circuits (operations.ExpressRouteCircuitsOperations) – ExpressRouteCircuits operations
  • express_route_service_providers (operations.ExpressRouteServiceProvidersOperations) – ExpressRouteServiceProviders operations
  • load_balancers (operations.LoadBalancersOperations) – LoadBalancers operations
  • local_network_gateways (operations.LocalNetworkGatewaysOperations) – LocalNetworkGateways operations
  • network_interfaces (operations.NetworkInterfacesOperations) – NetworkInterfaces operations
  • network_security_groups (operations.NetworkSecurityGroupsOperations) – NetworkSecurityGroups operations
  • public_ip_addresses (operations.PublicIPAddressesOperations) – PublicIPAddresses operations
  • route_tables (operations.RouteTablesOperations) – RouteTables operations
  • routes (operations.RoutesOperations) – Routes operations
  • security_rules (operations.SecurityRulesOperations) – SecurityRules operations
  • subnets (operations.SubnetsOperations) – Subnets operations
  • virtual_network_peerings (operations.VirtualNetworkPeeringsOperations) – VirtualNetworkPeerings operations
  • usages (operations.UsagesOperations) – Usages operations
  • virtual_network_gateway_connections (operations.VirtualNetworkGatewayConnectionsOperations) – VirtualNetworkGatewayConnections operations
  • virtual_network_gateways (operations.VirtualNetworkGatewaysOperations) – VirtualNetworkGateways operations
  • virtual_networks (operations.VirtualNetworksOperations) – VirtualNetworks operations
Parameters:
  • credentials (A msrestazure Credentials object) – Credentials needed for the client to connect to Azure.
  • subscription_id (str) – Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
  • api_version (str) – Client Api Version.
  • accept_language (str) – Gets or sets the preferred language for the response.
  • long_running_operation_retry_timeout (int) – Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
  • generate_client_request_id (bool) – When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
  • base_url (str) – Service URL
  • filepath (str) – Existing config
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