NetworkManagementClient Class

Network Client.

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

Inheritance
azure.mgmt.network._operations_mixin.NetworkManagementClientOperationsMixin
NetworkManagementClient
NetworkManagementClient
azure.mgmt.network._network_management_client._SDKClient
NetworkManagementClient

Constructor

NetworkManagementClient(credential, subscription_id, api_version=None, base_url=None, profile=<KnownProfiles.default: <azure.profiles.DefaultProfile object>>, **kwargs)

Parameters

credential
TokenCredential

Credential 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.

api_version
str

API version to use if no profile is provided, or if missing in profile.

base_url
str

Service URL

profile
KnownProfiles

A profile definition, from KnownProfiles to dict.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Methods

close
models

Module depends on the API version:

close

close()

models

Module depends on the API version:

models(api_version='2020-06-01')

Parameters

cls
Required
api_version
default value: 2020-06-01

Attributes

application_gateway_private_endpoint_connections

Instance depends on the API version --

application_gateways

application_security_groups

available_delegations

available_endpoint_services

available_private_endpoint_types

available_resource_group_delegations

available_service_aliases

azure_firewall_fqdn_tags

azure_firewalls

bastion_hosts

Instance depends on the API version --

bgp_service_communities

connection_monitors

custom_ip_prefixes

Instance depends on the API version --

ddos_custom_policies

ddos_protection_plans

default_security_rules

dscp_configuration

Instance depends on the API version --

express_route_circuit_authorizations

Instance depends on the API version --

express_route_circuit_connections

express_route_circuit_peerings

Instance depends on the API version --

express_route_circuits

express_route_connections

express_route_cross_connection_peerings

express_route_cross_connections

express_route_gateways

express_route_ports

express_route_ports_locations

express_route_service_providers

Instance depends on the API version --

firewall_policies

firewall_policy_rule_collection_groups

Instance depends on the API version --

firewall_policy_rule_groups

flow_logs

Instance depends on the API version --

hub_route_tables

Instance depends on the API version --

hub_virtual_network_connections

inbound_nat_rules

inbound_security_rule

Instance depends on the API version --

interface_endpoints

Instance depends on the API version --

ip_allocations

Instance depends on the API version --

ip_groups

Instance depends on the API version --

load_balancer_backend_address_pools

load_balancer_frontend_ip_configurations

Instance depends on the API version --

load_balancer_load_balancing_rules

load_balancer_network_interfaces

load_balancer_outbound_rules

load_balancer_probes

load_balancers

local_network_gateways

nat_gateways

Instance depends on the API version --

network_interface_ip_configurations

network_interface_load_balancers

network_interface_tap_configurations

network_interfaces

network_profiles

network_security_groups

network_virtual_appliances

network_watchers

operations

Instance depends on the API version --

p2_svpn_gateways

p2_svpn_server_configurations

packet_captures

peer_express_route_circuit_connections

private_dns_zone_groups

Instance depends on the API version --

private_endpoints

public_ip_addresses

public_ip_prefixes

route_filter_rules

route_filters

route_tables

Instance depends on the API version --

routes

Instance depends on the API version --

security_partner_providers

Instance depends on the API version --

security_rules

service_endpoint_policies

service_endpoint_policy_definitions

service_tags

Instance depends on the API version --

subnets

Instance depends on the API version --

usages

Instance depends on the API version --

virtual_appliance_sites

Instance depends on the API version --

virtual_appliance_skus

Instance depends on the API version --

virtual_hub_bgp_connection

Instance depends on the API version --

virtual_hub_bgp_connections

Instance depends on the API version --

virtual_hub_ip_configuration

Instance depends on the API version --

virtual_hub_route_table_v2_s

virtual_hubs

Instance depends on the API version --

virtual_network_gateway_connections

Instance depends on the API version --

virtual_network_gateways

virtual_network_peerings

virtual_network_taps

virtual_networks

virtual_router_peerings

virtual_routers

Instance depends on the API version --

virtual_wans

Instance depends on the API version --

vpn_connections

vpn_gateways

Instance depends on the API version --

vpn_server_configurations

vpn_server_configurations_associated_with_virtual_wan

Instance depends on the API version --

vpn_sites

Instance depends on the API version --

vpn_sites_configuration

web_application_firewall_policies

DEFAULT_API_VERSION

DEFAULT_API_VERSION = '2020-06-01'

LATEST_PROFILE

LATEST_PROFILE = azure.mgmt.network.NetworkManagementClient latest