Compartilhar via


NetworkManagementClient Classe

Cliente de rede.

Este pronto contém várias versões de API, para ajudá-lo a lidar com todas as nuvens do Azure (Azure Stack, Azure Governamental, Azure China etc.). Por padrão, ele usa a versão mais recente da API disponível no Azure público. Para produção, você deve se ater a uma versão de API específica e/ou perfil. O perfil define um mapeamento entre um grupo de operações e sua versão de API. O parâmetro api-version define a versão padrão da API se o grupo de operações não estiver descrito no perfil.

Herança
azure.mgmt.network.aio.operations._operations.NetworkManagementClientOperationsMixin
NetworkManagementClient
NetworkManagementClient
azure.mgmt.network.aio._client._SDKClient
NetworkManagementClient

Construtor

NetworkManagementClient(credential: AsyncTokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)

Parâmetros

credential
AsyncTokenCredential
Obrigatório

Credencial necessária para que o cliente se conecte ao Azure. Obrigatórios.

subscription_id
str
Obrigatório

As credenciais de assinatura que identificam exclusivamente a assinatura do Microsoft Azure. A ID da assinatura faz parte do URI para cada chamada de serviço. Obrigatórios.

api_version
str
valor padrão: None

Versão da API a ser usada se nenhum perfil for fornecido ou se estiver ausente no perfil.

base_url
str
valor padrão: https://management.azure.com

URL do Serviço

profile
KnownProfiles
valor padrão: KnownProfiles.default

Uma definição de perfil, de KnownProfiles a dict.

polling_interval
int

Tempo de espera padrão entre duas pesquisas para operações LRO se nenhum cabeçalho Retry-After estiver presente.

Métodos

close

close

async close()

Atributos

active_connectivity_configurations

active_security_admin_rules

active_security_user_rules

admin_rule_collections

admin_rules

application_gateway_private_endpoint_connections

application_gateway_waf_dynamic_manifests

application_gateway_waf_dynamic_manifests_default

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

bgp_service_communities

configuration_policy_groups

connection_monitors

connectivity_configurations

custom_ip_prefixes

ddos_custom_policies

ddos_protection_plans

default_security_rules

dscp_configuration

effective_connectivity_configurations

effective_virtual_networks

express_route_circuit_authorizations

express_route_circuit_connections

express_route_circuit_peerings

express_route_circuits

express_route_connections

express_route_cross_connection_peerings

express_route_cross_connections

express_route_gateways

express_route_port_authorizations

express_route_ports

express_route_ports_locations

express_route_provider_ports_location

express_route_service_providers

firewall_policies

firewall_policy_idps_signatures

firewall_policy_idps_signatures_filter_values

firewall_policy_idps_signatures_overrides

firewall_policy_rule_collection_groups

firewall_policy_rule_groups

flow_logs

hub_route_tables

hub_virtual_network_connections

inbound_nat_rules

inbound_security_rule

interface_endpoints

ip_allocations

ip_groups

load_balancer_backend_address_pools

load_balancer_frontend_ip_configurations

load_balancer_load_balancing_rules

load_balancer_network_interfaces

load_balancer_outbound_rules

load_balancer_probes

load_balancers

local_network_gateways

management_group_network_manager_connections

nat_gateways

nat_rules

network_groups

network_interface_ip_configurations

network_interface_load_balancers

network_interface_tap_configurations

network_interfaces

network_manager_commits

network_manager_deployment_status

network_manager_effective_security_admin_rules

network_managers

network_profiles

network_security_groups

network_security_perimeters

network_virtual_appliance_connections

network_virtual_appliances

network_watchers

nsp_access_rules

nsp_access_rules_reconcile

nsp_association_reconcile

nsp_associations

nsp_profiles

operations

p2_svpn_gateways

p2_svpn_server_configurations

packet_captures

peer_express_route_circuit_connections

perimeter_associable_resource_types

private_dns_zone_groups

private_endpoints

public_ip_addresses

public_ip_prefixes

route_filter_rules

route_filters

route_maps

route_tables

routes

routing_intent

scope_connections

security_admin_configurations

security_partner_providers

security_rules

security_user_configurations

service_endpoint_policies

service_endpoint_policy_definitions

service_tag_information

service_tags

static_members

subnets

subscription_network_manager_connections

usages

user_rule_collections

user_rules

vip_swap

virtual_appliance_sites

virtual_appliance_skus

virtual_hub_bgp_connection

virtual_hub_bgp_connections

virtual_hub_ip_configuration

virtual_hub_route_table_v2_s

virtual_hubs

virtual_network_gateway_connections

virtual_network_gateway_nat_rules

virtual_network_gateways

virtual_network_peerings

virtual_network_taps

virtual_networks

virtual_router_peerings

virtual_routers

virtual_wans

vpn_connections

vpn_gateways

vpn_server_configurations

vpn_server_configurations_associated_with_virtual_wan

vpn_sites

vpn_sites_configuration

web_application_firewall_policies

web_categories

DEFAULT_API_VERSION

DEFAULT_API_VERSION = '2023-09-01'

LATEST_PROFILE

LATEST_PROFILE = azure.mgmt.network.NetworkManagementClient latest