Condividi tramite


NetworkManagementClient Classe

Client di rete.

Questa funzionalità contiene più versioni api, che consentono di gestire tutti i cloud di Azure (Azure Stack, Azure per enti pubblici, Azure Cina e così via). Per impostazione predefinita, usa la versione più recente dell'API disponibile in Azure pubblico. Per la produzione, è consigliabile attenersi a una determinata versione api e/o profilo. Il profilo imposta un mapping tra un gruppo di operazioni e la relativa versione dell'API. Il parametro api-version imposta la versione API predefinita se il gruppo di operazioni non è descritto nel profilo.

Ereditarietà
azure.mgmt.network.operations._operations.NetworkManagementClientOperationsMixin
NetworkManagementClient
NetworkManagementClient
azure.mgmt.network._client._SDKClient
NetworkManagementClient

Costruttore

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

Parametri

credential
TokenCredential
Necessario

Credenziali necessarie per la connessione del client ad Azure. Obbligatorio.

subscription_id
str
Necessario

Credenziali della sottoscrizione che identificano in modo univoco la sottoscrizione di Microsoft Azure. L'ID sottoscrizione fa parte dell'URI per ogni chiamata di servizio. Obbligatorio.

api_version
str
valore predefinito: None

Versione DELL'API da usare se non viene fornito alcun profilo o se manca nel profilo.

base_url
str
valore predefinito: https://management.azure.com

URL del servizio

profile
KnownProfiles
valore predefinito: KnownProfiles.default

Definizione di profilo, da KnownProfiles a dict.

polling_interval
int

Tempo di attesa predefinito tra due sondaggi per le operazioni LRO se non è presente alcuna intestazione Retry-After.

Metodi

close

close

close()

Attributi

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