azure.mgmt.network package

Module contents

class azure.mgmt.network.NetworkManagementClient(credentials, subscription_id, api_version=None, base_url=None, profile=<KnownProfiles.default: <azure.profiles.DefaultProfile object>>)[source]

Bases: azure.profiles.multiapiclient.MultiApiClientMixin, msrest.service_client.SDKClient

Network Client

This ready contains multiple API versions, to help you deal with all Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, uses latest API version available on public Azure. For production, you should stick a particular api-version and/or profile. The profile sets a mapping between the operation group and an API version. The api-version parameter sets the default API version if the operation group is not described in the profile.

Variables

config (NetworkManagementClientConfiguration) – Configuration for client.

Parameters
  • credentials (A msrestazure Credentials object) – Credentials needed for the client to connect to Azure.

  • subscription_id (str) – Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

  • api_version (str) – API version to use if no profile is provided, or if missing in profile.

  • base_url (str) – Service URL

  • profile (azure.profiles.KnownProfiles) – A profile definition, from KnownProfiles to dict.

DEFAULT_API_VERSION = '2018-06-01'
LATEST_PROFILE = azure.mgmt.network.NetworkManagementClient latest
property application_gateways

Instance depends on the API version:

property application_security_groups

Instance depends on the API version:

  • 2017-09-01: ApplicationSecurityGroupsOperations

  • 2017-10-01: ApplicationSecurityGroupsOperations

  • 2017-11-01: ApplicationSecurityGroupsOperations

  • 2018-01-01: ApplicationSecurityGroupsOperations

  • 2018-02-01: ApplicationSecurityGroupsOperations

  • 2018-04-01: ApplicationSecurityGroupsOperations

  • 2018-06-01: ApplicationSecurityGroupsOperations

property available_endpoint_services

Instance depends on the API version:

property azure_firewalls

Instance depends on the API version:

  • 2018-04-01: AzureFirewallsOperations

  • 2018-06-01: AzureFirewallsOperations

property bgp_service_communities

Instance depends on the API version:

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

property connection_monitors

Instance depends on the API version:

  • 2017-10-01: ConnectionMonitorsOperations

  • 2017-11-01: ConnectionMonitorsOperations

  • 2018-01-01: ConnectionMonitorsOperations

  • 2018-02-01: ConnectionMonitorsOperations

  • 2018-04-01: ConnectionMonitorsOperations

  • 2018-06-01: ConnectionMonitorsOperations

property ddos_protection_plans

Instance depends on the API version:

  • 2018-02-01: DdosProtectionPlansOperations

  • 2018-04-01: DdosProtectionPlansOperations

  • 2018-06-01: DdosProtectionPlansOperations

property default_security_rules

Instance depends on the API version:

property express_route_circuit_authorizations

Instance depends on the API version:

property express_route_circuit_connections

Instance depends on the API version:

  • 2018-02-01: ExpressRouteCircuitConnectionsOperations

  • 2018-04-01: ExpressRouteCircuitConnectionsOperations

  • 2018-06-01: ExpressRouteCircuitConnectionsOperations

property express_route_circuit_peerings

Instance depends on the API version:

property express_route_circuits

Instance depends on the API version:

property express_route_cross_connection_peerings

Instance depends on the API version:

  • 2018-02-01: ExpressRouteCrossConnectionPeeringsOperations

  • 2018-04-01: ExpressRouteCrossConnectionPeeringsOperations

  • 2018-06-01: ExpressRouteCrossConnectionPeeringsOperations

property express_route_cross_connections

Instance depends on the API version:

  • 2018-02-01: ExpressRouteCrossConnectionsOperations

  • 2018-04-01: ExpressRouteCrossConnectionsOperations

  • 2018-06-01: ExpressRouteCrossConnectionsOperations

property express_route_service_providers

Instance depends on the API version:

property hub_virtual_network_connections

Instance depends on the API version:

  • 2018-04-01: HubVirtualNetworkConnectionsOperations

  • 2018-06-01: HubVirtualNetworkConnectionsOperations

property inbound_nat_rules

Instance depends on the API version:

property load_balancer_backend_address_pools

Instance depends on the API version:

property load_balancer_frontend_ip_configurations

Instance depends on the API version:

property load_balancer_load_balancing_rules

Instance depends on the API version:

property load_balancer_network_interfaces

Instance depends on the API version:

property load_balancer_probes

Instance depends on the API version:

property load_balancers

Instance depends on the API version:

property local_network_gateways

Instance depends on the API version:

classmethod models(api_version='2018-06-01')[source]

Module depends on the API version:

property network_interface_ip_configurations

Instance depends on the API version:

property network_interface_load_balancers

Instance depends on the API version:

property network_interfaces

Instance depends on the API version:

property network_security_groups

Instance depends on the API version:

property network_watchers

Instance depends on the API version:

property operations

Instance depends on the API version:

  • 2017-09-01: Operations

  • 2017-10-01: Operations

  • 2017-11-01: Operations

  • 2018-01-01: Operations

  • 2018-02-01: Operations

  • 2018-04-01: Operations

  • 2018-06-01: Operations

property packet_captures

Instance depends on the API version:

property public_ip_addresses

Instance depends on the API version:

property route_filter_rules

Instance depends on the API version:

property route_filters

Instance depends on the API version:

property route_tables

Instance depends on the API version:

property routes

Instance depends on the API version:

property security_rules

Instance depends on the API version:

property subnets

Instance depends on the API version:

property usages

Instance depends on the API version:

property virtual_hubs

Instance depends on the API version:

  • 2018-04-01: VirtualHubsOperations

  • 2018-06-01: VirtualHubsOperations

property virtual_network_gateway_connections

Instance depends on the API version:

property virtual_network_gateways

Instance depends on the API version:

property virtual_network_peerings

Instance depends on the API version:

property virtual_networks

Instance depends on the API version:

property virtual_wa_ns

Instance depends on the API version:

  • 2018-04-01: VirtualWANsOperations

  • 2018-06-01: VirtualWANsOperations

property vpn_connections

Instance depends on the API version:

  • 2018-04-01: VpnConnectionsOperations

  • 2018-06-01: VpnConnectionsOperations

property vpn_gateways

Instance depends on the API version:

  • 2018-04-01: VpnGatewaysOperations

  • 2018-06-01: VpnGatewaysOperations

property vpn_sites

Instance depends on the API version:

  • 2018-04-01: VpnSitesOperations

  • 2018-06-01: VpnSitesOperations

property vpn_sites_configuration

Instance depends on the API version:

  • 2018-04-01: VpnSitesConfigurationOperations

  • 2018-06-01: VpnSitesConfigurationOperations